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)₁₀ = ( ? )₂
- 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
ਉੱਪਰ "ਸ਼ੁਰੂ ਕਰੋ" ਦਬਾਓ: ਹਰ ਵਾਰ ਨਵੇਂ ਪ੍ਰਸ਼ਨ, ਉੱਤਰ ਅਤੇ ਪੂਰੇ ਹੱਲ ਨਾਲ।