GovtExamKit

₹0، ہمیشہ · کوئی سائن اپ نہیں · آف لائن چلتا ہے

Number Systems & Codes

Binary, octal, hexadecimal conversions, binary addition, 2's complement, ASCII and Unicode.

Learn: notes, formulas, solved examples and question book

نمونہ سوالات اور حل

سوالات ابھی صرف انگریزی اور ہندی میں ہیں۔ باقی ایپ آپ کی زبان میں ہے۔

1. Convert the decimal number 24 into binary. (24)₁₀ = ( ? )₂

  1. 11001
  2. 11000
  3. 10111
  4. 11
جواب: B. حل دیکھیں
  1. 24 ÷ 2 = 12, remainder 0
  2. 12 ÷ 2 = 6, remainder 0
  3. 6 ÷ 2 = 3, remainder 0
  4. 3 ÷ 2 = 1, remainder 1
  5. 1 ÷ 2 = 0, remainder 1
  6. Read the remainders from bottom to top.

So (24)₁₀ = (11000)₂.

Source: NCERT Computer Science, Class XI, Chapter 2 "Encoding Schemes and Number System", https://ncert.nic.in/textbook.php?kecs1=2-11

شارٹ کٹ: Check: 1×16 + 1×8 + 0×4 + 0×2 + 0×1 = 24

2. Add the binary numbers: 111011 + 111 = ?

  1. 1000001
  2. 1000100
  3. 111100
  4. 1000010
جواب: D. حل دیکھیں
  1. Rules: 0+0 = 0, 0+1 = 1, 1+1 = 10 (write 0, carry 1), 1+1+1 = 11 (write 1, carry 1).
  2. 111011 + 111 = 1000010
  3. Check in decimal: 59 + 7 = 66 = (1000010)₂.

Source: NCERT Computer Science, Class XI, Chapter 2 "Encoding Schemes and Number System", https://ncert.nic.in/textbook.php?kecs1=2-11

شارٹ کٹ: Adding without the carries gives the XOR, a common wrong option.

3. Add the binary numbers: 110101 + 1011 = ?

  1. 1000000
  2. 1000001
  3. 1000010
  4. 111111
جواب: A. حل دیکھیں
  1. Rules: 0+0 = 0, 0+1 = 1, 1+1 = 10 (write 0, carry 1), 1+1+1 = 11 (write 1, carry 1).
  2. 110101 + 1011 = 1000000
  3. Check in decimal: 53 + 11 = 64 = (1000000)₂.

Source: NCERT Computer Science, Class XI, Chapter 2 "Encoding Schemes and Number System", https://ncert.nic.in/textbook.php?kecs1=2-11

شارٹ کٹ: Adding without the carries gives the XOR, a common wrong option.

اوپر "شروع کریں" دبائیں: ہر بار نئے سوالات، جواب اور مکمل حل کے ساتھ۔