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