How many spaces is an indentation?
Python Quiz

Quiz
•
Computers
•
6th - 8th Grade
•
Medium
Ridhaan Mishra
Used 10+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2 spaces
3 spaces
4 spaces
5 spaces
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will it print?
num 8
num8
8
nothing
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many errors are there in this code?
1
2
3
4
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Where can a global var be used? Select all that apply.
They can be used inside a loop
They can be used in a function
They can be used in a conditional
They can be used only in a function.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is an indentation used in functions?
to make it look cool
to indicate the name of the function
to indicate the block of code in a function
to make it indented
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result?
3
256
512
256
1
512
1
512
256
512
256
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the answer?
23 89
112
xy
x + y
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Quiz: Print, Syntax and Comments in Python

Quiz
•
6th Grade
10 questions
For loop

Quiz
•
8th Grade
12 questions
Python Print Statement

Quiz
•
6th - 10th Grade
15 questions
Coding Quiz

Quiz
•
6th - 10th Grade
12 questions
Python Fundamentals

Quiz
•
6th - 11th Grade
10 questions
Python with DataScience

Quiz
•
7th Grade - University
13 questions
Amethyst Concept of Programming Quiz

Quiz
•
8th Grade
15 questions
Y8 Lent Python

Quiz
•
8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Final Exam Vocabulary

Quiz
•
6th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
49 questions
How Well Do You Know Your 6th Grade Teachers?

Quiz
•
6th Grade