Python Casting & Data Types
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground 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
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
9 questions
KUIS BAHASA INGGRIS
Flashcard
•
6th Grade - University
9 questions
Parts of a Computer
Flashcard
•
9th - 12th Grade
10 questions
Operating Systems Flashcard
Flashcard
•
8th Grade - University
10 questions
Supply and Demand
Flashcard
•
9th - 12th Grade
8 questions
Lesson 3 - Internet Concepts
Flashcard
•
KG
7 questions
Intro to Trades Unit 3 Flashcard Review-3.2.1
Flashcard
•
11th Grade
10 questions
Output Devices
Flashcard
•
10th Grade
4 questions
Community Helpers
Flashcard
•
KG
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