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
What is a variable?
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 Wayground
16 questions
Iteration Recap

Quiz
•
8th - 9th Grade
15 questions
Understanding Data Types in Python Quiz

Quiz
•
9th Grade
12 questions
Python Programming Basics

Quiz
•
7th - 11th Grade
12 questions
Lesson 9 - The internet

Quiz
•
8th Grade
10 questions
Python Variables

Quiz
•
7th - 12th Grade
14 questions
PYTHON

Quiz
•
9th Grade
17 questions
Python KS3

Quiz
•
8th Grade
10 questions
Lesson 1 Python I Review

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade