Download Chapter 1 And Chapter 2

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Binary search algorithm wikipedia , lookup

Transcript
Digital Design /HW#1
Student Name:
Student ID:
Note: Please show your work in the back of paper
1. F= A and B or C and A =?? , if A=not B, B=not not C, C= 1 nand 0 
2. F= not A or not A and not B or not C= ??, if C= A or B, A= not( 1 and B), B= 1 xor 0 
3. Determine the 1’s and 2’s complement of each binary number
a. 10010001=
4. Determine the number and the 1’s complement of each following 2’s complement
a. 01001110 =
5. Determine the decimal value of the following signed binary numbers expressed in
i. Sign bit 100110101 
ii. 1’s complement 00010111
iii. 2’s complement 01010110 
6. Express the decimal number -46 as an 8-bit binary number in
a. Sign bit 
b. 1’s complement 
c. 2’s complement 
7. Perform the following operations of the signed numbers
a. 10001000 – 11100010 =
b. Multiply 01111111 by 00000101 =
c. Divide 00110000 by 00001100 =
8. Convert the binary numbers to decimal
a. 1111111.11111 
9. Convert each decimal fraction to binary using repeated multiplication by 2
a. 0.9028 
10. Convert the hexadecimal number to decimal B2F8 =
11.Convert the decimal number to hexadecimal 2591 =
12. Add the hexadecimal number DF + AC =
13. Subtract the hexadecimal number 94 – 5C =
14. Convert the octal number to decimal 2374 
15.Convert the decimal number to octal 359 
16. Convert the binary number to octal 11010000100 
17. Convert BCD number to decimal 1001010001110000 
18.Convert decimal number to BCD 2469 
19. Convert binary number 11000110 to Gray code 
20.Convert Gray code 10101111 to binary 
21. Add BCD numbers 01100111 + 01010011
22.An inverter
a. Perform the not operation
b- changes a H to a L
c- Change a L to a H
d- does all of the above
23. The time interval on the leading edge of a pulse between 10% and 90% of the
amplitude is the ……………
24.A pulse in a certain waveform occurs every 10ms, the frequency is …………..
25. A quantity having continuous value is
a. a digital quantity
b- an analog quantity
c- a binary quantity
d- a natural quantity
26. The term bit means
a. A small amount of data
c- Binary digit
b- a 1 or a 0
d- both answer B and C