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

1) Name the four number bases we use in computer arithmetic. Then, describe the

ID: 3669576 • Letter: 1

Question

1) Name the four number bases we use in computer arithmetic. Then, describe the ranges of the valid digits used in each base.

2) Convert 41710 into the other three bases.

3) Convert 111100012 into the other three bases.

4) Convert F2B16 into the other three bases.

5) Perform the following calculations on these problems. Use two’s complement for the subtractions. Do all the work in binary! Don’t convert to base 10, do the work and convert the answer back into base 2!--that, of course, is fine to check your work. Show the carries in parentheses ( ) if needed.

a) 10110001 + 01111000

b) 00111011 - 01010010

c) 11110001 - 10100110

d) 11101011 + 00101000

e) 1101 * 0011

6) Draw the truth tables for the following 2-input logic gates:

AND NAND OR NOR XOR

7) Complete the following truth table that is started for you based upon the following logic circuit. The necessary rows for X, Y and Z must be in proper binary order!

out

Explanation / Answer

X

The above is the truth table for the 7 th question

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

Other Answers

AND gate


The AND gate is an electronic circuit that gives a high output (1) only if all its inputs are high. A dot (.) is used to show the AND operation i.e. A.B. Bear in mind that this dot is sometimes omitted i.e. AB

OR gate


The OR gate is an electronic circuit that gives a high output (1) if one or more of its inputs are high. A plus (+) is used to show the OR operation.


2)Number Conversion

1)Decimal to Other Bases

(417)10

binary 11010000

hex 1A1

octal 641

2) Binary to other

(11110001)2

Decimal 241

hex F1

octal 361

3) Hex to Other

binary 111100101011

decimal 3883

octal 7453

a)10110001 + 01111000 ->0100101001

b) 00111011 – 01010010 ->010111

c)11110001 – 10100110 - >01001011

d)11101011 + 00101000 ->0100010011

e)1101 * 0011 ->0100111

X

Y Z a b c out 0 0 0 1 1 0 0 0 0 1 1 1 0 0 0 1 0 0 1 1 0 0 1 1 0 1 1 1 1 0 0 0 1 1 0 1 0 1 0 0 0 0 1 1 0 0 1 1 0 1 1 1 0 0 0 0