Python Casting & Data Types

Flashcard
•
Computers
•
9th - 12th Grade
•
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
8.
FLASHCARD QUESTION
Front
Evaluate the following:
15 // 3
Back
5
Similar Resources on Wayground
8 questions
Causes of WW2 & War in Europe

Flashcard
•
10th Grade
9 questions
App Lab Controls

Flashcard
•
9th - 12th Grade
13 questions
java variables 1

Flashcard
•
9th - 12th Grade
12 questions
Unit 2 Flashcard 3 Function Or Not

Flashcard
•
9th - 12th Grade
9 questions
I2M - Marketing Vocab 11-20

Flashcard
•
8th - 12th Grade
9 questions
4.4 Types of programming language

Flashcard
•
9th - 12th Grade
10 questions
Excel Intro Formulas 1

Flashcard
•
7th - 12th Grade
10 questions
Recursion Flashcard

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade