Solved exam questions with answers and step-by-step explanations.

General Awareness Solved MCQ

A system has the IP address 11010110.11101100.00100100.00000001. What will be the decimal notation for this IP address?

RRBOFFICER SCALE MAINS TEST 5 ENG General Awareness 4 options Answer with explanation

Options

  • A
    237.215.36.1
  • B
    215.237.36.1
  • C
    214.236.36.1
    Correct answer
  • D
    238.214.36.1
The correct answer is Option C

Explanation

The decimal number is equal to the sum of binary digits (dn) times their power of 2 (2n):

Decimal number = d0×20 + d1×21 + d2×22+...

In the given question, there are 4 groups that need to be converted into decimal notation

I. 11010110 → 1x27 + 1x26 + 0x25 + 1x24 + 0x23 + 1x22 + 1x21 + 0x20 = 214

II. 11101100 → 1x27 + 1x26 + 1x25 + 0x24 + 1x23 + 1x22 + 0x21 + 0x20 = 236

III. 00100100 → 0x27 + 0x26 + 1x25 + 0x24 + 0x23 + 1x22 + 0x21 + 0x20 = 36

IV. 00000001 → 0x27 + 0x26 + 0x25 + 0x24 + 0x23 + 0x22 + 0x21 + 1x20 = 1

Share this question: WhatsApp
Practise more questions like thisTimed mock tests and quizzes on ExamLuck are free to attempt.
Take a free mock test

Related questions