Python Training
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
sara souna
Used 6+ times
FREE Resource
Enhance your content in a minute
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would the output be if you run the code below?
25
30
25
25
This would give you an error because x already has a value when we de x = 30
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is not a valid Python variable name?
myVariable
my_variable
_var
1st_variable
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why would you write a variable name in all uppercase (all capital letters) in Python?
There's no reason to ever do this in Python. It's the wrong style.
To signal that you don't intend for this variable's value to change.
When defining important values that will be used throughout the entire code.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would the output be (i.e. what would the user see) from this code sample?
The user would see nothing.
6
This would result in an error, because you can't use underscores in variable names.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would the value of div be at the end of this segment?
4
3.5
3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would the value of x be at the end of this code segment?
7.5
7
8
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would the user see after running this code segment?
Hello, Jose
'Hello, Jose'
"Hello, Jose"
The user would see nothing, or there would be an error.
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
20 questions
STIN (EM24) - Cadena de valor (T8)
Quiz
•
University - Professi...
20 questions
Advanced JavaScript
Quiz
•
Professional Development
20 questions
js DOM
Quiz
•
12th Grade - Professi...
17 questions
MOC 20744C-Securing Windows Server 2016 - Part 2
Quiz
•
Professional Development
20 questions
Colors_unit2
Quiz
•
Professional Development
20 questions
RELAX AND RETAIN : WITH COMSSA
Quiz
•
KG - Professional Dev...
19 questions
Basis Data Kelas XII
Quiz
•
Professional Development
20 questions
Investigasi Forensics Siber
Quiz
•
Professional Development
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
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
25 questions
Christmas Movies
Quiz
•
Professional Development
20 questions
Christmas Trivia
Quiz
•
Professional Development
15 questions
Fun Holiday Trivia
Quiz
•
Professional Development
25 questions
Name That Tune - Christmas
Quiz
•
Professional Development
29 questions
Christmas Song Emoji Pictionary
Quiz
•
Professional Development
9 questions
Holiday Movie Trivia
Lesson
•
Professional Development
34 questions
Winter Trivia
Quiz
•
Professional Development
