What is a CONSTANT? (select the best answer)
Intermediate Python

Quiz
•
Computers
•
9th - 11th Grade
•
Hard
Karl Smith
Used 25+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
A variable that never changes throughout the course of the program
A value that remains fixed throughout the course of the program
A location in memory that stores a value which changes throughout the course of the program
Some sort of cheese
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
True or False?
true
True
false
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
True and False?
True
true
False
false
4.
MULTIPLE SELECT QUESTION
45 sec • 5 pts
Which of the following has correct syntax?
name = input("What is your name?")
if x = 3:
print("Hello")
x = 3 << 1
x = (((4*5)-(((67)/(6))) + 54
5.
MULTIPLE SELECT QUESTION
45 sec • 5 pts
Which code would repeat something 6 times?
for i in range(6):
for loop in [1,2,3,4,5,6]:
while x < 7:
ctrl + c
ctrl + v
ctrl + v
ctrl + v
ctrl + v
ctrl + v
ctrl + v
6.
FILL IN THE BLANK QUESTION
1 min • 5 pts
write code that will ask a user to enter a number and store it in the variable x. You should do any necessary typecasting in-line. Make your prompt say "Enter a number".
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the output from the following:
print(["Hello", "Goodbye"][int(6>7)])
Hello
Goodbye
Syntax error
Hello Goodbye
I am the Angel of Death. The Hour of Retribution is upon us
Create a free account and access millions of resources
Similar Resources on Quizizz
19 questions
Python Year 9 Quiz

Quiz
•
8th - 10th Grade
12 questions
Java G10 IT 1 - intro and conditionals

Quiz
•
10th Grade
10 questions
Programming

Quiz
•
1st - 10th Grade
20 questions
LETS PLAY QUIZ - PYTHON CBSE CLASS XII

Quiz
•
11th - 12th Grade
20 questions
Python Quiz

Quiz
•
9th Grade
16 questions
Python programming

Quiz
•
6th - 12th Grade
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
15 questions
JAVA: Level-1

Quiz
•
5th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University