stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Duplicate of OCR GCSE Computer Science(9-1) - Programming Flashcards | StudBud
Explore
/
Duplicate of OCR GCSE Computer Science(9-1) - Programming
Duplicate of OCR GCSE Computer Science(9-1) - Programming
25 terms
·
StudBud Administration
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
A Procedure will return a value
True
False
2
Statements are executed a set amount of times or until a condition is met.
Selection
Compiling
Iteration
Sequence
3
What is the Value of X when: X = 64 DIV 5
13
12.8
4
12
4
Which of these is NOT an operation that can be used on a text file in a program?
Write
Read
Print
Append
5
True or False?
True
False
6
A Function will return a value
False
True
7
A While loop is known as a....
Count Controlled Loop
Recursive Loop
Condition Controlled Loop
Infinite Loop
8
What is the value of "num" at the end of the program?
6
5
11
56
9
Identify a parameter given in this image?
total
n
Average
avg
10
True or False?
True
False
11
Best data type to store a phone number
String
Integer
Float
Boolean
12
A For Loop is known as...
Condition Controlled Loop
Count Controlled Loop
Recursive Loop
Infinite Loop
13
The next statement to be executed depends on whether a condition being tested is True or False
Sequence
Selection
Iteration
Translating
14
Which of these is NOT a type of Iteration?
Repeat Until
For Next
Do While
Do
15
A Constant is a Variable
False
True
16
Statements are executed in the order they are written.
Iteration
Interpreting
Sequence
Selection
17
Best data type to store currency?
String
Integer
Boolean
Float
18
The image shows a 2D array called mark. What is output from mark[2][1]?
06
15
16
05
19
A Local variable....
can be used by all parts of the program
is saved on the same network
can only be used by the subroutine that they are part of
is not something that should be used
20
A Global variable....
can only be used by the subroutine that they are part of
can be used by anyone in the world
is not something that should be used
can be used by all parts of the program
21
What is the Value of X when: X = 64 MOD 5
12.8
13
4
12
22
The image shows a 2D array called mark. What is output from mark[3][5]?
10
13
18
Error
23
The image shows a 2D array called mark. What is output from mark[0][4]?
17
15
07
05
24
A Constant...
can only be used once
doesn't change while the program is running
is a variable
never changes
25
Name the data structure that lets you hold several variables, all the same type, with one name?
Array
Record
List
File