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