Search Header Logo

3 Introduction to Programming:

Authored by Demi Oni

Computers

8th Grade

3 Introduction to Programming:
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a subroutine in programming?

A function that returns a value

A type of variable used to store data

A block of code given a unique identifiable name within a program

A loop used for iteration

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of using subroutines in programming?

To reduce the reusability of the code

To break down a larger problem into smaller, more manageable problems

To increase the complexity of the code

To make the code harder to debug

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the two main concepts covered by the term 'subroutine'?

Arrays and strings

Classes and objects

Variables and loops

Procedures and functions

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In object-oriented programming, what are procedures and functions referred to as?

Methods

Instances

Properties

Attributes

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first line of code in the main program typically in relation to subroutines?

A loop statement

A call to a procedure

A conditional statement

A call to a function

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the advantage of using subroutines in programming?

Programs are easier to write and debug

Subroutines decrease the reusability of code

Programs become more complex and harder to test

Functions cannot be grouped in a library

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the specific symbol used in flowcharts to indicate a call to another subroutine?

An arrow pointing to a different flowchart

A rectangle with rounded corners

A diamond shape

A parallelogram

Access all questions and much more by creating a free account

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?