Number Representations and Computer Arithmetic MCQ Quiz - Objective Question with Answer for Number Representations and Computer Arithmetic - Download Free PDF
Last updated on May 30, 2025
Latest Number Representations and Computer Arithmetic MCQ Objective Questions
Number Representations and Computer Arithmetic Question 1:
Exclusive OR(XOR) is a special gate whose output is 1 only if:
Answer (Detailed Solution Below)
Number Representations and Computer Arithmetic Question 1 Detailed Solution
Formula:
A XOR B ≡ A ⊕ B ≡ A̅.B + A.B̅
XOR: Truth Table
A̅ |
B̅ |
A ⊕ B |
0 |
0 |
0 |
0 |
1 |
1 |
1 |
0 |
1 |
1 |
1 |
0 |
Option 1: Incorrect
Fails for input (A = 0, B = 0)
Since Output is 0
Option 2: Incorrect
Fails for input (A = 1, B = 1)
Since Output is 0
Option 3: correct
Valid all the cases of truth table
Option 4: Incorrect
Fails for input (A = 1, B = 1)
Since Output is 0
Number Representations and Computer Arithmetic Question 2:
Consider the following min term expression for F.
F (P, Q, R, S) = ∑ 0, 2, 5, 7, 8, 10, 13, 15
The min-terms 2, 7, 8 and 13 are ‘do not care’ terms. The minimal sum-of-products form for F isAnswer (Detailed Solution Below)
Number Representations and Computer Arithmetic Question 2 Detailed Solution
F (P, Q, R, S) = ∑ 0, 2, 5, 7, 8, 10, 13, 15
Don’t care min terms are 2, 7, 8, 13
By plotting the K-map, the minimal SOP (sum of products) can be found.
Explanation –
While putting the terms to k-map following things happen,
- 3rd and 4th columns are swapped
- 3rd and 4th rows.
- term 2 is going to (0, 3) column instead of (0, 2)
- 8 is going to (3, 0) instead of (2,0)
Solving, the above K-map, we get Q̅S̅ + QS
Number Representations and Computer Arithmetic Question 3:
What is the octal equivalent of (F3B1)16?
Answer (Detailed Solution Below)
Number Representations and Computer Arithmetic Question 3 Detailed Solution
The correct answer is 171661
Key Points
- To find the octal equivalent of a hexadecimal number, you can convert each hexadecimal digit to its binary equivalent and then group the binary digits into groups of three (since each octal digit represents three binary digits).
- Let's convert each hexadecimal digit of (F3B1)16 to binary:
- F = 1111
- 3 = 0011
- B = 1011
- 1 = 0001
- Now group the binary digits into sets of three:
- 1111 0011 1011 0001
- Now convert each set of three binary digits to octal:
- 001 111 001 110 110 001
- Combine these octal digits: 171661.
Therefore, the octal equivalent of (F3B1)16 is option 3) 171661.
Number Representations and Computer Arithmetic Question 4:
What is the 2's complement of the binary number 101110?
Answer (Detailed Solution Below)
Number Representations and Computer Arithmetic Question 4 Detailed Solution
The correct answer is 010010
Key Points
- The two's complement of a binary number is found by inverting all of the bits, known as the one's complement, and then adding 1.
- The binary number 101110's inverted binary number (one's complement) would be 010001.
- Next, you add 1 to the inverted binary number:
010001
+1
010010
Therefore, the 2's complement of the binary number 101110 is 010010.
Number Representations and Computer Arithmetic Question 5:
What is the result of applying the complement law A + A' in Boolean algebra?
Answer (Detailed Solution Below)
Number Representations and Computer Arithmetic Question 5 Detailed Solution
Explanation:
To understand why the complement law holds, we need to analyze the truth table for the expression A + A'. A truth table lists all possible values of the variables involved and the resulting value of the expression for each combination of variable values. In this case, we are dealing with a single variable A, which can either be 0 or 1.
A | A' | A + A' |
---|---|---|
0 | 1 | 1 |
1 | 0 | 1 |
Name |
AND Form |
OR Form |
Identity law |
1.A=A |
0+A=A |
Null Law |
0.A=0 |
1+A=1 |
Idempotent Law |
A.A=A |
A+A=A |
Inverse Law |
AA’=0 |
A+A’=1 |
Commutative Law |
AB=BA |
A+B=B+A |
Associative Law |
(AB)C |
(A+B)+C = A+(B+C) |
Distributive Law |
A+BC=(A+B)(A+C) |
A(B+C)=AB+AC |
Absorption Law |
A(A+B)=A |
A+AB=A |
De Morgan’s Law |
(AB)’=A’+B’ |
(A+B)’=A’B’ |
Top Number Representations and Computer Arithmetic MCQ Objective Questions
Binary number 101110110 is equal to decimal number _______.
Answer (Detailed Solution Below)
Number Representations and Computer Arithmetic Question 6 Detailed Solution
Download Solution PDF- The correct answer is option 3, i.e., 374.
- Binary number 101110110 is equal to decimal number 374.
- Following method can be used to convert Binary number to Decimal number:
- (101110110)2 = (1 x 28) + (0 x 27) + (1 x 26) + (1 x 25) + (1 x 24) + (0 x 23) + (1 x 22) + (1 x 21) + (0 x 20)
- (101110110)2 = 256 + 0 + 64 + 32 + 16 + 0 + 4 + 2 + 0
- (101110110)2 = 374
One megabyte In base 2 (binary) Is equivalent to .
Answer (Detailed Solution Below)
Number Representations and Computer Arithmetic Question 7 Detailed Solution
Download Solution PDFThe correct answer is 220 bytes.
Key Points
- 1 Megabyte is equal to 1000000 bytes (decimal).
- 1 MB = 106 B in base 10 (SI).
- 1 Megabyte is equal to 1048576 bytes (binary).
- 1 MB = 220 B in base 2.
- Byte is the basic unit of digital information transmission and storage, used extensively in information technology, digital technology, and other related fields. It is one of the smallest units of memory in computer technology, as well as one of the most basic data measurement units in programming.
- The earliest computers were made with the processor supporting 1 byte commands, because in 1 byte you can send 256 commands. 1 byte consists of 8 bits,
- Megabyte (MB) is a unit of transferred or stored digital information, which is extensively used in information and computer technology.
- In SI, one megabyte is equal to 1,000,000 bytes. At the same time, practically 1 megabyte is used as 220 B, which means 1,048,576 bytes.
Convert the hexadecimal number C6 to binary number.
Answer (Detailed Solution Below)
Number Representations and Computer Arithmetic Question 8 Detailed Solution
Download Solution PDFThe correct answer is 11000110
Key Points
- To convert the hexadecimal number C6 to a binary number, you can convert each hexadecimal digit to its 4-bit binary representation.
- C in hexadecimal is 12 in decimal, which is 1100 in binary.
- 6 in hexadecimal is 6 in decimal, which is 0110 in binary.
- So, the binary representation of C6 is 11000110.
Additional InformationHere are the decimal numbers 1 to 15 represented in both hexadecimal and binary forms:
- Decimal 1: Hexadecimal 1, Binary 0001
- Decimal 2: Hexadecimal 2, Binary 0010
- Decimal 3: Hexadecimal 3, Binary 0011
- Decimal 4: Hexadecimal 4, Binary 0100
- Decimal 5: Hexadecimal 5, Binary 0101
- Decimal 6: Hexadecimal 6, Binary 0110
- Decimal 7: Hexadecimal 7, Binary 0111
- Decimal 8: Hexadecimal 8, Binary 1000
- Decimal 9: Hexadecimal 9, Binary 1001
- Decimal 10: Hexadecimal A, Binary 1010
- Decimal 11: Hexadecimal B, Binary 1011
- Decimal 12: Hexadecimal C, Binary 1100
- Decimal 13: Hexadecimal D, Binary 1101
- Decimal 14: Hexadecimal E, Binary 1110
- Decimal 15: Hexadecimal F, Binary 1111
The Octal equivalent of the binary number 1011101011 is:
Answer (Detailed Solution Below)
Number Representations and Computer Arithmetic Question 9 Detailed Solution
Download Solution PDFAnswer: Option 2
Explanation:
An octal Equivalent of a binary number is obtained by grouping 3 bits from right to left.
001 | 011 | 101 | 011 |
1 | 3 | 5 | 3 |
So Octal Equivalent: 1353
Important Points
Binary to Octal code
000 |
001 |
010 |
011 |
100 |
101 |
110 |
111 |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
The 8-bit 2's complement form of the number -14 is ______.
Answer (Detailed Solution Below)
Number Representations and Computer Arithmetic Question 10 Detailed Solution
Download Solution PDFCalculation:
14 in binary form is represented as:
1410 = (00001110)2
Taking the 1's complement of the above, we get 11110001
Adding 1 to the 1's complement, we get the 2's complement representation of the number, i.e. 11110010
Since there is a 1 in the MSB, the number is a negative number with value -14.
∴ The 2's complement of -6410 contains 7 bits.
Boolean algebra obeys
Answer (Detailed Solution Below)
Number Representations and Computer Arithmetic Question 11 Detailed Solution
Download Solution PDF
Name |
AND Form |
OR Form |
Identity law |
1.A = A |
0 + A = A |
Null Law |
0.A = 0 |
1 + A = 1 |
Idempotent Law |
A.A = A |
A + A = A |
Inverse Law |
AA’ = 0 |
A + A’ = 1 |
Commutative Law |
AB = BA |
A + B = B + A |
Associative Law |
(AB)C |
(A + B) + C = A + (B + C) |
Distributive Law |
A + BC = (A + B)(A + C) |
A(B + C) = AB + AC |
Absorption Law |
A(A + B) = A |
A + AB = A |
De Morgan’s Law |
(AB)’ = A’ + B’ |
(A + B)’ = A’B’ |
The number of 1s in the binary representation of (3 ⋆ 4096 + 15 ⋆ 256 + 5 ⋆ 16 + 3) are
Answer (Detailed Solution Below)
Number Representations and Computer Arithmetic Question 12 Detailed Solution
Download Solution PDFApplication:
Decimal value = (3 ⋆ 4096 + 15 ⋆ 256 + 5 ⋆ 16 + 3)
It can be written as:
(2 + 1) × 212 + (8 + 4 + 2 + 20) × 28 + (4 + 1) × 24 + (2 + 1) × 20
21 × 212 + 20 × 212 + (23 + 22 + 21 + 20) × 28 + (22 + 20) × 24 + (21 + 20) × 20
This can be written as:
213 + 212 + 211 + 210 + 29 × 28 + 26 + 24 + 21 + 20
The binary representation will be:
(11111101010011)2
Which of the following pairs of octal and binary numbers are NOT equal?
Answer (Detailed Solution Below)
Number Representations and Computer Arithmetic Question 13 Detailed Solution
Download Solution PDFThe correct answer is (11010)2 = (62)8
Key Points
Binary numbers and octal numbers are both used in computing. They are different ways of representing the same value - just like how "10" and "ten" are different ways of expressing the same quantity in decimal.
- Each digit of an octal number represents three binary digits because 23 = 8. Here's the mapping:
- "000" => "0"
- "001" => "1"
- "010" => "2"
- "011" => "3"
- "100" => "4"
- "101" => "5"
- "110" => "6"
- "111" => "7"
- Now let's convert the binary numbers to their equivalent octal numbers.
- (111 110 111)2 = (7 6 7)8
- (110 110 101)2 = (6 6 5)8
- (10 101 . 110)2 = (2 5 . 6)8
- (11 010)2 = (3 2)8 - Corrupted as the corresponding octal number should be (32)8 instead of (62)8.
Therefore, the 4th pair, (11010)2 = (62)8, is not equal.
In 16-bit 2’s complement representation, the decimal number -28 is:
Answer (Detailed Solution Below)
Number Representations and Computer Arithmetic Question 14 Detailed Solution
Download Solution PDF
2 |
28 |
|
2 |
14 |
0 |
2 |
7 |
0 |
2 |
3 |
1 |
2 |
1 |
1 |
|
0 |
1 |
2810 = (11100)2 = (0000 0000 0001 1100)2
-2810 = 2’s complement of 0000 0000 0001 1100
2’s complement of 0000 0000 0001 1100 = 1111 1111 1110 0100
Note:
Tricks to find: 2’s complement
Start reading the bits from LSB (right hand side) and write it unless first 1 is encounter, leave the first 1 as it is and complement the remaining bits.The 12th digit in standard hexadecimal system is equal to:
Answer (Detailed Solution Below)
Number Representations and Computer Arithmetic Question 15 Detailed Solution
Download Solution PDF
Mistake PointsThe question is asking for the 12th Digit in Hexadecimal representation, i.e. 0 will be the first digit, 1 will be the second, and so on.
The correct answer is (option 2) i.e. B
Explanation:
Digits in hexadecimal number systems are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F. Therefore, the total number of different digits in hexadecimal number systems is 16.
Hence 12th digit in the hexadecimal system is B. And it is equivalent to 11 for Decimal and 1011 for the Binary number system,
Important Points
- Digits in decimal number systems are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. Therefore, number of different digits in decimal number systems is 10.
- Digits in Octal number systems are 0, 1, 2, 3, 4, 5, 6, 7. Therefore, number of different digits in octal number systems is 8.
- Digits in binary number systems are 0, 1. Therefore, number of different digits in binary number systems is 2.
- In the standard hexadecimal system, each digit can have 16 possible values, ranging from 0 to 9 and then A to F, representing the values 10 to 15.
- To determine the 12th digit in the standard hexadecimal system, we need to convert the number 12 from decimal to hexadecimal.
- 12 in decimal is equal to B in hexadecimal. Therefore, the 12th digit in the standard hexadecimal system is option 4) B.
The hexadecimal system is a number system with a base of 16. It is commonly used in computing and digital systems because it provides a convenient way to represent binary numbers. In hexadecimal, the digits range from 0 to 9, and then use the letters A to F to represent values 10 to 15.
Here's a breakdown of the digits leading up to the 12th position:
- 1st digit: 0
- 2nd digit: 1
- 3rd digit: 2
- 4th digit: 3
- 5th digit: 4
- 6th digit: 5
- 7th digit: 6
- 8th digit: 7
- 9th digit: 8
- 10th digit: 9
- 11th digit: A
- 12th digit: B
Therefore, the 12th digit in the standard hexadecimal system is 'B'.