When your code is broken into sections, what are those sections called?
Lesson 4 - Subroutines

Quiz
•
Computers
•
8th Grade
•
Hard
R Ward
Used 20+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sections
Segments
Subroutines
Routines
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why would you create a Subroutine?
To save time
Less chance of making errors
Reduces lines of code
All of the Above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When creating a Subroutine, what does "def" mean?
Definite
Define
Definitely
Defined
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the subroutine in this piece of code?
import turtle
def square():
for i in range(4):
turtle.forward(30)
turtle.right(90)
square()
def
square
range
i
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is missing in this piece of code?
import turtle
def square()
for i in range(4)
turtle.forward(30)
turtle.right(90)
square()
Speech Marks
Colon (:)
Brackets
Nothing is missing
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the final line of our code, what must be put with our subroutine name?
:
" "
()
' '
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Does your subroutine code require indentation?
Yes
No
Sometimes
Similar Resources on Quizizz
11 questions
Turtle academy (Lessons 4 and 5)

Quiz
•
6th - 8th Grade
10 questions
lesson 1 - Basic Turtle Instructions

Quiz
•
8th Grade
8 questions
Small Basic Mid Point Review

Quiz
•
6th - 12th Grade
10 questions
Flowchart

Quiz
•
1st - 9th Grade
12 questions
Python Level 1 Quiz #6

Quiz
•
5th - 12th Grade
6 questions
Logo Quiz

Quiz
•
8th - 10th Grade
12 questions
Adventure game project

Quiz
•
7th - 8th Grade
10 questions
Introduction to Python Turtle

Quiz
•
7th - 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
17 questions
Parts of Speech

Quiz
•
7th - 12th 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
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade