Computer Science for IGCSE & O level - Data Representation (Section 1)
1
In computer programming, where would you typically encounter hexadecimal notation?
2
In two's complement, what is the effect of inverting all the bits and adding 1?
3
What is the largest decimal number that can be represented using 8 bits?
4
What is the primary benefit of data compression?
5
If a bitmap image uses a colour depth of 8 bits, how many different colours can each pixel represent?
6
Which factor primarily affects the file size of a sound recording?
Answer(C)
The sampling rate and bit depth.
7
What is a key benefit of using hexadecimal in computer systems, particularly in regards to representing binary data?
Answer(B)
Provides a more user-friendly method of representing binary data.
8
Which of the following is the equivalent decimal value of hexadecimal number '2A'?
9
In an 8-bit two's complement representation, what is the largest positive number that can be represented?
10
What is the total number of bits in a byte?
11
Which of the following image file formats typically uses lossy compression?
12
In the context of binary numbers, what is the significance of the 'carry' bit?
13
What is the result of the hexadecimal operation 2A + 1B?
14
In the context of computer data storage, what is a 'byte' primarily used for?
Answer(B)
Representing a single character.
15
Which data type commonly uses hexadecimal to represent the data?
16
If you have a hexadecimal code of #A0A0A0, what can you say about this color?
17
What is represented by the hexadecimal color code #0000FF?
18
What impact does data compression have on the quality of audio or video files?
Answer(C)
It can reduce quality depending on the compression method and level.
19
Which part of a hexadecimal HTML color code determines the blue color intensity?
20
Which compression method typically results in smaller file sizes, but potentially some data loss?
21
If you have a 16-bit audio file, what is the maximum number of distinct values that can be used to represent the amplitude of each sample?
22
What does the 'sampling rate' in audio recording signify?
Answer(B)
The number of samples per second.
23
How many hexadecimal digits are required to represent a 32-bit value?
24
In audio, what does a higher bit depth lead to?
Answer(C)
More accurate audio representation.
25
In the context of binary addition, what is the result of 1 + 1?
26
Which of the following components is NOT a part of the RGB color model?
27
Which of the following is the most common method for representing colors in digital images?
28
In lossy compression, what is typically sacrificed to reduce file size?
29
What is the decimal equivalent of the hexadecimal value '1B'?
30
In the process of converting an analog sound to digital, what does 'quantization' refer to?
Answer(B)
Assigning a discrete value to each sample.
31
Which of the following image file formats typically uses lossy compression?
32
Which of these image formats generally uses lossless compression?
33
Why are bit groupings used in data representation?
34
What are the essential steps in converting a negative decimal number to its two's complement binary representation?
35
What does 1024 kilobytes equal?
36
What is the purpose of the 'flag' in Run-Length Encoding (RLE)?
Answer(A)
To indicate the beginning of a repeating sequence.
37
When converting a decimal number to binary, what is the role of the remainders?
Answer(B)
They are the binary digits.
38
What is the purpose of hexadecimal in computer science?
Answer(A)
To create easier-to-read memory addresses.
39
What is the value of the hexadecimal color code #00FF00?
40
How is the sign of a number represented in two's complement?
Answer(B)
The most significant bit.
41
In a 4-bit two's complement system, what is the two's complement of -2?
42
What is the maximum decimal value that can be represented using an 8-bit unsigned integer?
43
Which decimal value corresponds to the hexadecimal digit 'C'?
44
What is the key disadvantage of using a very low sampling rate for audio recording?
Answer(B)
It results in a lower quality sound.
45
Which file format commonly utilizes lossy compression?
46
Which of the following are advantages of using binary in computers?
47
What is a nibble in relation to bits and bytes?
48
What is the hexadecimal value of the binary number 1111?
49
Which number system is often used as a shorthand for binary in computer programming?
50
Convert the binary number 10110 to decimal.