
PYTHON -- variables

Flashcard
•
Computers, Fun
•
9th - 12th Grade
•
Hard
Wayground 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
7 questions
Intro to Python Project Stem Unit 6 Vocab Flashcards

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
9 questions
Python Review 5/23

Flashcard
•
9th - 12th Grade
10 questions
Code.org Unit 5 Vocab Flashcard 1

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

Flashcard
•
9th - 12th Grade
8 questions
AP CSP 12-2 U4L1 Variable

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

Flashcard
•
11th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade