
Python Basics Quiz
Authored by imam ibrahim
Information Technology (IT)
8th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output? print("Hello, World!")
Hello
Hello World
Hello, World!
"Hello, World!"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to write a comment in Python?
// This is a comment
/* This is a comment */
# This is a comment
-- This is a comment
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be printed? print("3 + 2 =", 3 + 2)
3 + 2 = 3 + 2
3 + 2 = 32
3 + 2 = 5
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a correct Python data type?
list
float
string
decimal
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of this code? print("Result:", 5 * "2")
Result: 10
Result: 22222
Result: 2*5
Error
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What is the correct way to print the following text including quotes? She said, "Python is fun!"
print('She said, "Python is fun!"')
print("She said, "Python is fun!"")
print(She said, "Python is fun!")
print("She said, \"Python is fun!\"")
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be displayed? # This is a comment print("Hello")
# Another comment
# This is a comment Hello # Another comment
Hello
This is a comment Hello Another comment
Error
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
Quiz Proses Komputasi dan Data Bersih
Quiz
•
10th Grade
12 questions
Uji Pemahaman Microsoft Word
Quiz
•
10th Grade - University
10 questions
Soal Informatika jenjang SMP/MTs
Quiz
•
6th - 8th Grade
15 questions
Scratch
Quiz
•
8th Grade - University
10 questions
Refresh Python
Quiz
•
University
10 questions
QUIZ 2 PLC
Quiz
•
10th Grade - University
10 questions
BASIC Programming (I)
Quiz
•
10th Grade
12 questions
CLC Lesson 7 Quiz
Quiz
•
University
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 Information Technology (IT)
5 questions
Legends, Leaders, & Changemakers: Maya Angelou
Interactive video
•
6th - 8th Grade
10 questions
Understanding Poetry and Literary Devices
Interactive video
•
4th - 8th Grade
15 questions
Product of Powers Property A1 U7
Quiz
•
8th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Laws of Exponents
Quiz
•
8th Grade
16 questions
8th U5L5 Graphs of Functions
Quiz
•
8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade