Class 9th · Computer · Chapter 2
Chapter 2: Chapter 2
Chapter 2 of the Punjab Board Class 9th Computer textbook runs from page 27 to 51 and covers 6 topics. Its exercise has short / constructed response questions. Open any of those pages in GenZ Books, tap a question, and the answer is worked from this chapter.
Open Chapter 2 of Computer in GenZ Books
The same Class 9th textbook, page for page. Tap any question and get the answer worked from that chapter — English and Urdu.
What you will learn
- Understand Number System: • The different numbering systems, including decimal, binary, hexadecimal, and octal, and their respective base values and digits. • Why computers primarily use the binary number system for data representation. • Machine-level representation of data, including how data is stored and processed within the computer's architecture. • The representation of whole and real numbers in a computer, including binary encoding methods for both. • How various arithmetic operations, such as addition, subtraction, multiplication, and division, are performed on binary representations of numbers? • The concept of common text encoding schemes, such as ASCII and Unicode, and How they represent characters. • How digital data representations work for various forms of multimedia, such as images, audios, videos, and other multimedia resources. • Different file formats and their variations for specific applications. • The concept of file extensions and their significance in identifying file types and applications. • Key terms related to data representation, including ASCII, Unicode, binary, signed and unsigned numbers, bits, bytes, hexadecimal number systems, negatives in binary, two's c
Topics in this chapter
- 2.1Numbering Systemsp. 28
- 2.2Data Representation in Computing Systemsp. 34
- 2.3Storing Real Values in Computer Memoryp. 36
- 2.4Binary Arithmetic Operationsp. 39
- 2.5Common Text Encoding Schemesp. 42
- 2.6Storing Images, Audio, and Video in Computersp. 46
Exercise
- Short / Constructed Response Questionsp. 50
A sample answer from GenZ Books
Define · page 28: 7. File formats and extensions.
A file format (فائل فارمیٹ) is a standardized structure used to organize and store data in a computer file, while a file extension (فائل ایکسٹینشن) is the suffix at the end of a filename that tells the operating system which software to use to open it.
- What it means: The format dictates how binary data is arranged inside the file, whereas the extension (like
.txtor.mp3) acts as a label for your computer to recognize the file type. - Why it matters: Without correct formats and extensions, your computer would not know whether a file contains text, an image, or sound, making the data unreadable.
Everyday Example: When you save a picture on your smartphone to share on WhatsApp in Pakistan, it is saved with a .jpg extension, which tells your phone to open it using the Gallery app rather than a music player.
Remember: A file format organizes the data inside a file, and its extension tells your computer which application should open it.
AI-generated from the chapter text by GenZ Books. It can make mistakes — check it against your textbook and your teacher.

