Python Programming Quiz
Quiz
•
Information Technology (IT)
•
9th - 12th Grade
•
Practice Problem
•
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
X_INFORMATIKA
Quiz
•
10th Grade
25 questions
2-semestr Yakuniy Nazorat
Quiz
•
10th Grade
25 questions
Information and Communication Technology and Society
Quiz
•
11th Grade
25 questions
Subnetting and Network Address Worksheet
Quiz
•
10th Grade
25 questions
Summative Test No. 1_Media and Information Literacy_3rd Quarter
Quiz
•
12th Grade
25 questions
3 Tri C# 3
Quiz
•
12th Grade
25 questions
IT Concepts 3
Quiz
•
12th Grade - University
33 questions
RETURN 8-БӨЛІМ
Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Meiosis vs mitosis
Quiz
•
9th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
16 questions
Ethos, Pathos, Logos Practice
Quiz
•
9th Grade
15 questions
Two Step Equations
Quiz
•
9th Grade
