
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
Latihan Soal #1
Quiz
•
12th Grade
10 questions
Câu lệnh rẽ nhánh
Quiz
•
10th Grade
10 questions
Aula 5
Quiz
•
9th - 12th Grade
10 questions
QUIS SISTEM KOMPUTER/OS/SISTEM OPERASI
Quiz
•
10th Grade
10 questions
Tin 7 Bài 8
Quiz
•
7th Grade - University
10 questions
Melaka 2024
Quiz
•
University
10 questions
DFC20283 CHAPTER 5 (5.1.6-5.1.9)
Quiz
•
University
10 questions
ASESMEN AWAL MATERI PENGOLAH KATA
Quiz
•
12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
10 questions
Exploring Christmas Traditions Through Cartoons
Interactive video
•
6th - 10th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
20 questions
Name That Tune Christmas Edition
Quiz
•
6th - 9th Grade
