Python Casting and Input
Quiz
•
Computers
•
8th - 11th Grade
•
Hard
Mr Hoplar
Used 59+ 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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Windows 10 Basics
Quiz
•
9th - 12th Grade
20 questions
Online Platform Block Q
Quiz
•
11th - 12th Grade
15 questions
Chapter 3: Storage devices and media (Part 2):
Quiz
•
10th - 11th Grade
15 questions
[RB3-Ch9] Application of Computers
Quiz
•
8th Grade
15 questions
11° Evaluación bimestral de informática
Quiz
•
11th Grade
10 questions
Quiz 9 (15.09.2021)
Quiz
•
1st - 12th Grade
20 questions
Grade 8 Software Quiz
Quiz
•
8th Grade
10 questions
Տեքստային խմբագրիչներ 8-րդ դասարան
Quiz
•
8th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
