CIE IGCSE Computer Science Paper 2

CIE IGCSE Computer Science Paper 2

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Iain Attenborough

Used 114+ times

FREE Resource

Student preview

quiz-placeholder

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these is not a code data type

integer

boolean

text

character

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these is not a database data type

character

number

yes/no

currency

text

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Which line of pseudocode has a logical error when inputting 50 numbers and totalling/outputting the sum of those numbers that were under 100.

total <- 0

FOR count <- 1 TO 50

IF num <= 100

total <- total + num

OUTPUT "The total of matching numbers was:", total

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What would the fifth entry in the total column be in a trace table on a dry-run of the pseudocode shown below if the inputted numbers started with 64, 36, 103, 24, 102, 107, 15, 23, 84, …

124

226

231

139

15

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these statement type match ups is incorrect?

Iteration: FOR count <- 1 TO 100 …. NEXT COUNT

Totalling: x <- x + 1

Assignment: name <- "Fred"

Output: PRINT total

Selection: CASE OF x …. OTHERWISE… ENDCASE

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these programming definitions is least complete/sufficient?

Variable: A simple data-structure that consists of a named memory whose value can change during the runtime of the program.

Constant: A simple data structure that consists of a named memory whose value cannot change during the runtime of the program

Array: A compound data-structure to store a group of variables together as a single item

Counting: The process of adding one repeatedly to a variable to count the number of occurrences of an event

Sequencing: The principle that each executed line of code leads to the next line of code in an ordered and sequential fashion unless control flow such as looping/branching or procedure calls occur.

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Tabitha wants to find the largest number in an array of 30 integers called Nums. On what line has she made a mistake?

Line 1

Line 2

Line 3

Line 4

Line 8

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?