Data types and Input
Quiz
•
Computers
•
7th - 9th Grade
•
Practice Problem
•
Medium
M Dwedari
Used 37+ times
FREE Resource
Enhance your content in a minute
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable?
A memory location we use it to store a value that can change during the execution of a program
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
To assign a value to a variable we use the "=" sign> e.g :
name="John"
False
True
3.
MULTIPLE CHOICE QUESTION
0 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
0 sec • 1 pt
price = 8.2
In python, what is the type of Price Variable ?
float / real
integer
string
boolean
5.
MULTIPLE CHOICE QUESTION
0 sec • 1 pt
postcode= "BL1 2AA"
What is the type of Postcode Variable ?
float
real
string
integer
6.
MULTIPLE CHOICE QUESTION
0 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
0 sec • 1 pt
age= 18
What is the type of Age Variable ?
float / real
integer
string
boolean
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
16 questions
SUMATIF 1
Quiz
•
7th Grade
10 questions
Youtubers Charlie.C-J
Quiz
•
3rd - 9th Grade
19 questions
HTML Concepts and Terms Review Game
Quiz
•
6th - 8th Grade
12 questions
The effects of using ICT
Quiz
•
7th Grade
17 questions
Networks Lesson 2 - Recap and Review
Quiz
•
6th - 8th Grade
18 questions
Publisher Basics
Quiz
•
7th - 10th Grade
10 questions
Pengolah Angka
Quiz
•
7th Grade
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
