
Introduction to Python Programming
Authored by Kimberly Denney
Computers
9th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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`
Access all questions and much more by creating a free account
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
10 questions
Youtubers Charlie.C-J
Quiz
•
3rd - 9th Grade
20 questions
SOFTWARE 7I
Quiz
•
7th Grade - University
15 questions
Security
Quiz
•
9th Grade
10 questions
8° / 9° Pensamento Computacional
Quiz
•
9th Grade
20 questions
Câu hỏi ôn tập GK2
Quiz
•
9th Grade
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
10 questions
S2 Subject Choice Quiz
Quiz
•
8th - 10th Grade
10 questions
Contact Center Sevices
Quiz
•
7th - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade