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)₁₀ = ( ? )₂
- 11001
- 11000
- 10111
- 11
جواب: B. حل دیکھیں
- 24 ÷ 2 = 12, remainder 0
- 12 ÷ 2 = 6, remainder 0
- 6 ÷ 2 = 3, remainder 0
- 3 ÷ 2 = 1, remainder 1
- 1 ÷ 2 = 0, remainder 1
- 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
2. Add the binary numbers: 111011 + 111 = ?
- 1000001
- 1000100
- 111100
- 1000010
جواب: D. حل دیکھیں
- Rules: 0+0 = 0, 0+1 = 1, 1+1 = 10 (write 0, carry 1), 1+1+1 = 11 (write 1, carry 1).
- 111011 + 111 = 1000010
- 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
3. Add the binary numbers: 110101 + 1011 = ?
- 1000000
- 1000001
- 1000010
- 111111
جواب: A. حل دیکھیں
- Rules: 0+0 = 0, 0+1 = 1, 1+1 = 10 (write 0, carry 1), 1+1+1 = 11 (write 1, carry 1).
- 110101 + 1011 = 1000000
- 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
اوپر "شروع کریں" دبائیں: ہر بار نئے سوالات، جواب اور مکمل حل کے ساتھ۔