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
12 questions
Project-Stem Unit 1 python coding

Quiz
•
9th - 12th Grade
16 questions
Programming revision

Quiz
•
9th Grade
15 questions
JavaScript Quiz

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

Quiz
•
9th Grade
10 questions
10 CS // Pseudocode

Quiz
•
9th - 11th Grade
10 questions
Pseudocode Input

Quiz
•
9th - 12th Grade
14 questions
Python L1

Quiz
•
8th Grade - University
15 questions
Programming Quiz 1-3 | LPE-101 by Mettle X

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University