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
Already have an account?
Similar Resources on Wayground
25 questions
KTCKI TIN 9
Quiz
•
9th Grade
25 questions
Sumatif Semester II_PBO (Pemrograman Berorientasi ObjeK)_RPL
Quiz
•
12th Grade
25 questions
Ulangan Harian Struktur Data
Quiz
•
9th Grade - University
25 questions
Role of Banks Quiz
Quiz
•
10th Grade
25 questions
CSS Font Property Quizziz
Quiz
•
6th Grade - University
25 questions
Python - Chapter 3 Practice Quiz
Quiz
•
12th Grade
25 questions
PTS - 9F - A. PG
Quiz
•
9th Grade
25 questions
HTML Attempt 2 Review
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd 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
Discover more resources for Information Technology (IT)
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
20 questions
Cell organelles and functions
Quiz
•
10th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
10 questions
Exploring the Energy Cycle: Photosynthesis and Cellular Respiration
Interactive video
•
6th - 10th Grade
25 questions
photosynthesis and cellular respiration
Quiz
•
9th Grade
