
Python Quiz 1
Authored by Raphael Okai
Computers
Professional Development
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid way to comment in Python?
// This is a comment
# This is a comment
<!-- This is a comment -->
/* This is a comment */
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
2.5
2
2.0
2.00
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
15
"555"
8
"333"
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements is true about Python variables?
Variables must be declared before they are used.
Variables can contain only letters.
Python variables are case-sensitive.
Python variables cannot be reassigned.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find the output of the below python code:
-3
Error
2
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find the output of the below python code:
Error
0o123123
0o270o27
0o27027
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find the output of the below python code:
CodeCamp
Empty String
True
False
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
25 questions
CN-First Test
Quiz
•
Professional Development
25 questions
Ethereum Devcon Quiz - 1
Quiz
•
Professional Development
25 questions
AJWT MCQ Quiz
Quiz
•
Professional Development
25 questions
IT support Level-1 (MS Excel)
Quiz
•
Professional Development
25 questions
Guess the Gibberish Word
Quiz
•
Professional Development
25 questions
Тест остаточных знаний
Quiz
•
Professional Development
25 questions
Iqtisodiyotda AKT
Quiz
•
University - Professi...
25 questions
python if-elif-else
Quiz
•
Professional Development
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
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...