Introduction to Python - Input, Output and Math

Quiz
•
Computers
•
1st - 6th Grade
•
Easy
Khadeeja Haji
Used 9+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To get user input in Python you use the command ..................
insert
input
add
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one is the right way to get input from the user?
print("Type your name: ")
int("Type your name: ")
name = input("Type your name: ")
"Type your name: "
Answer explanation
To get information from the user, the command we use is called INPUT
The right way to use the input command is:
yourVariableName = input("Tell the user what you want them to type in these quotations: ")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output?
name = "Dave"
print (name)
Dave
'Dave'
name
(name)
4.
FILL IN THE BLANK QUESTION
3 mins • 2 pts
What can you put in the blank to output 5?
variable = 5
print(___________)
5.
OPEN ENDED QUESTION
3 mins • 2 pts
Make a variable called num that has the value 500
Evaluate responses using AI:
OFF
Answer explanation
To make a variable, we need to write the name of the variable, in this case num then an = and then what we want to put in it:
num = 500
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What's the output for this code:
a = 5
b = 3
print(a+b)
8
2
4
1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output for this code?
a = 2
b = 3
print(a**b)
a**b
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python basics

Quiz
•
6th - 8th Grade
10 questions
Python Plus : Rock, Paper, Scissors

Quiz
•
6th - 8th Grade
15 questions
Python Programming

Quiz
•
5th Grade - University
8 questions
Python

Quiz
•
KG - 9th Grade
11 questions
variable

Quiz
•
KG - 5th Grade
10 questions
6 сынып PYTHON тілінде программалау

Quiz
•
1st Grade
10 questions
Python Statements

Quiz
•
5th - 7th Grade
15 questions
Python Quiz

Quiz
•
3rd - 4th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
12 questions
3-5 Digital Citizenship: Appropriate Use

Quiz
•
3rd - 5th Grade
10 questions
Keyboard Typing

Quiz
•
4th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
16 questions
Input and Output devices

Quiz
•
5th Grade