
User Input in Python
Quiz
•
Information Technology (IT)
•
9th Grade
•
Practice Problem
•
Medium
Saifeddin Alghlayini
Used 17+ times
FREE Resource
Enhance your content in a minute
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()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Sistem Operasi 25
Quiz
•
12th Grade - University
10 questions
perangkat keras
Quiz
•
7th Grade - University
10 questions
Syntax Dasar C++ #1
Quiz
•
11th Grade
10 questions
Latsol
Quiz
•
10th Grade - University
10 questions
HTML DASAR
Quiz
•
11th Grade
10 questions
Ulangkaji PB Teori (Ujian 2) Set B
Quiz
•
University
10 questions
แบบทดสอบซัพพลายเชนเบื้องต้น
Quiz
•
6th Grade - University
10 questions
3TDS - Programação Mobile - Recuperação 2
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
10 questions
Theme
Quiz
•
9th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade
20 questions
Exponent Rules Review
Quiz
•
8th - 9th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade
