Intermediate Python
Quiz
•
Computers
•
9th - 11th Grade
•
Practice Problem
•
Hard
Karl Smith
Used 26+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is a CONSTANT? (select the best answer)
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
17 questions
Mobile app development principles
Quiz
•
10th Grade
20 questions
9-Класс ТЕСТ 30-34
Quiz
•
9th Grade
20 questions
Artificial Intelligence and SketchUp
Quiz
•
8th - 10th Grade
10 questions
PC1.8 Evaluate computer program
Quiz
•
9th Grade
20 questions
Tin học 11 chương I
Quiz
•
1st - 12th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
12 questions
Code.org (Introdução à programação)
Quiz
•
5th - 9th Grade
20 questions
Контрольная работа
Quiz
•
9th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade

