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
10 questions
Variables and Data Types

Quiz
•
3rd - 10th Grade
14 questions
Variables and Data Types

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

Quiz
•
1st - 10th Grade
10 questions
Grade 7 & 8 First quiz term 3

Quiz
•
7th Grade
13 questions
python

Quiz
•
9th Grade
16 questions
Variables, Inputs and Concatenation

Quiz
•
9th Grade
12 questions
Python 201 Lessons 2&3 Vocab

Quiz
•
6th - 8th Grade
14 questions
Python Basic Unit 1

Quiz
•
7th - 8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade