Data types and Input
Quiz
•
Computers
•
7th - 9th Grade
•
Practice Problem
•
Medium
M Dwedari
Used 36+ 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 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
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
MORE ON CSS3
Quiz
•
7th Grade
10 questions
CSS9_Q3M2L1_QUIZ3
Quiz
•
9th Grade
14 questions
Pre-test: On Online searching by Innovative Teaching Ideas)
Quiz
•
6th - 12th Grade
19 questions
R088 - LO1
Quiz
•
9th Grade
13 questions
Melody Tone
Quiz
•
9th Grade
10 questions
python quiz
Quiz
•
6th Grade - Professio...
10 questions
Device and Network Security
Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Company Logos
Quiz
•
6th - 8th Grade
13 questions
PowerPoint Basics
Quiz
•
6th - 8th Grade
10 questions
App Creators Lesson 2.1-2.4
Quiz
•
8th Grade
10 questions
Exploring Computer Science Careers and Subfields
Interactive video
•
6th - 10th Grade
23 questions
Prog 1 Python Q1 Practice
Quiz
•
9th - 12th Grade
