What is missing from this input statement?
input ("What is your name? ")
User Input in Python
Quiz
•
Computers
•
8th Grade
•
Hard
Mr. So
Used 235+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is missing from this input statement?
input ("What is your name? ")
the answer
a variable to store the input
an output
print =
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the following code:
name = input ("What is your name? ")
print (name)
What would be printed from the print command?
whatever the user wrote
name
Andre
What is your name?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the following code:
name = input ("What is your name? ")
name = input ("What is your age? ")
print (name)
If the user answered "John" to the first question and "23" to the second, what will be printed?
23
John
name
an error message
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the following code:
name = input ("What is your name? ")
age = input ("What is your age? ")
print (name)
If the user answered "John" to the first question and "23" to the second, what will be printed?
23
John
name
an error message
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the following code:
name = input ("What is your name? ")
name = input ("What is your age? ")
print (age)
If the user answered "John" to the first question and "23" to the second, what will be printed?
23
John
age
an error message
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the following code:
name = input ("What is your name? ")
name = input ("What is your age? ")
print ("name")
If the user answered "John" to the first question and "23" to the second, what will be printed?
23
John
name
an error message
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the following code:
name = input ("What is your name? ")
name = input ("What is your age? ")
If the user answered "John" to the first question and "23" to the second, what type of data is in name?
str
int
float
none of the above
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the following code:
name = input ("What is your name? ")
age = input ("What is your age? ")
If the user answered "John" to the first question and "23" to the second, what type of data is in age?
str
int
float
none of the above
12 questions
Computer Systems - How the web works - Lesson 7
Quiz
•
8th Grade
10 questions
Intro to Python
Quiz
•
8th Grade
7 questions
Python Data Types and Arithmetic Quiz
Quiz
•
8th Grade
10 questions
Python-Code Right or Wrong
Quiz
•
7th - 8th Grade
13 questions
Entry Level - Programming Techniques
Quiz
•
8th - 9th Grade
11 questions
Quiz on variables
Quiz
•
6th - 8th Grade
10 questions
Programming - Test Data
Quiz
•
3rd - 11th Grade
12 questions
Mathematical Operators in Python
Quiz
•
8th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
10 questions
Identify Slope and y-intercept (from equation)
Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
15 questions
Volume Prisms, Cylinders, Cones & Spheres
Quiz
•
8th Grade
26 questions
June 19th
Quiz
•
4th - 9th Grade
25 questions
Argumentative Writing & Informational Text Vocabulary Review
Quiz
•
8th Grade
18 questions
Informational Text Vocabulary
Quiz
•
7th - 8th Grade