LA5.C5: Branching and Subroutines

Quiz
•
Computers
•
9th Grade
•
Medium
Audley Walker
Used 7+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the Goto statement in programming?
To create a loop
To jump to a specific label
To end a program
To define a variable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a label in programming act like?
A bookmark
A variable
A loop
A function
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the statement "i = i + 1" if i was initially 1?
1
0
3
2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if the value of i is less than 25 in the provided program?
The program jumps to the start label
The program continues to the next statement
The program stops
The program resets i to 0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a subroutine?
A method to end a program
A way to create loops
A type of variable
A portion of code that can be called from anywhere
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you call a subroutine in the program?
SubroutineName()
Call SubroutineName
Execute SubroutineName
SubroutineName[]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the advantage of using subroutines?
They make programs run slower
They are only used for loops
They help in code organization
They increase the amount of code
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
2.1.3 Thinking procedurally

Quiz
•
11th Grade
16 questions
algorithms and programming

Quiz
•
8th - 10th Grade
10 questions
Using Subroutines in Python

Quiz
•
12th Grade
15 questions
Computer science paper 2

Quiz
•
10th Grade
15 questions
Testing

Quiz
•
12th Grade
10 questions
ITPFL5 Endterm Exercise #4

Quiz
•
University
15 questions
MP and MC Intro Quiz

Quiz
•
University
10 questions
Advanced Python Iteration Quiz

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade