Python Casting & Data Types

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

8 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following is the correct way to ask for someone's first name and store in the variable name? Options: name = print("Enter your first name "), name = input("Enter your first name "), name = input(print("Enter your first name "))
Back
name = input("Enter your first name ")
2.
FLASHCARD QUESTION
Front
Which of the following is the correct way to ask for an integer and store it in the variable num? Options: num = input("Enter an integer "), num = int(input("Enter an integer ")), num = float(input("Enter an integer "))
Back
num = int(input("Enter an integer "))
3.
FLASHCARD QUESTION
Front
Evaluate the following:
9 // 2
Back
4
4.
FLASHCARD QUESTION
Front
Evaluate the following: 7 % 4
Back
3
5.
FLASHCARD QUESTION
Front
Evaluate the following:
(3 + 12) / 2
Back
7.5
6.
FLASHCARD QUESTION
Front
Evaluate the following:
(2 + 3) * 4 + 3 ** 2
Back
29
7.
FLASHCARD QUESTION
Front
Evaluate the following: 16 / 4
Back
4.0
8.
FLASHCARD QUESTION
Front
Evaluate the following:
15 // 3
Back
5
Similar Resources on Wayground
13 questions
App Lab Review

Flashcard
•
9th - 12th Grade
11 questions
Java Boolean Statements

Flashcard
•
11th Grade
5 questions
Computer Input Devices

Flashcard
•
KG
13 questions
Functions and Parameters

Flashcard
•
9th - 12th Grade
11 questions
Java ArrayLists

Flashcard
•
10th Grade
13 questions
Python variables, expressions, and data types

Flashcard
•
9th - 12th Grade
10 questions
Arrays

Flashcard
•
10th - 12th Grade
13 questions
Python - Unit Test 2

Flashcard
•
9th Grade - University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade