Python MCQ
Quiz
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Medium
Alijon Kuvondikov
Used 2+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is Python primarily used for?
Only web development
Only data analysis
Multiple purposes like web development, data analysis, AI, etc.
Only game development
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if you skip indentation in Python?
The code still runs
It adds a tab automatically
You get a syntax error
It becomes a comment
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you add an item to the end of a list?
list.add()
list.append()
list.insert()
list.extendLast()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to write a comment in Python?
// This is a comment
# This is a comment
/* This is a comment */
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a Python data type?
list
tuple
array
dict
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does for i in range(0): print(i) output?
0
None
Nothing
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of: x = 5 if x > 2: print("A") elif x > 3: print("B") else: print("C")
A
B
C
A B
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
24 questions
Search Engines
Quiz
•
8th - 10th Grade
20 questions
General revision_2
Quiz
•
8th Grade
20 questions
Az első e-mail és más érdekességek
Quiz
•
8th - 10th Grade
20 questions
SOAL PAS INFORMATIKA KELAS VII SEMESTER I (VII.B)
Quiz
•
7th Grade
20 questions
Robots in Technology- Worksheet 2
Quiz
•
6th Grade
20 questions
BÀI THI THỬ MÔN TIN HỌC LỚP 4
Quiz
•
1st - 8th Grade
20 questions
Design your website
Quiz
•
7th - 12th Grade
20 questions
Artificial Intelligence and SketchUp
Quiz
•
8th - 10th 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
