SRM INSTITUTE OF SCIENCE AND TECHNOLOGY
RAMAPURAM CAMPUS
COLLEGE OF ENGINEERING AND TECHNOLOGY
DEPARTMENT OF INFORMATION TECHNOLOGY
&
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
ODD SEM (2023-2024)
UNIT-1
(MULTIPLE CHOICE QUESTION)
1. The given hexadecimal number (1E.53)16 is equivalent to ____________
a) (35.684)8
b) (36.246)8
c) (34.340)8
d) (35.599)8
2. The octal number (651.124)8 is equivalent to ______
a) (1A9.2A)16
b) (1B0.10)16
c) (1A8.A3)16
d) (1B0.B0)16
3. The octal equivalent of the decimal number (417)10 is _____
a) (641)8
b) (619)8
c) (640)8
d) (598)8
4. (170)10 is equivalent to ____________
a) (FD)16
b) (DF)16
c) (AA)16
d) (AF)16
5. Convert (214)8 into decimal.
a) (140)10
b) (141)10
c) (142)10
d) (130)10
6. Convert (0.345)10 into an octal number.
a) (0.16050)8
b) (0.26050)8
c) (0.19450)8
d) (0.24040)8
7. Convert the binary number (01011.1011)2 into decimal.
a) (11.6875)10
b) (11.5874)10
c) (10.9876)10
d) (10.7893)10
8. Octal to binary conversion: (24)8 =?
a) (111101)2
b) (010100)2
c) (111100)2
d) (101010)2
9. Convert binary to octal: (110110001010)2 =?
a) (5512)8
b) (6612)8
c) (4532)8
d) (6745)8
10. Convert the hexadecimal number (1E2)16 to decimal.
a) (480)10
b) (483)10
c) (482)10
d) (484)10
11. The base of the octal number system is----------------
a) 7
b) 8
c) 1
d) 0
12. The Decimal Number System is also known as--------------------
a) Natural Number System
b) Hexadecimal Number System
c) Integers
d) None of these
13. The base of Binary Number System is
a) 3
b) 4
c) 2
d) 0
14. Which of the following is an example of a binary number?
a) 6AH1
b) 100101
c) 20020
d) 23456
15. The binary numbers 0 and 1 are also called
a) Bytes
b) Bits
c) Kilobytes
d) Decimal
16. A code converter is a logic circuit that _____________
a) Inverts the given input
b) Converts into decimal number
c) Converts data of one type into another type
d) Converts to octal
17. The primary use for Gray code is ___________
a) Coded representation of a shaft’s mechanical position
b) Turning on/off software switches
c) To represent the correct ASCII code to indicate the angular position of a shaft on
rotating machinery
d) To convert the angular position of a shaft on rotating machinery into hexadecimal code
18. One way to convert BCD to binary using the hardware approach is ___________
a) With MSI IC circuits
b) With a keyboard encoder
c) With an ALU
d) UART
19. Why is the Gray code more practical to use when coding the position of a
rotating shaft?
a) All digits change between counts
b) Two digits change between counts
c) Only one digit changes between counts
d) Alternate digit changes between counts
20. Reflected binary code is also known as ___________
a) BCD code
b) Binary code
c) ASCII code
d) Gray Code
21. The binary representation of BCD number 00101001 (decimal 29) is
___________
a) 0011101
b) 0110101
c) 1101001
d) 0101011
22. Convert binary number into gray code: 100101.
a) 101101
b) 001110
c) 110111
d) 111001
23. How many outputs are on a BCD decoder?
a) 4
b) 16
c) 8
d) 10
24. In a Gray code, each number is 3 greater than the binary representation of that
number.
a) True
b) False
25. The excess-3 code for 584 is given by
a) 100010110111
b) 100001110111
c) 100010010110
d) 100001010110
26. A parity check usually can detect---------------
a) 1 bit Error
b) 2 bit Error
c) 8 bit Error
d) Any bit Error
27. What is the addition of the binary numbers 11011011010 and 010100101?
a) 0111001000
b) 1100110110
c) 11101111111
d) 10011010011
28. Perform binary addition: 101101 + 011011 = ?
a) 011010
b) 1010100
c) 101110
d) 1001000
29. Perform binary subtraction: 101111 – 010101 = ?
a) 100100
b) 010101
c) 011010
d) 011001
30. Binary subtraction of 100101 – 011110 is?
a) 000111
b) 111000
c) 010101
d) 101010
31. Perform multiplication of the binary numbers: 01001 × 01011 = ?
a) 001100011
b) 110011100
c) 010100110
d) 101010111
32. On multiplication of (10.10) and (01.01), we get ____________
a) 101.0010
b) 0010.101
c) 011.0010
d) 110.0011
33. Divide the binary numbers: 111101 ÷ 1001 and find the remainder.
a) 0010
b) 1010
c) 1100
d) 0111
34. Divide the binary number (011010000) by (0101) and find the quotient.
a) 100011
b) 101001
c) 110010
d) 010001
35. 1’s complement of 1011101 is ____________
a) 0101110
b) 1001101
c) 0100010
d) 1100101
36. 2’s complement of 11001011 is ____________
a) 01010111
b) 11010100
c) 00110101
d) 11100010
37. On subtracting (01010)2 from (11110)2 using 1’s complement, we get
____________
a) 01001
b) 11010
c) 10101
d) 10100
38. On subtracting (010110)2 from (1011001)2 using 2’s complement, we get
____________
a) 0111001
b) 1100101
c) 0110110
d) 1000011
39. On addition of 28 and 18 using 2’s complement, we get ____________
a) 00101110
b) 0101110
c) 00101111
d) 1001111
40. On addition of +38 and -20 using 2’s complement, we get ____________
a) 11110001
b) 100001110
c) 010010
d) 110101011
41. Which gate is known as the universal gate?
a) NAND
b) OR
c ) AND
d) None
42. Which of the following is not a logic gate?
a) AND
b) OR
c) IF
d) NOT
43. Which of the following are the arithmetic logic gates?
a) X-OR
b) X-NOR
c) Both
d) None
44. What combination is a NAND gate?
a) NOT AND
b) NOT OR
c) NOT NOT
d) None of these
45. XOR circuits can be constructed using
a) OR gates only
b) AND, OR gates
c) AND, NOT gates
d) AND, NOT and OR gates
46. The code where all successive numbers differ from their preceding number by
single bit is __________
a) Alphanumeric Code
b) BCD
c) Excess 3
d) Gray
47. The basic logic gate whose output is the complement of the input is the
___________
a) OR gate
b) AND gate
c) INVERTER gate
d) XOR gate
48. The AND function can be used to ___________ and the OR function can be used
to _____________
a) Enable, disable
b) Disable, enable
c) Synchronize, energize
d) Detect, invert
49. What does ASCII stand for?
a) American Standard Code for Information Interchange
b) American Scientific Code for Information Interchange
c) American Scientific Code for Interchanging Information
d) American Standard Code for Interchanging Information
50. Any set of digits or alphabets are generally referred as ______________
a) Characters
b) Symbols
c) Bits
d) Bytes
PART - B
Q. Questions Course Marks Competence
No Outcome BT Level
1 Perform the indicated base conversions:
a. 548 to base 5
b. 3124 to base 7 CO3 4 BT1
c. 5206 to base 7
d. 122123 to base 9
2 Convert the following binary numbers to their decimal
equivalents:
a. 11100.011 CO1 4 BT1
b. 110011.10011
c. 1010101010.1
3 Express the following octal numbers (number with radix 8) in
hexadecimal notation: a. 12
b. 5655
CO1 4 BT2
c. 2550276
d. 76545336
e. 3726755
4 Convert the following binary numbers to their hexadecimal
equivalents:
a. 1001.1111 CO1 4 BT2
b. 110101.011001
c. 10100111.111011
5 Perform (15)10 – (28)10 using 2’s complement binary arithmetic. CO1 4 BT1
6 Perform (42)10 – (68)10 using 1’s complement binary arithmetic.. CO1 4 BT1
7 Perform (147)10 – (89)10 using 2’s complement binary
CO1 4 BT2
arithmetic..
8 Multiply (100.11)2 and (110.01)2 using binary multiplication
CO1 4 BT2
method.
9 Divide (110101101)2 by (110)2. CO1 4 BT1
10 Write the ASCII code for “ELECTRONICS’. CO1 4 BT2
11 Write the Gray code equivalent of HEX numbers 47A and 331H CO1 4 BT2
12 What is the addition of the binary numbers 11011011010 and
CO1 4 BT1
010100101?
13
Multiply the following 4-bit numbers.
1. 1110 * 0011
2 2
CO1 4 BT1
2. 1101 * 0101
2 2
14
15 Divide 01111100 ÷ 0010 CO1 4 BT1
16 Subtract 17 from 23, using binary code. CO1 4 BT1
17 What advantage does 2's complement have over 1's complement? CO1 4 BT1
18 Convert the following decimal numbers to binary using 6-bit 2's
complement representation.
1. -16 10 CO1 4 BT2
2. 13 10
3. -3 10
19 Consider the 8-bit signed-magnitude binary numbers convert their
decimal equivalents
(i) (01101101)2
(ii) (11101101)2
CO1 4 BT2
(iii) (00101011)2
(iv) (10101011)2
20 Write the number -7 in signed magnitude representation using 5
BT1
10
CO1 4
bits.
21 Convert the decimal numbers 275 and 965 to binary-coded decimal
CO1 4 NT2
(BCD) and add.
22 Add the following BCD numbers.
0110 0111 1001
CO1 4 BT2
+
0101 1000 1000
CO1 4 BT2
23
24 Draw the symbol of XNOR gate and give its truth table. CO1 4 BT1
PART C
Q. Questions Course Marks Competence
No Outcome BT Level
1 Do as directed: 4
(a) Convert the Decimal number 781 to its Binary equivalent.
(b) Convert Binary number 101101.001 to its decimal equivalent CO1 4 BT2
(c) Convert Octal number 321.7 info its Binary equivalent 4
2 a) Perform the following addition using excess- 3 code 6
i) 386+756
Ii) 1010+444 CO1 BT2
b) Consider the binary number N=(1011000)2. Find the r’s
complement and (r-1)’s complement. 6
3 a) Represent 45 in the number systems (a) binary (b) BCD (c) 6
Excess-3 (d) Gray code
CO1 3 BT2
b) Perform BCD addition: (1001) 2+(0110)2 ?
c) Define: (a) bit (b) byte (c) word 3
4 Explain in detail about the 4-bit Parity checker. CO1 12 BT1
5 Construct the operation XOR from the basic Boolean operations
CO1 12 BT3
AND, OR and NOT
6. Implement 2-bit basic logic gates using Universal gates CO1 12 BT3