stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
OCR GCSE Computer Science(9-1) - Programming Yr11 2023 Flashcards | StudBud
Explore
/
OCR GCSE Computer Science(9-1) - Programming Yr11 2023
OCR GCSE Computer Science(9-1) - Programming Yr11 2023
25 terms
·
StudBud Administration
·
65 plays
A Computer Science Quiz for the OCR GCSE(9-1) that focuses on Programming Concepts.
Flashcards
25 cards
F
Practice quiz
P
Host live
L
Questions
25
Answers
1
Which sum shows X = 3 multiplied by 5 in OCR Ref Language?
X = 3 x 5
X = 3 ^ 5
X = 3 * 5
X == 3 * 5
2
Which identifier represents a constant?
circumference
radius
PI
area
3
What is the best data type to store currency?
Integer
Boolean
String
Float
4
The image shows a 2D array called mark. What is output from mark[3][5]?
13
18
Error
10
5
Which sum show X = 3
2
( 3 squared) in OCR Ref Language?
X = 3 SQR 2
X = 3 * 2
X = 3^2
X = 3 MOD 2
6
Name the data structure that lets you hold several variables, all the same type, with one name?
Array
File
Variable
Record
7
Which term means "The next statement to be executed depends on a condition being True or False"
Selection
Iteration
Sequence
Translating
8
What is the Value of X when: X = 14 DIV 5
2
20
19
4
9
A Function will return a value
True
False
10
Identify a parameter given in this image?
Average
avg
total
n
11
Which term means "Statements are executed a set amount of times or until a condition is met".
Selection
Sequence
Compiling
Iteration
12
The image shows a 2D array called mark. What is output from mark[1][0]?
05
16
06
15
13
A program asks user to input an integer 1 to 10. Which test data is boundary?
10
1
"Fred"
5
14
A program asks user to input an integer 1 to 10. Which test data is erroneous?
5
"Fred"
1
10
15
The image shows a 2D array called mark. What is output from mark[0][4]?
15
17
07
05
16
A Procedure will return a value
False
True
17
A While loop is known as a....
Recursive Loop
Infinite Loop
Count Controlled Loop
Condition Controlled Loop
18
A Constant...
can only be used once
never changes
is a variable
doesn't change while the program is running
19
Which term means "Statements are executed in the order they are written".
Iteration
Interpreting
Sequence
Selection
20
A For Loop is known as...
Count Controlled Loop
Infinite Loop
Recursive Loop
Condition Controlled Loop
21
Identify which are functions
Both get_name( ) and addNumbers( ) are functions
Neither get_name( ) or addNumbers( ) are functions
addNumbers( ) is a function but get_name( ) is a procedure
get_name( ) is a function but addNumbers( ) is a procedure
22
What is the Value of X when: X = 64 MOD 5
13
12.8
12
4
23
Is the condition True or False?
True
False
24
Is the condition True or False?
True
False
25
What is the best data type to store a phone number
String
Float
Integer
Boolean