1-Data representation
Number systems
Why is the binary number system used for computersThis
is a base 16 number system that uses the values 0-9 and A-F.
What are the advantages of hexadecimal compared to
binary for a programmer
Hexadecimal is a shorter way of representing
binary, hence it takes up less screen space
Hexadecimal is easier for a programmer to read,
write and understand
Hexadecimal is easier to debug and locate errors
in data
What are the different uses of the hexadecimal number
system
Error codesColour codes are always 6 hexadecimal
digits and different hexadecimal values represent different
colours.
What is an overflow errorThis is an operation that
shifts a bit to the right(dividing it ) or to the
left( multiplying it) in a register.
This is how you write it if there is an error in
shifting
https://remnote-user-data.s3.amazonaws.com/Ne9qjTw5kURfEZudolUAxA
N2HCdgoOeCK6rTjzJplOIhJsO5vJ5zXELux8qw-BchQQbHipdghb4LjYzdFD-
zpXnSzZXc5VvgDd49PEqQ8iqHB85iU52Jyz1I-2z5EarU.png
Do the opposite for right shift
What is two's complementThis is the additional data
that is stored with an image that can provide information such as
the dimensions of the image and the time and date the image was
taken.
What is the ASCII code systemA list of characters that
the computer recognises and supports. It contains unique binary
numbers for each character and is necessary so that the computer
can understand human characters.
What are the disadvantages of the ASCII code
It does not represent characters in non-Western
languages
What is Unicodehttps://remnote-user-
data.s3.amazonaws.com/ImKngRkCu63H7WwIIYDTyv7qlkZ5c7YUuJ5KjYebK0O
2BXTlxuHmTy81i-
knvutDKqTjdxj9cK9SBw7OB7oMl_U5yWeMbLj85dwOEQlwHzeq8BcqWVGFKFAo2m1
zHetC.png
Representation of sound
What is samplingThe sound waves are sampled at
regular intervals, and since the amplitude cannot be measured