wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

GCSE Computer Science [Component 1]

Total questions: 46

Worksheet time: 32mins

Name
Class
Date
1.

What is the decimal representation of this binary number?

00111011

a)

58

b)

102

c)

59

d)

220

2.

What is the binary representation of the following denary number?

76

a)

10001110

b)

01001100

c)

00011111

d)

00101011

3.

Which of the following character sets holds the most characters?

a)

Unicode

b)

ASCII

c)

Extended ASCII

4.

What denary number does the hexadecimal number E represent?

a)

8

b)

11

c)

12

d)

14

5.

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?

a)

5

b)

4

c)

3

d)

10

6.

Why is it not possible to use the Binary Search algorithm on the following list?


[4, 6, 2, 10, 7, 98, 8]

a)

The list is too small

b)

The list is un-ordered

c)

The list has an odd number of elements

7.

On the following list, which algorithm would find a specific number the quickest?


[1, 2, 4, 5, 7, 8, 10, 12, 20, 56]

a)

Bubble Sort

b)

Linear and Binary search would be about the same

c)

Linear Search

d)

Binary Search

8.

Bubble sort is more efficient than Merge sort...

a)

True

b)

False

9.

For the input "Bob" & "Hello", what would be the output of the flowchart shown?

a)

'Password id valid'

b)

'Invalid password - too short'

c)

'Invalid password - same as username'

10.

Which of the following data fits correctly into the 'Integer' data type?

a)

5

b)

12.5

c)

.23

d)

'one'

11.

Which of the following fits correctly into the 'Boolean' data type?

a)

Yes

b)

No

c)

True

d)

False

12.

17 MOD 2 =

a)

2

b)

3

c)

1

d)

4

13.

20 DIV 3 =

a)

5

b)

6

c)

3

d)

2

14.

Which of the following are TRUE?

a)

5 < 10

b)

5 >= 10

c)

(10 * 2) > (3 * 3)

d)

(10 DIV 2) == 5

15.

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]

a)

6

b)

0

c)

8

d)

10

16.

What is meant by the term 'validation'?

a)

Checking that all of the code is valid

b)

Checking that the user only enters numbers

c)

Checking that the user's inputs are the correct format

d)

Checking that the user only enters data on a specific day

17.

Which of the following translates and executes source code one line at a time?

a)

Assembler

b)

Compiler

c)

Interpreter

18.

What am I describing here?


"Translates all source code at the same time and creates one executable file."

a)

Assembler

b)

Interpreter

c)

Compiler

19.

Which of the following is an AND gate?

a)
b)
c)
20.

What would be the output of the circuit, given the following inputs:

A = 1, B = 1, C = 0

a)

1

b)

0

21.

What is the term used for 8 bits?

a)

A bit

b)

A byte

c)

A Megabit

d)

A Kilobit

22.

Which of the following is the correct definition of a Megabyte?

a)

1000 Bits

b)

1000 Kilobytes

c)

100000 Bits

d)

1000 Bytes

23.

Which is the correct formula to work out the number of bytes if I have 80000 bits?

a)

80000 / 1000

b)

80000 / 8

c)

80000 * 8

d)

80000 * 1000

24.

How many Kilobytes would be in 240000 bits?

a)

3

b)

300

c)

80

d)

30

25.

How many bits are in 300 Kilobytes?

a)

300,000

b)

240,000

c)

2,400,000

d)

12,000,000

26.

What is the result of this binary addition?

..1010

+1001

a)

10011

b)

10111

c)

1011

d)

11001

27.

What is the result of this binary multiplication?

...101

X 100

a)

10100

b)

10101

c)

10010

d)

00101

28.

What would be the result of shifting a binary number 2 places to the left?

a)

The number would be divided by 4

b)

The number would be multiplied by 2

c)

The number would be increased by 4

d)

The number would be multiplied by 4

29.

What would be the result of shifting a binary number 2 places to the right?

a)

The number would be multiplied by 4

b)

The number would be divided by 4

c)

The number would be increased by 4

d)

The number would be divided by 16

30.

What is the correct definition of a character set?

a)

...a collection of characters identified by a code

b)

Unicode

c)

ASCII

d)

...a collection of characters that a computer recognises from their unique binary representation.

31.

Unicode is 'better' than ASCII because... [2 answers]

a)

It uses more bits than ASCII to store each character

b)

It has 128 different characters

c)

It can represent all major languages and their specific characters

d)

It uses 8 bits per character

32.

Which of these is the correct definition of a pixel?

a)

The smallest addressable element of an image

b)

The smallest part of the screen that can be coloured

c)

A square part of an image

d)

One of the 'lights' on the computer screen

33.

Image resolution is...

a)

The width and height of an image

b)

The result of multiplying the width and height of an image

c)

The number of pixels across an image

d)

The number of pixels wide added to the number of pixels high

34.

Which of these is the correct formula for calculating the file size of an image?

a)

resolution * bit depth

b)

(width + height) * number of colours

c)

resolution * number of colours

d)

resolution + bit depth

35.

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?

a)

100MB

b)

10MB

c)

16MB

d)

1.6MB

36.

If I take an image with a bit depth of 6, how many colours can be displayed by the image?

a)

128

b)

32

c)

64

d)

16

37.

If I had an image that could represent 16 colours, how many bits are stored per pixel?

a)

2

b)

4

c)

3

d)

16

38.

What would be the result of increasing the bit depth of an image? [2 answers]

a)

The file size would decrease

b)

The detail that could be recorded would increase

c)

The quality of the image would be better

d)

The file size of the image would increase

39.

What would be the binary representations of the second line in the image?


Assuming that black = 1 and white = 0.

a)

1110000000000111

b)

0001111111111000

c)

010001000100010

d)

111000000000111

40.

What is the correct name for the following description?


"The number of samples taken every second of the duration of the sound recording"

a)

Sample resolution

b)

Sample rate

c)

Sample

41.

Sample resolution is...

a)

The number of times the sample is taken per second

b)

The number of bits available for each sample taken

c)

The number of Hertz used per sample

42.

What will happen to the file size of a sound if the sample resolution is increased?

a)

It will decrease

b)

It will increase

c)

It will stay the same, so long as the sample rate doesn't change

d)

It will stay the same

43.

Which of the following is the correct formula to calculate the file size of a sound?

a)

sample rate * sample resolution * length (in seconds)

b)

sample rate * sample resolution

c)

sample rate * sample resolution / length (in seconds)

d)

sample rate / sample resolution * length (in seconds)

44.

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?

a)

192,000

b)

1,920,000

c)

19,200,000

d)

32,000

45.

Using Run Length Encoding, what would be the correct representation of the top line of this image?

a)

4B, 33W, 4B

b)

8B, 33W

c)

B4, W33, B4

d)

4 0, 33 1, 4 0

46.

When is Run Length Encoding not very effective?

a)

When there are lots of the same colour pixels in a row

b)

When there are lots of colour changes in a row

c)

When there are only two colours per row

d)

When there are lots of colours in runs on the same row