3. 9/27/2018 3
Dr.AtifShahzad
TODAY
Question: My Answers: Marks
1
Convert to Binary number:
1001
1111101001
1
2
Convert to Binary number:
011010
10101100000010
1
3
Convert to Binary number:
159753
100111000000001001
1
4
Convert to Hexadecimal
number: 159753
27009
1
5
Convert to Octal number:
159753
470011
1
4. 9/27/2018 4
Dr.AtifShahzad
TODAY
6
Convert to Binary number:
(753)8
111101011
1
7
Convert to Decimal number:
(110001)2
49
1
8
Convert to Binary number:
(ABCDEF)16
101010111100110111101111
1
9
Convert to Binary number:
(110011)16
100010000000000010001
1
10
Convert to Octal number:
(110011)16
4200021
1
5. 9/27/2018 5
Dr.AtifShahzad
TODAY
11 (1100)2 OR (0011)2
1111
2
12 (1100)2 XOR (0011)2
1111
2
13 9 AND 8
=1001 AND 1000
=1000
=8 2
14 A AND B OR C
=1010 AND 1011 OR 1100
=1110
=E 2
15 D OR E OR F
=1101 OR 1110 OR 1111
=1111
=F 2
6. 9/27/2018 6
Dr.AtifShahzad
TODAY
16 (1100)8 OR (0011)8
1111
2
17 (1100)2 NAND (0011)2
1111
2
18 (1100)2 XNOR (0011)2
0000
2
19
ALU stores the next instruction
to be executed.
• TRUE
• FALSE
1
20
_________is creating a sequence
of instructions to enable the
computer to do something.
A. Formatting
B. Programming
C. Scanning
D. Decoding
E. None of these
1
21
Assembly language is a higher
level language.
• TRUE
• FALSE 1
22
Four bit can hold up to ____
number of states.
A. 4
B. 8
C. 16
D. 32
1