stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Programming Concepts GCSE Flashcards | StudBud
Explore
/
Programming Concepts GCSE
What is a Float?
What is an integer?
Programming Concepts GCSE
13 terms
·
StudBud Administration
·
806 plays
Imported from external platform
Flashcards
13 cards
F
Practice quiz
P
Host live
L
Questions
13
Answers
1
What is an integer?
Whole number
set of characters
True or False
decimal numbers
2
What is a Float?
Decimal numbers
True or False
set of characters
Whole number
3
What is a syntax error?
An error when you download it.
An error with loading up a new file.
The code still runs, but not as you expect.
An error with the characters. Does not match the language.
4
What would be the output if the user enters -
Male 15
£6.15
£0.00
£5.55
£7.25
5
On which line is the iteration starting?
1
2
5
4
6
On which line is there a syntax error?
11
8
5
6
7
What is a variable?
Repeating a section of code
A way of putting code in the correct order.
A way of preventing the user from entering invalid inputs
A location in memory which can hold one value at a time.
8
What is concatenation?
Having multiple loops within a program.
Using the same naming convention for variables.
Joining strings together within a print statement.
Changing data types of variables.
9
Which of these pieces of code contains a comparison operator?
for x in range (23):
name = "Jonny B Goode"
print (7*9)
if age != 6:
10
In what mode has the text file been opened in?
Adding
Append
Read
Write
11
Which one of these should be a constant instead of a variable?
age=16
shoeSize=9
score=7
pi=3.14
12
On which line has casting occurred?
3
13
16
9
13
A for loop is an example of...
2 dimensional array
Nested selection statement
A condition controlled loop.
A count controlled loop.