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
10 questions
Python-Code Right or Wrong
Quiz
•
7th - 8th Grade
12 questions
S3 Python 1
Quiz
•
8th - 10th Grade
10 questions
Python Inputs
Quiz
•
7th - 8th Grade
8 questions
Variables in Python
Quiz
•
8th Grade
12 questions
Computer Systems - How the web works - Lesson 7
Quiz
•
8th Grade
10 questions
Python Programming
Quiz
•
7th - 9th Grade
10 questions
Python User Input Quiz
Quiz
•
6th Grade - University
10 questions
KS4 Programming Techniques (1)
Quiz
•
8th - 10th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
44 questions
El fin del año- 7th
Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary
Quiz
•
8th Grade
17 questions
guess the logo
Quiz
•
8th Grade
16 questions
Function or Non-Function?
Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons
Quiz
•
8th Grade