Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

You have stumbled on an unknown civilization while sailing around the world. The

ID: 3663681 • Letter: Y

Question

You have stumbled on an unknown civilization while sailing around the world. The people, who call themselves Zebronians, do math using 40 separate characters (probably because there are 40 stripes on a zebra). They would very much like to use computers, but would need a computer to do the Zebronain math, which would mean a computer that could represent all 40 characters. You are a computer designer and decide to help them. You decide the best thing is to use BCZ, Binary-Coded Zebronian (which is like BCD, except it codes Zebronian, not Decimal). Determine and informally document your thoughts through explanation and justification with respect to the following:

(a) How many bits do you need to represent each character if you want to use the minimum number of bits?

(b) Consider and explain how you might handle basic arithmetic(addition and subtraction) with Binary Coded-Zebronian.

Explanation / Answer

Ans (a)

40 Characters need to be represent by binary coded Zebronian (BCZ) , So You will need 6 bits.

5 bits wold only give you 32 = 2 x 2 x 2 x 2 x 2 unique characters.

So 6 bits would allow you to represent 64 characters.

Ans(b)

BCD = Binrary Coded Decimal is very common in electronics, particularly it displays numerical data.

BCD Encodes each degit of a decimal number in to 4 degit binary form.

Each decimal digit is indiviidually converted to oits binary equivalent

For Example : 146 , the decimal degits are replaced by 0001 , 0100 and 0110 respectively

Addition

1 0 = 10 is binary value of 2            2

+1 1 =   11 is binary value of 3            + 3

----------                                            -----------

1 0 1                                                   5 Ans

Subtraction

1 1= binary value of 3                               3

- 1 0 = binary value of 2                          - 2

---------                                                   -----------

0 1                                                        1 Ans

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote