
Introduction to Python Programming
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Hard
Kimberly Denney
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol is used to start a comment in Python?
Double slash `//`
Hash `#`
Semicolon `;`
Double quotes `""`
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct way to declare a variable in Python?
`int x = 10`
`x = 10`
`var x = 10`
`x : int = 10`
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code? ```python x = "coding" print(x) ```
`coding`
`x`
`10`
`None`
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you change the data type of a variable from an integer to a string in Python?
`str(x)`
`int(x)`
`float(x)`
`bool(x)`
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a floating-point number?
`5`
`2.8`
`"3"`
`True`
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code? ```python x = 5 print(type(x)) ```
`
`
`
`
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a sequence data type in Python?
`int`
`float`
`list`
`bool`
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
11 questions
Youtube
Quiz
•
4th Grade - University
20 questions
Name The Disney Animation Films
Quiz
•
KG - University
15 questions
Empowerment Technologies
Quiz
•
KG - 12th Grade
10 questions
BÀI KIỂM TRA GIỮA KÌ 2 - LỚP 3
Quiz
•
1st - 10th Grade
15 questions
LA1.C1: Introduction to Small Basic
Quiz
•
9th Grade
14 questions
Pre-test: On Online searching by Innovative Teaching Ideas)
Quiz
•
6th - 12th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th 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
