Tutorial 1.1 Solution-benm 1143 Logic Circuit

3
BENM 1143 Zarina/Niza/K.g 1 BENM 1143 LOGIC CIRCUITS TUTORIAL 1.1 (SOLUTION) 1. Convert the following binary numbers to their equivalent decimal values. a) 10110 - 10 22 d) 01011011- 10 91 b) 10001101- 10 141 e) 11111111- 10 255 c) 100100001001- 10 2313 f) 01110111- 10 119 2. Convert the binary numbers in Problem 1 to hexadecimal and octal values. a) 10110 - 8 16 26 , 16 d) 01011011- 8 16 133 , B 5 b) 10001101- 8 16 215 , D 8 e) 11111111- 8 16 377 , FF c) 100100001001- 8 16 4411 , 909 f) 01110111- 8 16 167 , 77 3. Convert these octal values to binary. a) 36 - 2 11110 d) 2000 - 2 0 1000000000 b) 743 - 2 111100011 e) 1204 - 2 1010000100 c) 3777 - 2 1 1111111111 f) 165 - 2 1110101 4. Convert the octal numbers in Problem 3 to decimal and hexadecimal values. a) 36 - 16 10 E 1 , 30 d) 2000 - 16 10 400 , 1024 b) 743 - 16 10 3 E 1 , 483 e) 1204 - 16 10 284 , 644 c) 3777 - 16 10 FF 7 , 2047 f) 165 - 16 10 75 , 117

description

UTeMBenm 1143 Logic Circuit

Transcript of Tutorial 1.1 Solution-benm 1143 Logic Circuit

Page 1: Tutorial 1.1 Solution-benm 1143 Logic Circuit

BENM 1143

Zarina/Niza/K.g 1

BENM 1143 – LOGIC CIRCUITS

TUTORIAL 1.1 (SOLUTION)

1. Convert the following binary numbers to their equivalent decimal values.

a) 10110 - 1022 d) 01011011- 1091

b) 10001101- 10141 e) 11111111- 10255

c) 100100001001- 102313 f) 01110111- 10119

2. Convert the binary numbers in Problem 1 to hexadecimal and octal values.

a) 10110 - 816 26,16 d) 01011011- 816 133,B5

b) 10001101- 816 215,D8 e) 11111111- 816 377,FF

c) 100100001001- 816 4411,909 f) 01110111- 816 167,77

3. Convert these octal values to binary.

a) 36 - 211110 d) 2000 - 201000000000

b) 743 - 2111100011 e) 1204 - 21010000100

c) 3777 - 211111111111 f) 165 - 21110101

4. Convert the octal numbers in Problem 3 to decimal and hexadecimal values.

a) 36 - 1610 E1,30 d) 2000 - 1610 400,1024

b) 743 - 1610 3E1,483 e) 1204 - 1610 284,644

c) 3777 - 1610 FF7,2047 f) 165 - 1610 75,117

Page 2: Tutorial 1.1 Solution-benm 1143 Logic Circuit

BENM 1143

Zarina/Niza/K.g 2

5. Convert each hexadecimal numbers to its decimal equivalent.

a) 92 - 10146 d) ABC - 102748

b) 1A6 - 10422 e) 000F - 1015

c) FD - 10253 f) 55 - 1085

6. Convert the hex values in Problem 5 to binary and octal.

a) 92 - 82 222,10010010 d) ABC - 82 5274,001010101111

b) 1A6 - 82 646,110100110 e) 000F - 82 17,1111

c) FD - 82 375,11111101 f) 55 - 82 125,1010101

7. List the octal numbers in sequence for:

a) 5, 6, 7, 10, 11, 12, 13, 14, 15

b) 44, 45, 46, 47, 50, 51, 52, 53, 54, 55

c) 162, 163, 164, 165, 166, 167, 170, 171, 173

d) 73, 74, 75, 76, 77

8. List the hex numbers in sequence for:

a) 5, 6, 7, 8, 9, , B, C, D, E, F, 10, 11, 12, 13, 14, 15

b) 44, 45, 46, 47, 48, 49, 4A, 4B, 4C, 4D, 4E, 4F, 50, 51, 52, 53, 54, 55

c) 162, 163, 164, 165, 167, 168, 169, 16A, 16B, 16C, 16D, 16E, 16F, 170,

171, 172, 173

d) 73, 74, 75, 76, 77, 78, 79, 7A, 7B, 7C, 7D, 7E, 7F, 80, 81, 82

Page 3: Tutorial 1.1 Solution-benm 1143 Logic Circuit

BENM 1143

Zarina/Niza/K.g 3

9. Addition:

a) 1044 f) 82 103,1000011

b) 210000 g) 816 456,E12

c) 810376 h) 108 47,57

d) 16BB19 i) 162 B10,100001011

e) 210 10100,20 j) 216 111010110111,ADF

10. Subtraction:

a) 108 f) 82 4,100

b) 2101 g) 816 260,0B

c) 8267 h) 108 54,66

d) 16343 i) 162 19,11001

e) 210 1011,11 j) 216 10100,14