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
12 questions
CS Python Fundamentals Unit 4 Review

Flashcard
•
9th - 12th Grade
10 questions
Evaluating Functions - redemption

Flashcard
•
9th - 11th Grade
9 questions
Python Programming Basics - MP2 Study

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

Flashcard
•
9th Grade - University
9 questions
عناوين العمليات بلغة جافا

Flashcard
•
10th Grade - University
12 questions
CSP-A114 Flashcard

Flashcard
•
9th - 12th Grade
13 questions
Python variables, expressions, and data types

Flashcard
•
9th - 12th Grade
10 questions
Arrays

Flashcard
•
10th - 12th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
20 questions
Introduction to Desktop Computer Systems

Quiz
•
9th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Computer Hardware and Input/Output Devices

Interactive video
•
6th - 10th Grade