Fetch
Decode
Explain
Activities
Flashcards
Exam Questions
Revise
Blog
Contact
Login
Login
Menu
Activities
Flashcards
Exam Questions
Revise
Blog
Contact
Login
Flashcards
KS3 Computing
Python Programming
Variables
Card
1
of
15
0
got it
0
still learning
Question
Evil question
Tap
Click or press space
to see the answer
Answer
Still learning
Got it
Turn over
Shuffle
0%
Round complete
Go again with the ones I'm still learning
Start the whole set again
Choose another set
All 15 cards in this set
What is meant by an identifier?
The name given to a variable in a program
Which term describes the rule that message and Message are treated as two different names in a program?
Case sensitive
What is meant by the value of a variable?
The data that is held inside a variable while the program runs
What is placed around a text value such as the word Hull when it is stored in a variable?
Quotation marks
A program contains the line city = 'Hull'. Which term describes the word city?
The identifier
What is a variable in a program?
A named space in memory that stores data
What does the equals sign do in the line temperature = 18?
It sets the value that the variable holds
Which of these could be used as an identifier in Python?
ScoreOne
A program contains score = 10 and then Score = 20. What is stored in the variable score?
10
What is stored in the variable a at the end of this program?
25
What is stored in temperature after the second line of this program runs?
19
Variables are often used to keep a score in a quiz. Why is a variable suitable for this?
Its value can be changed while the program runs
A program has the line name = 'Elizabeth'. Which line uses the value stored in the variable name?
print(name)
A programmer wants the variable temperature to store the number 18. Which line does this?
Temperature = 18
What is stored in the variable score at the end of this program?
9