Computer Science 9618 ยท Chapter 1 of 21
Information representation
7 revision notes on Information representation for Cambridge A Level Computer Science (9618). 117 past-paper questions on this chapter to practise.
About this chapter
- Syllabus
- 1
- Section
- AS Level ยท Paper 1 Theory Fundamentals
- Level
- AS Level
- On Paper 1
- In almost every paper, usually Question 1 or 2: 5-17 marks
- Number part
- Conversions, two's complement, binary addition and subtraction, overflow
- Multimedia part
- Bitmap file sizes, vector terms, sound sampling, choosing lossy or lossless
- Also turns up in
- Assembly language questions (denary, hex and ASCII values) and bit shifts in chapter 4
- Reading time
- 7 notes ยท about 156 min
- Past-paper questions
- 117 to practise
Study these notes in order
7 notes cover this chapter. Work through them 1 โ 7: each one ends with a quiz, so you know you're ready for the next.
Start here ยท Note 1 of 7 ยท 26 min read
Number bases, prefixes and BCD
- Data Representation
- Data Representation
- Data Representation
- Multimedia
- Multimedia
- Multimedia
- Compression
What the syllabus says you need to know
- Show understanding of binary magnitudes and the difference between binary prefixes and decimal prefixes
- Show understanding of different number systems: binary, denary, hexadecimal, BCD, one's and two's complement
- Convert an integer value from one number base / representation to another
- Perform binary addition and subtraction using positive and negative binary integers
- Show understanding of how overflow can occur
- Describe practical applications where Binary Coded Decimal (BCD) and hexadecimal are used
- Show understanding of and be able to represent character data in its internal binary form, depending on the character set used (ASCII, extended ASCII, Unicode)
- Show understanding of how data for a bitmapped image are encoded: pixel, file header, image resolution, screen resolution, colour depth / bit depth
- Perform calculations to estimate the file size for a bitmap image
- Show understanding of the effects of changing elements of a bitmap image on the image quality and file size
- Show understanding of how data for a vector graphic are encoded: drawing object, property, drawing list
- Justify the use of a bitmap image or a vector graphic for a given task
- Show understanding of how sound is represented and encoded: sampling, sampling rate, sampling resolution, analogue and digital data
- Show understanding of the impact of changing the sampling rate and resolution on file size and accuracy
- Show understanding of the need for and examples of the use of compression
- Show understanding of lossy and lossless compression and justify the use of a method in a given situation
- Show understanding of how a text file, bitmap image, vector graphic and sound file can be compressed, including run-length encoding (RLE)
Can I do this? Chapter checklist
Number bases, prefixes and BCD
- I can explain the difference between binary and decimal prefixes using 1024 and 1000.
- I can convert and compare amounts given with different prefixes, via bytes.
- I know n bits give \(2^n\) values, the largest unsigned value is \(2^n-1\), and I can find the fewest bits needed.
- I can convert binary โ denary by both methods.
- I can convert between hex and binary (nibbles) and between hex and denary.
- I can convert to and from BCD, including plain binary โ BCD, and say why a byte isn't valid BCD.
- I can give uses of hex and of BCD, each with a matching justification.
Negative numbers, binary arithmetic and overflow
- I can write a negative number in one's complement and know why it is rarely used.
- I can convert denary โ two's complement in 8 and 12 bits, both methods.
- I know the ranges: unsigned 0 to 255, two's complement โ128 to 127 (8-bit), and the bit patterns.
- I can add binary numbers (including three of them) showing the carries.
- I can subtract in binary by adding the two's complement, the right way round, or by borrowing.
- I can define overflow and say whether a sum overflows, for unsigned and for two's complement.
Character sets: ASCII and Unicode
- I can describe a character set and explain how text is stored, using โuniqueโ and โin sequenceโ.
- I know ASCII (7 bits, 128) and extended ASCII (8 bits, 256) and what each covers.
- I know Unicode (16/32 bits, 65 536+ characters, all languages, emoji) and that ASCII is a subset of it.
- I can give similarities, differences and reasons to choose ASCII or Unicode.
- I can work out a neighbouring code and convert a code into binary, hex or BCD.
Bitmap images and file sizes
- I can describe how a bitmap is encoded (pixels, unique colour codes, stored in sequence).
- I can define pixel, colour depth, image resolution, screen resolution and file header in mark-scheme words, and list header contents.
- I can find the number of colours from the depth and the minimum depth for a number of colours.
- I can calculate a bitmap's file size in bytes, kB/MB/GB and KiB/MiB, including depth in bytes and video.
- I can explain the effect of changing resolution or colour depth on quality and file size, with a direction and a reason.
- I know screen resolution and pixel colours do not change the file size.
Vector graphics
- I can explain how a vector graphic is stored (objects, properties, drawing list).
- I can define drawing object, property and drawing list in mark-scheme words and give examples from a picture.
- I can describe at least three differences between bitmaps and vectors, with reasons.
- I can justify a bitmap or a vector for a given task.
Sound: sampling rate and resolution
- I can describe how sound is sampled and stored, in mark-scheme steps.
- I can define analogue data, sampling, sampling rate and sampling resolution.
- I can explain the effect of changing the rate, the resolution or the duration on accuracy and file size.
- I can calculate a sound file's size, converting kHz and minutes.
Compression: lossy, lossless and RLE
- I can explain the benefits of compression in a given context.
- I can describe lossy and lossless compression and say why text must be lossless.
- I can justify lossy or lossless for a given situation.
- I can encode and decode RLE for text and images, and explain when it doesn't help.
- I can describe how text, bitmap, vector and sound files can be compressed (lossy and lossless).
Ticks are saved on this device and match the checklist at the end of each note. Anything unticked: open it and revise that section.