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