IBPS Clerk Computer – Number Systems, Complements, Codes and Logic Gates – Level 2 · Exam Level

← Back

IBPS Clerk Computer – Number Systems, Complements, Codes and Logic Gates – Level 2 · Exam Level – 16 questions, subject: Computer Aptitude. Every question has the correct answer with a two-line explanation; tap "Show Answer". Free practice for IBPS Clerk, IBPS PO, SBI, RRB exams – Shanmugam IAS Academy, Coimbatore.

Get daily current affairs & exam alerts – follow us YouTube WhatsApp Channel Telegram Channel Facebook Page Instagram
Share with friends & study groups
Link to this page from your website / blog (HTML code)
1.  
Decimal 156 in hexadecimal is:

Correct Answer: B [9C]

Explanation:

156 / 16 = 9 remainder 12, and 12 is C in hexadecimal, so 156 = 9C. Check: 9 x 16 + 12 = 156.

2.  
Decimal 87 in octal is:

Correct Answer: A [127]

Explanation:

Repeated division by 8: 87 / 8 = 10 remainder 7, 10 / 8 = 1 remainder 2, 1 / 8 = 0 remainder 1; reading the remainders from bottom to top gives 127. Check: 1 x 64 + 2 x 8 + 7 = 87.

3.  
101110101₂ in octal is:

Correct Answer: E [565]

Explanation:

Group 101110101 into threes from the right: 101 = 5, 110 = 6, 101 = 5, so the octal value is 565. Check: 5 x 64 + 6 x 8 + 5 = 373 in decimal.

4.  
11101011₂ in hexadecimal is:

Correct Answer: D [EB]

Explanation:

Split 11101011 into groups of four bits from the right: 1110 = E and 1011 = B, so it is EB in hexadecimal. Check: EB = 14 x 16 + 11 = 235.

5.  
A5₁₆ in octal is:

Correct Answer: C [245]

Explanation:

A5 in hex = 1010 0101 in binary; regrouped in threes from the right it is 010 100 101 = 245 in octal. Check: A5 = 165 decimal and 2 x 64 + 4 x 8 + 5 = 165.

6.  
110111₂ + 101101₂ = ?

Correct Answer: E [1100100]

Explanation:

110111 (binary) = 55 and 101101 (binary) = 45, so the sum is 55 + 45 = 100. 100 = 64 + 32 + 4, which is 1100100 in binary.

7.  
110010₂ − 10111₂ = ?

Correct Answer: B [11011]

Explanation:

110010 (binary) = 50 and 10111 (binary) = 23, so the difference is 50 - 23 = 27. 27 = 16 + 8 + 2 + 1, which is 11011 in binary.

8.  
The 8-bit 2's complement of 01101100 is:

Correct Answer: C [10010100]

Explanation:

For the 2's complement of 01101100, invert all bits to get 10010011 and add 1 to get 10010100. A shortcut: copy the bits from the right up to and including the first 1 (100), then flip the rest.

9.  
The range of an 8-bit number in 2's complement form is:

Correct Answer: D [−128 to +127]

Explanation:

An n-bit 2's complement number ranges from -2^(n-1) to +2^(n-1) - 1, so 8 bits give -128 to +127. In all, 256 values are possible.

10.  
Decimal 47 in BCD (8421) is:

Correct Answer: A [0100 0111]

Explanation:

In BCD (8421) each decimal digit is written separately in 4 bits: 4 = 0100 and 7 = 0111. So 47 in BCD is 0100 0111, while its pure binary form is 101111.

11.  
The ASCII value of lower-case 'd' is:

Correct Answer: E [100]

Explanation:

'a' = 97 → 'd' = 100. (Upper-case 'D' = 68.)

12.  
A = 1, B = 1, C = 0. What is the output of (A AND B) NOR C?

Correct Answer: B [0]

Explanation:

A AND B = 1 AND 1 = 1, and then 1 NOR 0 = NOT(1 OR 0) = NOT 1 = 0. A NOR gate gives 1 only when all its inputs are 0.

13.  
Which gate outputs 1 when its two inputs are equal?

Correct Answer: A [XNOR]

Explanation:

An XNOR gate outputs 1 when its two inputs are equal (both 0 or both 1), so it works as an equality detector. XOR does the opposite and outputs 1 only when the inputs differ.

14.  
By De Morgan's theorem, (A + B)' equals:

Correct Answer: D [A'·B']

Explanation:

By De Morgan's theorem, (A + B)' = A'·B': the complement of a sum is the product of the complements. The second theorem is (A·B)' = A' + B'.

15.  
How many rows does the truth table of a 4-input gate have?

Correct Answer: C [16]

Explanation:

A truth table with n inputs has 2^n rows, so a 4-input gate has 2^4 = 16 rows. A 3-input gate would have 8 rows.

16.  
Match the number with its decimal value:
List I: (a) 1101₂; (b) 21₈; (c) 1C₁₆; (d) 100₁₆
List II: (1) 256; (2) 13; (3) 28; (4) 17

Correct Answer: D [a-2, b-4, c-3, d-1]

Explanation:

1101 in binary = 8 + 4 + 1 = 13, 21 in octal = 2 x 8 + 1 = 17, 1C in hex = 16 + 12 = 28 and 100 in hex = 256, giving a-2, b-4, c-3, d-1. Each place value is a power of the base.

📘 IBPS Clerk 2026 – B4 Computer Aptitude (PDF book)
Here you get the answer with a one-line explanation. 690 questions, each with a full step-by-step explanation · shortcuts, tables, trap alerts · Prelims + Mains sectional mocks. All 5 books together: ₹599.
Get the book – ₹149 →
Score: 0 Answered: 0 / 0