View as PDF

England GCSE Computer Science Edexcel · Unit 1 · 25 questions

Computational Thinking and Algorithms — Practice Test

This practice test was made by AI and there may be mistakes. If a question or answer looks wrong, use the Flag a mistake button to let Brett know so he can fix it.

1

A smartphone searches a sorted list of songs for one title. Which search rules out half the list at each step?

Understand It with Pulse
2

A laptop runs a search to find a file by name. The files are not in any order. Which search should it use?

Understand It with Pulse
3

A tablet shows a flowchart for a quiz. Which symbol shows data going into the quiz?

Understand It with Pulse
4

A robot plan is drawn as a flowchart. Which symbol shows the start of the plan?

Understand It with Pulse
5

A keyboard is used to plan an algorithm. Which of these is a way of representing the algorithm?

Understand It with Pulse
6

A games console program counts how many numbers in the list 5, 15, 8, 22 are greater than 10. What is the count?

Understand It with Pulse
7

A bubble sort sorts a list of 4 items. How many passes does it need at most?

Understand It with Pulse
8

What is decomposition?

Understand It with Pulse
9

How can the efficiency of two algorithms be compared?

Understand It with Pulse
10

How does an insertion sort work?

Understand It with Pulse
11

What is an advantage of a linear search?

Understand It with Pulse
12

In a flowchart, what do the arrows between symbols show?

Understand It with Pulse
13

A program counts how many numbers in the list 100, 50, 1 are greater than 10. What is the count at the end?

Understand It with Pulse
14

Which of these is a way of representing an algorithm?

Understand It with Pulse
15

What is an advantage of a merge sort?

Understand It with Pulse
16

A linear search checks a list of 18 items. What is the most items it can check before it finishes?

Understand It with Pulse
17

A program sets total to 0, then adds each number in the list 8, 8, 8 in turn. What is the value of total at the end?

Understand It with Pulse
18

A bubble sort makes its first pass over the list 6, 2, 5, 1, comparing each pair of neighbours and swapping them if they are in the wrong order. How many swaps are made in this pass?

Understand It with Pulse
19

A binary search checks a sorted list of 16 items. After one check, at most how many items can still need checking?

Understand It with Pulse
20

A binary search checks a sorted list of 32 items. After one check, at most how many items can still need checking?

Understand It with Pulse
21

In a bubble sort, which items are compared?

Understand It with Pulse
22

In Edexcel pseudocode, what does RETURN do in a subroutine?

Understand It with Pulse
23

A binary search checks a sorted list of 32 items. After two checks, at most how many items can still need checking?

Understand It with Pulse
24

A bubble sort sorts a list of 6 items. How many passes does it need at most?

Understand It with Pulse
25

What is an algorithm?

Understand It with Pulse