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

ਨਮੂਨਾ ਪ੍ਰਸ਼ਨ ਅਤੇ ਹੱਲ

ਪ੍ਰਸ਼ਨ ਅਜੇ English ਅਤੇ हिन्दी ਵਿੱਚ ਹਨ। ਬਾਕੀ ਐਪ ਤੁਹਾਡੀ ਭਾਸ਼ਾ ਵਿੱਚ ਹੈ।

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.

ਉੱਪਰ "ਸ਼ੁਰੂ ਕਰੋ" ਦਬਾਓ: ਹਰ ਵਾਰ ਨਵੇਂ ਪ੍ਰਸ਼ਨ, ਉੱਤਰ ਅਤੇ ਪੂਰੇ ਹੱਲ ਨਾਲ।