wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Massive GCSE Computer Science Quiz

Total questions: 61

Worksheet time: 31mins

Name
Class
Date
1.

Which python command assigns the value of the user input to the variable userName

a)

userName = answer("What is your name?")

b)

userName = print("What is your name?")

c)

userName = input("What is your name?")

d)

input("What is your name?") = userName

2.

Which python statement assigns a numerical value input by a user and stores it in a variable of data type integer

a)

num = input("Enter a number")

b)

num = str(input("Enter a number"))

c)

num = int(input("Enter a number"))

d)

input("Enter a number") = num

3.

"A named place to store a value that can change" is called a ...

a)

Subroutine

b)

Variable

c)

Constant

d)

Operator

4.

A boolean data type hold what type of data?

a)

Whole number

b)

A group of characters

c)

Single Character

d)

True/ False

5.

A string data type hold what type of data?

a)

Whole number

b)

A group of characters

c)

Single Character

d)

True/ False

6.

Concatenation is...

a)

Stripping characters from text

b)

Concentrating very hard on coding

c)

Joining together two or more strings

d)

Changing an number to text

7.

Giving a value to a variable is know as what

a)

Assignment

b)

Casting

c)

Concatenation

d)

Input Sanitisation

8.

A WHILE loop is...

a)

Condition Controlled

b)

Count Controlled

c)

Uncontrolled

d)

Strongly Controlled

9.

In if...elif...else statement in python uses which programming concept?

a)

Sequence

b)

Selection

c)

Iteration

d)

Proliferation

10.

In programming, casting is...

a)

Creating a collection of variables

b)

Converting one data type to another

c)

Joining together multiple strings

d)

Doing impressive magic

11.

An array is...

a)

Data structure that contains multiple items of data of the same data type. Data is indexed so that a particular item can be easily found.

b)

Data structure that contains multiple items of data that may be of different data types. Data is indexed so that a particular item can be easily found.

12.

What is the value of x?


x = 16 MOD 5

a)

3

b)

1

c)

3.2

d)

21

13.

What is the value of x?

x = 16 DIV 5

a)

1

b)

3

c)

3.2

d)

11

14.

Pseudocode is a

a)

High Level Programming Language

b)

Spoken code

c)

Method of expressing an algorithm in structured English

d)

Method of encrypting code

15.

The repeated execution of a section of code when a program is running is known as...

a)

Sequence

b)

Selection

c)

Iteration

d)

Subroutine

16.

A type of error that occurs when a rule of the programming language code is broken?

a)

Syntax error

b)

Logic error

c)

Run-time error

d)

Program error

17.

Which data type would be used in Python to store the value of pi to 2 decimal places?

a)

Integer

b)

Float

c)

Boolean

d)

String

18.

In what way is a constant different from a variable?

a)

It can not change its value during program execution

b)

It can store more than one value

c)

It can only be used in the global scope

d)

Its name must be written in UPPER CASE

19.

What was the first computer game?

a)

Tetris

b)

Tennis

c)

Car race

d)

Puzzle

20.

Choose all the recognised control structures in a computer program ...

a)

Sequence

b)

Selection

c)

Iteration

d)

Duplication

21.

Example of ... ?

a)

Selection

b)

Repetition

c)

Sequence

d)

Iteration

22.

Example of ...?

a)

Conditional loop

b)

Unconditional loop

c)

Selection

d)

Sequence

23.

Example of ...?

a)

Nested selection

b)

Nested loop

c)

Repetition

d)

Iteration

24.

Type of loop to use when the number of repetitions is known before the loop starts?

a)

FOR ... loop

b)

WHILE ... loop

c)

FOR ... EACH ... loop

d)

REPEAT ... UNTIL ...

25.

An error in the way a program works where program can run but does not do what it is expected to do is called a ...

a)

Logic error

b)

Syntax error

c)

Runtime error

d)

Catastrophe

26.

What software is this?

a)

Pirate

b)

Animator

c)

Pivot

d)

Quick Animator

27.

What is the point of binary?

a)

It represents how computers interpret electrical signals

b)

Because we like to make you do extra maths ;-D

c)

Cleverness

d)

Because it describes star systems

28.

Which of the following is an output device?

a)

Mouse

b)

Monitor

c)

Keyboard

d)

Microphone

29.
When was the Playstation first released
a)
1991
b)
1994
c)
1999
d)
2004
30.

Define the term ‘Algorithm’

a)

The process of filtering out the characteristics of problems that are not needed in order to concentrate on those that are needed

b)

An algorithm is a set of steps/instructions needed to complete a software task.

c)

The process of breaking down a complex problem into a series of more manageable problems

d)

Identifying patterns

31.

What type of flowchart symbol is this?

a)

Start/ End (terminator)

b)

Process

c)

Input/ Output

d)

Decision

32.

What type of flowchart symbol is this?

a)

Start/ End (terminator)

b)

Process

c)

Input/ Output

d)

Decision

33.

What type of flowchart symbol is this?

a)

Start/ End (terminator)

b)

Process

c)

Input/ Output

d)

Decision

34.

What type of flowchart symbol is this?

a)

Start/ End (terminator)

b)

Process

c)

Input/ Output

d)

Decision

35.

What value would be output if a = 2 and b = 4?

a)

4

b)

12

c)

2

d)

1

36.

In a flowchart, what is the purpose of an arrow?

a)

To show where the inputs and outputs occur

b)

To show the flow from one component to the next

c)

To show where iteration happens

37.

Which of these is the correct definition of sequence?

a)

Sequence are glittery objects sewn onto a dancing dress.

b)

Sequence means that the same statements are repeated in the program.

c)

Sequence means that program statements are set out one after another

d)

Making a decision, the outcome of which will determine what happens next

38.
What's the name of the highly addictive Russian puzzle game where you fit coloured shapes to make a wall 
a)
Tetris
b)
The Russian Front
c)
Minesweeper
d)
Puzzled
39.

COMPUTATIONAL THINKING is...

a)

thinking like a computer

b)

a systematic approach to solving problems.

c)

writing computer programs

d)

writing binary code

40.

Breaking a complex problem down into smaller, more manageable parts is called..

a)

Decomposition

b)

Abstraction

c)

Programming

d)

Algorithmic Thinking

41.

The process of removing unnecessary information and focusing on the important details.

a)

Decomposition

b)

Abstraction

c)

Programming

d)

Algorithmic Thinking

42.

The process of developing an algorithm to solve a problem is known as...

a)

Decomposition

b)

Abstraction

c)

Programming

d)

Algorithmic Thinking

43.
Which of these is an example of decomposition?
a)
Breaking the problem of organising a cake sale into smaller parts, such as who will bake the cakes and when to hold the cake sale.
b)
Taking the problem of baking a cake and thinking about how we can make it the best cake possible.
c)
Looking at what different kinds of cake can be made.
44.

Which of the following is NOT a computational thinking technique?

a)

Decomposition

b)

Abstraction

c)

Coding

d)

Algorithmic Thinking

45.

What is an Algorithm?

a)

A chart showing the flow of a series of events

b)

A precise step-by-step solution to a problem

c)

A decision arrived at by following instructions

d)

A computer program that follows a chart

46.
Which company makes the X-Box?
a)
Sony
b)
Nintendo
c)
Microsoft
d)
Apple
47.
Convert 65 to binary
a)
01100001
b)
00100001
c)
01000001
d)
00100101
48.

What does a range check do?

a)

Checks data across a range of numbers

b)

Checks the data is within an acceptable range

c)

Where three types of data are used

d)

Checks that the data is in the correct format

49.

Converts either a high level language or a low level language into machine code

a)

Translator

b)

High level language

c)

Low level language

d)

Machine code

50.

A translator for high level code that translates code all at once into machine code

a)

Assembler

b)

Compiler

c)

Interpreter

d)

Programmer

51.

A translator for high level code that translate codes as the program is being run.

a)

Compiler

b)

Interpreter

c)

Assembler

d)

Programmer

52.

Pauses a program to give developers the chance to examine variables and their values

a)

Code Editor

b)

Run time environment

c)

Error Diagnostics

d)

Breakpoints

53.

Text area used to enter code in an IDE.

a)

Breakpoints

b)

Code Editor

c)

Error Diagnostics

d)

Run time environment

54.
Which type of sort algorithm is this?
a)
Bubble
b)
Merge
c)
Insertion
55.
Which type of sort algorithm is this?
a)
Bubble
b)
Merge
c)
Insertion
56.
Which of these is NOT a Sort algorithm
a)
Binary
b)
Merge
c)
Bubble
d)
Insertion
57.
Which of the following is NOT an advantage of a bubble sort?
a)
It is a very small and simple computer program
b)
There is only one task to perform
c)
It is very quick
58.
What logic gate is this?
a)
AND
b)
OR 
c)
NOT
d)
TO
59.
What logic gate is this?
a)
AND 
b)
OR 
c)
NOT 
d)
THE
60.
What logic gate is this?
a)
OR
b)
NOT
c)
AND 
d)
THE
61.
Who is this character?
a)
Mario
b)
Luigi
c)
Link
d)
Zelda