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