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