Python Programming Quiz
Quiz
•
Information Technology (IT)
•
9th - 12th Grade
•
Hard
Godwin Promise
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a correct way to declare a Python variable?
var x = 5
#x = 5
$x = 5
x = 5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False: You can declare string variables with single or double quotes.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False: Variable names are not case-sensitive.
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is NOT a legal variable name?
my-var
my_var
Myvar
_myvar
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a correct syntax to add the value 'Hello World', to 3 variables in one statement?
x, y, z = 'Hello World'
x = y = z = 'Hello World'
x|y|z = 'Hello World'
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Insert the correct syntax to convert x into a floating point number.
float
int
str
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Insert the correct syntax to convert x into an integer.
int
float
str
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
25 questions
G9-Introduction to Python Programming
Quiz
•
9th Grade - University
25 questions
Data Types
Quiz
•
12th Grade
25 questions
Fitur dan Manfaat Google Docs
Quiz
•
7th Grade - University
28 questions
Mock exam revision IT
Quiz
•
9th Grade
29 questions
Mod 2 Risk Adversity Trust
Quiz
•
9th - 12th Grade
25 questions
Quis Bab 4 Membangun Berbagai Aplikasi Mobile Kelas XI
Quiz
•
11th Grade
25 questions
Understanding the concept of list
Quiz
•
11th Grade
25 questions
3. ADMINISTRASI SISTEM JARINGAN KELAS 12
Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Graphing Inequalities on a Number Line
Quiz
•
9th Grade
20 questions
Cell Organelles
Quiz
•
9th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
20 questions
Cell Transport
Quiz
•
9th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
