CHAPTER1- DATA REPRESENTATION - AREEBA NAEEM
CHAPTER1- DATA REPRESENTATION - AREEBA NAEEM
Notes : Conversions are not included in these notes , so please learn them by yourself
Binary:
• Computers can only process data in binary form because data is processed in a
computer using logic gates that only have two states (1 and 0 ).
• Computers use binary to represent data because they are made of switches and gates
that can only be on or off.
Hexadecimal:
• An overflow error will occur if the value is greater than 255 in an 8-bit register
• A computer or a device has a predefined limit that it can represent or store, for example
16-bit.
• An overflow error occurs when a value outside this limit should be returned.
• The result of the calculation is greater than 255 // The value generated is larger than
what can be stored in the register
• The result of the calculation would require more than 8 bits to be represented // A
register has a predetermined number of bits and there are too many bits for it
Logical Shifts:
• Each shift left is multiplying the number by two and each shift right is dividing the
number by two.
Areeba Naeem
CS – NOTES – IGCSE- 2025 Chapter 1 – Data Representation Areeba Naeem
• A character set is all the characters and symbols that can be represented by a computer
system. Each character and symbol is assigned a unique value.
• ASCII has limited and fewer characters and Unicode has more characters.
• ASCII covers a limited set of languages; Unicode includes more languages.
• ASCII requires 7/8 bits per character, Unicode requires up to 16/32 bits per character.
• ASCII has 128/256 characters
• Unicode has approximately 60 thousand/4 billion characters
• Unicode takes up more storage space as each character is encoded using more bits.
• ASCII uses one byte to represent a character, whereas Unicode will support up to four
bytes per character.
Sound:
Areeba Naeem
CS – NOTES – IGCSE- 2025 Chapter 1 – Data Representation Areeba Naeem
Compression:
Areeba Naeem