3 Introduction to Programming:

3 Introduction to Programming:

8th Grade

15 Qs

quiz-placeholder

Similar activities

Technology Systems - Computer Parts

Technology Systems - Computer Parts

6th - 8th Grade

20 Qs

Y9 L5 Functions

Y9 L5 Functions

8th Grade

18 Qs

Computer Hardware & Software Review

Computer Hardware & Software Review

6th - 8th Grade

14 Qs

Information Technology Quiz for Middle School

Information Technology Quiz for Middle School

6th - 8th Grade

10 Qs

Python Vocabulary

Python Vocabulary

7th - 8th Grade

20 Qs

PL/SQL

PL/SQL

1st - 10th Grade

10 Qs

3.4 Microbit RETRIEVAL PRACTICE

3.4 Microbit RETRIEVAL PRACTICE

6th - 9th Grade

10 Qs

Chapter 2: Computer systems

Chapter 2: Computer systems

7th - 11th Grade

10 Qs

3 Introduction to Programming:

3 Introduction to Programming:

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Demi Oni

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?