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