LA5.C5: Branching and Subroutines

LA5.C5: Branching and Subroutines

9th Grade

14 Qs

quiz-placeholder

Similar activities

Memory-Mobo-Hard/Software

Memory-Mobo-Hard/Software

University

18 Qs

Quizz Internet

Quizz Internet

KG - Professional Development

12 Qs

BÀI KIỂM TRA GIỮA KÌ 2 LỚP 5

BÀI KIỂM TRA GIỮA KÌ 2 LỚP 5

1st - 10th Grade

10 Qs

UNIT 1.2 MEMORY

UNIT 1.2 MEMORY

10th Grade

19 Qs

Adobe Photoshop

Adobe Photoshop

University

10 Qs

TMK  TAHUN 4

TMK TAHUN 4

10th Grade

10 Qs

UX Design

UX Design

University

10 Qs

After Effect Intoduction

After Effect Intoduction

10th Grade - University

15 Qs

LA5.C5: Branching and Subroutines

LA5.C5: Branching and Subroutines

Assessment

Quiz

Computers

9th Grade

Practice Problem

Medium

Created by

Audley Walker

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

What does a label in programming act like?

A bookmark

A variable

A loop

A function

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

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

Media Image

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

Media Image

How do you call a subroutine in the program?

SubroutineName()

Call SubroutineName

Execute SubroutineName

SubroutineName[]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?