Python Basics Quiz
Quiz
•
Information Technology (IT)
•
8th Grade
•
Practice Problem
•
Hard
imam ibrahim
Used 2+ times
FREE Resource
Enhance your content in a minute
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
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
15 questions
Java_MCQ_3
Quiz
•
University
15 questions
Questionário sobre Inteligência Artificial
Quiz
•
University
12 questions
PYTHON APTITUDE
Quiz
•
University
15 questions
Qual a sua próxima certificação?
Quiz
•
University
12 questions
COMPILADOR-TECNM
Quiz
•
University
15 questions
Bài 19: Câu lệnh rẽ nhánh IF
Quiz
•
10th Grade
10 questions
Week2 上周知识点回顾
Quiz
•
University
10 questions
BÀI 16. ĐỊNH DẠNG KHUNG
Quiz
•
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
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
15 questions
scatter plots and trend lines
Quiz
•
8th Grade
20 questions
Solving Systems of Equations by Graphing
Quiz
•
8th Grade
20 questions
Christmas Song Emojis
Quiz
•
8th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
