Font size
WorksheetsGCSE Computer Science [Component 1]
Total questions: 46
Worksheet time: 32mins
What is the decimal representation of this binary number?
00111011
58
102
59
220
What is the binary representation of the following denary number?
76
10001110
01001100
00011111
00101011
Which of the following character sets holds the most characters?
Unicode
ASCII
Extended ASCII
What denary number does the hexadecimal number E represent?
8
11
12
14
Given the following list:
[4, 6, 2, 10, 7, 98, 8]
Using the Linear Search algorithm, how many comparisons will I do to find the number 7?
5
4
3
10
Why is it not possible to use the Binary Search algorithm on the following list?
[4, 6, 2, 10, 7, 98, 8]
The list is too small
The list is un-ordered
The list has an odd number of elements
On the following list, which algorithm would find a specific number the quickest?
[1, 2, 4, 5, 7, 8, 10, 12, 20, 56]
Bubble Sort
Linear and Binary search would be about the same
Linear Search
Binary Search
Bubble sort is more efficient than Merge sort...
True
False
For the input "Bob" & "Hello", what would be the output of the flowchart shown?
'Password id valid'
'Invalid password - too short'
'Invalid password - same as username'
Which of the following data fits correctly into the 'Integer' data type?
5
12.5
.23
'one'
Which of the following fits correctly into the 'Boolean' data type?
Yes
No
True
False
17 MOD 2 =
2
3
1
4
20 DIV 3 =
5
6
3
2
Which of the following are TRUE?
5 < 10
5 >= 10
(10 * 2) > (3 * 3)
(10 DIV 2) == 5
What is printed, if I run this line of code on the following list?
[Indexing starts at 0]
myList = [6, 8, 0, 4, 3, 7, 10]
OUTPUT: myList[2]
6
0
8
10
What is meant by the term 'validation'?
Checking that all of the code is valid
Checking that the user only enters numbers
Checking that the user's inputs are the correct format
Checking that the user only enters data on a specific day
Which of the following translates and executes source code one line at a time?
Assembler
Compiler
Interpreter
What am I describing here?
"Translates all source code at the same time and creates one executable file."
Assembler
Interpreter
Compiler
Which of the following is an AND gate?
What would be the output of the circuit, given the following inputs:
A = 1, B = 1, C = 0
1
0
What is the term used for 8 bits?
A bit
A byte
A Megabit
A Kilobit
Which of the following is the correct definition of a Megabyte?
1000 Bits
1000 Kilobytes
100000 Bits
1000 Bytes
Which is the correct formula to work out the number of bytes if I have 80000 bits?
80000 / 1000
80000 / 8
80000 * 8
80000 * 1000
How many Kilobytes would be in 240000 bits?
3
300
80
30
How many bits are in 300 Kilobytes?
300,000
240,000
2,400,000
12,000,000
What is the result of this binary addition?
..1010
+1001
10011
10111
1011
11001
What is the result of this binary multiplication?
...101
X 100
10100
10101
10010
00101
What would be the result of shifting a binary number 2 places to the left?
The number would be divided by 4
The number would be multiplied by 2
The number would be increased by 4
The number would be multiplied by 4
What would be the result of shifting a binary number 2 places to the right?
The number would be multiplied by 4
The number would be divided by 4
The number would be increased by 4
The number would be divided by 16
What is the correct definition of a character set?
...a collection of characters identified by a code
Unicode
ASCII
...a collection of characters that a computer recognises from their unique binary representation.
Unicode is 'better' than ASCII because... [2 answers]
It uses more bits than ASCII to store each character
It has 128 different characters
It can represent all major languages and their specific characters
It uses 8 bits per character
Which of these is the correct definition of a pixel?
The smallest addressable element of an image
The smallest part of the screen that can be coloured
A square part of an image
One of the 'lights' on the computer screen
Image resolution is...
The width and height of an image
The result of multiplying the width and height of an image
The number of pixels across an image
The number of pixels wide added to the number of pixels high
Which of these is the correct formula for calculating the file size of an image?
resolution * bit depth
(width + height) * number of colours
resolution * number of colours
resolution + bit depth
Fred has taken an image from his 10 megapixel camera, which also records 256 colours every time it takes an image.
Which of the following is the correct file size in megabytes?
100MB
10MB
16MB
1.6MB
If I take an image with a bit depth of 6, how many colours can be displayed by the image?
128
32
64
16
If I had an image that could represent 16 colours, how many bits are stored per pixel?
2
4
3
16
What would be the result of increasing the bit depth of an image? [2 answers]
The file size would decrease
The detail that could be recorded would increase
The quality of the image would be better
The file size of the image would increase
What would be the binary representations of the second line in the image?
Assuming that black = 1 and white = 0.
1110000000000111
0001111111111000
010001000100010
111000000000111
What is the correct name for the following description?
"The number of samples taken every second of the duration of the sound recording"
Sample resolution
Sample rate
Sample
Sample resolution is...
The number of times the sample is taken per second
The number of bits available for each sample taken
The number of Hertz used per sample
What will happen to the file size of a sound if the sample resolution is increased?
It will decrease
It will increase
It will stay the same, so long as the sample rate doesn't change
It will stay the same
Which of the following is the correct formula to calculate the file size of a sound?
sample rate * sample resolution * length (in seconds)
sample rate * sample resolution
sample rate * sample resolution / length (in seconds)
sample rate / sample resolution * length (in seconds)
Lucy is recording a sound, using a sample resolution of 16 bits and a sample rate of 1000Hz, the sound is 2 minutes long.
What will be the file size of the sound file in bits?
192,000
1,920,000
19,200,000
32,000
Using Run Length Encoding, what would be the correct representation of the top line of this image?
4B, 33W, 4B
8B, 33W
B4, W33, B4
4 0, 33 1, 4 0
When is Run Length Encoding not very effective?
When there are lots of the same colour pixels in a row
When there are lots of colour changes in a row
When there are only two colours per row
When there are lots of colours in runs on the same row
