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