Digital u1

19
QUIZ OF UNIT-1 2BCA DIGITAL ELECTRONICS

description

quiz on 1's and 2's complement, number system conversions.

Transcript of Digital u1

Page 1: Digital u1

QUIZ OF UNIT-12BCA

DIGITAL ELECTRONICS

Page 2: Digital u1

Q1: 1’S COMPLEMENT OF 101101

A. 010010

B. 010011

The correct answer is: A(010010)

Page 3: Digital u1

Q2: 2’S COMPLEMENT OF 0101101

A. 1010010

B. 1010011

The correct answer is: B(1010011)

Page 4: Digital u1

Q3: PRODUCT OF TWO BINARY NUMBERS 0101 AND 0110 IS:

A. 11110

B. 11101

The correct answer is: A(11110){0101=5 and 0110=6,5x6=30 and 30 in binary=11110}

Page 5: Digital u1

Q4:OCTAL EQUIVALENT OF 101101 IS:

A. (55)8

B. (15)8

The correct answer is: (55)8

Page 6: Digital u1

Q5: 1’S AND 2’S COMPLEMENT OF 110010111A. (001101111) and (001101000)

B. (001101000) and (001101001)

The correct answer is: (001101000) and (001101001)

Page 7: Digital u1

Q6: Binary equivalent of (86)10 is:

A. (1010110)2

B. (1001100)2

The correct ans is: (1010110)2

Page 8: Digital u1

Q6: BCD ADDITION OF 56 AND 21 IS:

A. (01110111)2

B. (1001101)2

The correct ans is: A (01110111)2

56 IN BCD=0101 0110 AND 21 IN BCD=0010 0001(56+21=77)=>77 IN BCD =01110111

Page 9: Digital u1

Q7: Octal and Hexadecimal equivalent of (10101101010)2

A. (1552)8 and (19A)16

B. (2552)8 and (56A)16

The correct answer is: (2552)8 and (56A)16

Page 10: Digital u1

Q8: BCD equivalent code of (589)10

A. (010110001001)

B. (011001111001)

The correct answer is: A (010110001001) {In BCD code, we write 4 bit binary equivalent of each

digit, so 5=0101,8=1000,9=1001}

Page 11: Digital u1

Q9: SUM OF 15 AND 24 IN BINARY

A. (0001101)

B. (100111)

The correct answer is: B (100111) {15+24=39, 39 in binary=100111}

Page 12: Digital u1

Q:Find excess-3 code for the decimal number 564

A. 100010010111B. 100101100100

The correct answer is A(100010010111) {5+3=8=1000,6+3=9=1001,4+3=7=0111=>564

=100010010111}

Page 13: Digital u1

Q10: (101)2 X (1010)2 is:

A. (110010)

B. (100101)

The correct answer is: A (110010) {101=5 and 1010=10, 5*10=50, 50 in

binary=110010}

Page 14: Digital u1

Q11 Number of 1’s present in the binary equivalent of 5x5 is:

A. 2

B. 3

The correct answer is: B(3) {5x5=25, 25 in binary=11001 so total no of 1’s =3}

Page 15: Digital u1

Q: Find the decimal equivalent of excess-3 code 110010010101.1100

A. (962.9)

B. (965.5)

The correct answer is: A(962.9){1100=12-3=9,

1001=9-3=6 ,

0101=5-3=2

1100=12-3=9}

Page 16: Digital u1

Q12: Hexadecimal equivalent of (86)10

A. (56)16

B. (9A)16

The correct answer is: (56)16

Page 17: Digital u1

Q13: what is the binary equivalent of Gray code 11100?A. (01011)

B. (10111)

The correct answer is: B (10111) {gray code retain first bit but takes X-OR of

consecutive bits of given binary value 1 SAME,0 1=1,1 0=1,1 1=0,1 1=0}++ + +

Page 18: Digital u1

Q13:Total number of 1’s in the 2’s complement of 11000100

A. 4

B. 5

The correct answer is: A (4) {2’S COMPLEMENT OF 11000100=00111100}

Page 19: Digital u1

Q14: Binary representation of hexadecimal number (125)16 IS:

A. (0000000111011010)2

B. (0000000100100101)2

The correct answer is: B (0000000100100101)2