Python Input

Quiz
•
Computers
•
11th Grade
•
Medium

Michael Alves
Used 2+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function is used to retrieve text from the user?
input
variable
int
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of variable is used to store the text retrieved from the user?
float
int
string
boolean
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when the input function is called?
It stores the text in a variable
It converts a string into an integer
It prints a prompt and retrieves text from the user
It performs a mathematical operation
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function is used to convert a string into an integer?
variable
input
int
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the type of the variable when the user enters a number without using a number function?
boolean
float
string
int
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the int function do?
It prints a prompt and retrieves text from the user
It converts a string into a decimal number
It stores the text in a variable
It converts a string into a whole number
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the int function do when given the string '22'?
It converts it into an integer
It converts it into a boolean
It converts it into a string
It converts it into a float
Similar Resources on Wayground
10 questions
Conditionals - codeHS mod4

Quiz
•
9th - 12th Grade
10 questions
Introducing Python Strings

Quiz
•
11th Grade
11 questions
Learning Variables

Quiz
•
9th - 12th Grade
12 questions
CodeHS 3.5 String Methods

Quiz
•
9th - 12th Grade
10 questions
Python Numbers

Quiz
•
11th Grade
10 questions
APCSA - Unit 3

Quiz
•
9th - 12th Grade
10 questions
Java Exceptions

Quiz
•
11th - 12th Grade
11 questions
Project STEM AP CS A Unit 1 Quiz Review

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade