Matching Questions - Engineering

Q1:

Match the following:
  List I   List II
A. 45 1. 10110100
B. 90 2. 11010010
C. 180 3. 01011010
D. 210 4. 00101101
    5. 10101000

A A-3, B-4, C-5, D-2

B A-4, B-3, C-5, D-2

C A-4, B-3, C-1, D-2

D A-3, B-4, C-2, D-1

ANS:B - A-4, B-3, C-5, D-2

180)10 = (10110100)2

STEP BY STEP SOLUTION
Step 1: Divide (180)10 successively by 2 until the quotient is 0:

180/2 = 90, remainder is 0
90/2 = 45, remainder is 0
45/2 = 22, remainder is 1
22/2 = 11, remainder is 0
11/2 = 5, remainder is 1
5/2 = 2, remainder is 1
2/2 = 1, remainder is 0
1/2 = 0, remainder is 1

Step 2: Read from the bottom (MSB) to top (LSB) as 10110100. This is the binary equivalent of decimal number 180 (Answer).