Computer Science for IGCSE & O level - Data Representation (Section 1)

1
In computer programming, where would you typically encounter hexadecimal notation?
Answer
A
B
C
2
In two's complement, what is the effect of inverting all the bits and adding 1?
Answer
A
B
3
What is the largest decimal number that can be represented using 8 bits?
Answer
(A)
255
4
What is the primary benefit of data compression?
Answer
(B)
Reduced file size.
5
If a bitmap image uses a colour depth of 8 bits, how many different colours can each pixel represent?
Answer
(D)
256
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'?
Answer
(B)
42
9
In an 8-bit two's complement representation, what is the largest positive number that can be represented?
Answer
(A)
127
10
What is the total number of bits in a byte?
Answer
(B)
8
11
Which of the following image file formats typically uses lossy compression?
Answer
(C)
JPEG
12
In the context of binary numbers, what is the significance of the 'carry' bit?
Answer
A
B
C
13
What is the result of the hexadecimal operation 2A + 1B?
Answer
(A)
45
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?
Answer
A
C
16
If you have a hexadecimal code of #A0A0A0, what can you say about this color?
Answer
(B)
It is a shade of grey.
17
What is represented by the hexadecimal color code #0000FF?
Answer
(D)
Blue
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?
Answer
(C)
The last two digits.
20
Which compression method typically results in smaller file sizes, but potentially some data loss?
Answer
(C)
Lossy
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?
Answer
(C)
65536
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?
Answer
(C)
8
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?
Answer
(A)
0 with a carry of 1
26
Which of the following components is NOT a part of the RGB color model?
Answer
(D)
Yellow
27
Which of the following is the most common method for representing colors in digital images?
Answer
(C)
RGB
28
In lossy compression, what is typically sacrificed to reduce file size?
Answer
(A)
Data quality.
29
What is the decimal equivalent of the hexadecimal value '1B'?
Answer
(A)
27
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?
Answer
B
C
32
Which of these image formats generally uses lossless compression?
Answer
(C)
GIF
33
Why are bit groupings used in data representation?
Answer
(D)
All of the above
34
What are the essential steps in converting a negative decimal number to its two's complement binary representation?
Answer
A
B
35
What does 1024 kilobytes equal?
Answer
(A)
1 Megabyte
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?
Answer
(C)
Green
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?
Answer
(B)
1101
42
What is the maximum decimal value that can be represented using an 8-bit unsigned integer?
Answer
(C)
255
43
Which decimal value corresponds to the hexadecimal digit 'C'?
Answer
(C)
12
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?
Answer
(C)
JPEG
46
Which of the following are advantages of using binary in computers?
Answer
A
B
47
What is a nibble in relation to bits and bytes?
Answer
(B)
A group of 4 bits.
48
What is the hexadecimal value of the binary number 1111?
Answer
(A)
F
49
Which number system is often used as a shorthand for binary in computer programming?
Answer
(C)
Hexadecimal
50
Convert the binary number 10110 to decimal.
Answer
(B)
23