Class VII Exercise
Class VII Exercise
2. Assertion (A): Hexadecimal numbers are widely used in computing and digital systems.
Reason (R): Hexadecimal numbers can represent large values using fewer digits than decimal
numbers.
Answer: a. Both Assertion (A) and Reason (R) are true, and Reason (R) is the correct explanation of
Assertion (A).
2. Explain how he could represent each traffic light state using your chosen number system.
Answer:
o 00 → Light off
o 01 → Red
o 10 → Yellow
o 11 → Green
o Octal (Base-8): Rarely used today but was historically used in Unix file permissions.
o Hexadecimal (Base-16): Used in memory addressing and color codes (e.g., #FF0000 for red).
3. How does understanding different number systems help in programming and working with
computers?
Answer: It aids in debugging, memory management, and optimizing code (e.g., bitwise operations,
color manipulation).
F. Application-Based Questions
1. If you were designing a digital clock, which number system would you use to display the time, and
why?
Answer: Decimal, because it is the standard for human readability (e.g., 12:45 instead of binary or
hexadecimal).
2. How might a web designer use the hexadecimal system in their work?
Answer: To define colors in CSS (e.g., #FFFFFF for white).
2. c. 10
3. b. Octal
4. a. 10
5. c. Decimal
1. Base of binary: 2
5. Digits in decimal: 10
3. Octal → d. Base 8