
PYTHON -- variables

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

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
In Python, can string variables be declared using both single and double quotes?
Back
Yes, they are interchangeable
2.
FLASHCARD QUESTION
Front
In Python, are variable names case-sensitive?
Back
Yes, variable names are case-sensitive
3.
FLASHCARD QUESTION
Front
In the following code, what value will be assigned to the variable "cat"?
mouse + cat + dog = "small" + "medium" + "large"
Back
Nothing, that operation will throw an error
4.
FLASHCARD QUESTION
Front
What will be printed by the following code?
Num = 90 Num = 20 print(Num)
Back
20
5.
FLASHCARD QUESTION
Front
Variables are used _________.
Back
to store data
6.
FLASHCARD QUESTION
Front
What does the following Python program print?
X = "Hello World!"
Y = "I can code "
Z = " In Python"
print( X + Y + Z)
Back
Hello World!I can code In Python
7.
FLASHCARD QUESTION
Front
Why is the variable name '1st_Name' invalid for Python?
Back
The variable name starts with a number.
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
Python Review 5/23

Flashcard
•
9th - 12th Grade
8 questions
Warm Up- EduBlocks- Terms and Concepts

Flashcard
•
9th - 12th Grade
8 questions
Python Casting & Data Types

Flashcard
•
9th - 12th Grade
13 questions
Unit 5 Flashcard AP CSP

Flashcard
•
9th - 12th Grade
9 questions
AP CSP List Review

Flashcard
•
9th - 12th Grade
7 questions
CodeHS 2.8 Functions to 2.12 User Input Review

Flashcard
•
9th - 12th Grade
10 questions
Python Data Structures

Flashcard
•
9th - 12th Grade
7 questions
Intro to Python Project Stem Unit 7 Flashcards

Flashcard
•
9th - 12th Grade
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