What is a variable?
Data types and Input

Quiz
•
Computers
•
7th - 9th Grade
•
Medium
M Dwedari
Used 36+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A word used in a program to refer to an area of computer memory where data used in the program will be store
A label used to refer to an area of the school where books have been stored
When a program repeats a section of code
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
We define a variable when we assign a value to the variable identifier (variable name).
For example:
In python, if a question asks to assign the value John to a variable called name, it means that I need to write:
name="John"
False
True
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Problem assign number 5.0 to a variable called 'price'
Solution: in Python, I can code it using ...
score == 5
score = 5.0
number = 50
score = "5.0"
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
price = 8.2
In python, what is the type of Price Variable ?
float / real
integer
string
boolean
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
postcode= "BL1 2AA"
What is the type of Postcode Variable ?
float
real
string
integer
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Problem: assign the number 60 to a variable called 'students'.
remember: later in the code, I may need to add or multiply this number.
Solution: in Python, I can code it using ...
students= 60
students= 60.0
number = 50
students= "60"
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
age= 18
What is the type of Age Variable ?
float / real
integer
string
boolean
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Computer Science - Python

Quiz
•
9th - 12th Grade
15 questions
Edublocks yr 8

Quiz
•
7th Grade
15 questions
Intro to Small Basic

Quiz
•
KG - 7th Grade
14 questions
Variables and Data Types

Quiz
•
8th Grade
16 questions
Python - Variables and Input

Quiz
•
1st - 10th Grade
10 questions
Homework 3- Python

Quiz
•
8th Grade
15 questions
Quiz 143 - Python Data Types and Numbers

Quiz
•
9th Grade
18 questions
Computer Science (Python)

Quiz
•
9th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade