Python Casting & Data Types
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Richard Ghiorse
Used 11+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is the correct way to ask for someone's first name and store in the variable name?
name = print("Enter your first name ")
name = input("Enter your first name ")
name = input(print("Enter your first name "))
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is the correct way to ask for an integer and store it in the variable num?
num = input("Enter an integer ")
num = int(input("Enter an integer "))
num = float(input("Enter an integer "))
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Evaluate the following:
9 // 2
4
4.5
1
5
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Evaluate the following:
7 % 4
1
3
0.75
1.75
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Evaluate the following:
(3 + 12) / 2
7
7.5
9
9.0
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Evaluate the following:
(2 + 3) * 4 + 3 ** 2
29
23
26
20
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Evaluate the following:
16 / 4
4
4.0
0
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
Cyber Security
Quiz
•
1st - 10th Grade
11 questions
Access
Quiz
•
10th Grade - University
10 questions
Inspire - AI Trivia
Quiz
•
11th Grade
10 questions
Parcial-Dibujo
Quiz
•
12th Grade
12 questions
Keyboard Parts
Quiz
•
7th - 9th Grade
10 questions
Go Beyond the Sales LAP Quiz
Quiz
•
9th - 12th Grade
11 questions
AP CSP Review 11Q
Quiz
•
10th - 12th Grade
10 questions
Unit 4 Advanced AP CSP
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
