
User Input in Python
Quiz
•
Information Technology (IT)
•
9th Grade
•
Medium
Saifeddin Alghlayini
Used 17+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What function do you need to call to ask the user of the program to enter text?
input()
read()
text()
print()
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
After a program takes information from a user, where is this information typically stored?
In a database.
In a variable.
In a separate file.
In the program's output console.
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What type does input() return by default?
Integer
Float
String (text)
Boolean
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which function can be used to convert a string (text) received from user input into an integer, allowing for mathematical operations?
str()
float()
convert()
int()
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which line of code correctly stores a number entered by the user?
num = input("Enter number: ")
num = int(input("Enter number: "))
num = str(input("Enter number: "))
num = float()
Similar Resources on Wayground
10 questions
Pengenalan Algoritma
Quiz
•
10th Grade
10 questions
PT101: Quiz No. 1
Quiz
•
University
10 questions
Asesmen Sumatif Pengetahuan TJKT
Quiz
•
11th Grade
10 questions
Uji Pengetahuan Keamanan Data
Quiz
•
9th Grade
10 questions
SQL PRE-ASSESSMENT (MOTIVATION)
Quiz
•
University
10 questions
Evaluasi Percabangan C
Quiz
•
10th Grade
10 questions
AP CK CyberSecurity Unit 3
Quiz
•
12th Grade
10 questions
PDS - 3DS - entrada do usuário com Python
Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
13 questions
Halloween Trivia
Quiz
•
9th Grade
12 questions
Graphing Inequalities on a Number Line
Quiz
•
9th Grade
20 questions
Cell Organelles
Quiz
•
9th Grade
20 questions
Cell Transport
Quiz
•
9th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
20 questions
Translations, Reflections & Rotations
Quiz
•
8th - 10th Grade
