Which of the following is the correct way to ask for someone's first name and store in the variable name?
Python Casting & Data Types

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Richard Ghiorse
Used 8+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
name = print("Enter your first name ")
name = input("Enter your first name ")
name = input(print("Enter your first name "))
2.
MULTIPLE CHOICE QUESTION
30 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
30 sec • 1 pt
Evaluate the following:
9 // 2
4
4.5
1
5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluate the following:
7 % 4
1
3
0.75
1.75
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluate the following:
(3 + 12) / 2
7
7.5
9
9.0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluate the following:
(2 + 3) * 4 + 3 ** 2
29
23
26
20
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluate the following:
16 / 4
4
4.0
0
Create a free account and access millions of resources
Similar Resources on Quizizz
14 questions
Python - MP2 Test

Quiz
•
10th Grade
12 questions
Introduction to Python Programming

Quiz
•
7th - 10th Grade
10 questions
Python Programming

Quiz
•
7th - 9th Grade
15 questions
JavaScript Quiz

Quiz
•
9th - 10th Grade
15 questions
Grade 12-Python selection&iteration

Quiz
•
11th - 12th Grade
15 questions
CP M4 Repetition & Loops

Quiz
•
9th - 12th Grade
14 questions
Y9 - Module 2 - KT1 Python Basics

Quiz
•
9th Grade
10 questions
KS4 Programming Techniques (1)

Quiz
•
8th - 10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade