Python Casting and Input
Quiz
•
Computers
•
8th - 11th Grade
•
Practice Problem
•
Hard
Mr Hoplar
Used 66+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the process of converting one data type to another called?
Data conversion.
Type Casting.
Type Conversion.
Concatenation.
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What function converts the data in a variable into a 'integer'?
int()
str()
bool()
float()
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What function converts the data in a variable into a 'float'?
int()
flt()
bool()
float()
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What function converts the data in a variable into a 'string'?
str()
float()
bool()
string()
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What does this built-in function do?
input()
Opens the CD tray.
Prompts the user to enter data.
Displays the word 'input'.
Exits the program.
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How do you ask for the user to input their name?
name = int("what is your name")
print("What is your name?")
input = name("what is your name?")
name = input("what is your name?")
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
By default any data inputted by the user is of data type string in python.
True
False
Create a free account and access millions of resources
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
ZOOM QUIZ
Quiz
•
1st - 12th Grade
10 questions
TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN
Quiz
•
11th Grade
10 questions
Microsoft Word
Quiz
•
6th Grade - University
10 questions
hardware and software(g3)
Quiz
•
2nd - 10th Grade
10 questions
Microcontroller
Quiz
•
11th Grade - University
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
13 questions
9G4 CS Python Programming Sequence and Vocabs
Quiz
•
9th Grade
10 questions
ICT 9 Quiz 1
Quiz
•
9th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd 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
