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