Python Casting and Input
Quiz
•
Computers
•
8th - 11th Grade
•
Practice Problem
•
Hard
Mr Hoplar
Used 60+ 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
14 questions
4th quarter 2nd summative
Quiz
•
10th Grade
17 questions
Security and Ethics
Quiz
•
9th - 12th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
15 questions
Ms. Exel dan Fungsi Logika IF
Quiz
•
10th Grade - University
10 questions
Sains Komputer Tingkatan 4 - 3.1.1 Mengkaji keperluan intera
Quiz
•
1st Grade - Professio...
17 questions
Mobile app development principles
Quiz
•
10th Grade
20 questions
BÀI THI THỬ MÔN TIN HỌC LỚP 4
Quiz
•
1st - 8th Grade
14 questions
Intro to Robotics
Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Company Logos
Quiz
•
6th - 8th Grade
13 questions
PowerPoint Basics
Quiz
•
6th - 8th Grade
10 questions
App Creators Lesson 2.1-2.4
Quiz
•
8th Grade
10 questions
Exploring Computer Science Careers and Subfields
Interactive video
•
6th - 10th Grade
15 questions
AP CSP Unit 4
Quiz
•
10th - 12th Grade
23 questions
Prog 1 Python Q1 Practice
Quiz
•
9th - 12th Grade
