Programming Concepts Quiz

Programming Concepts Quiz

9th Grade

19 Qs

quiz-placeholder

Similar activities

2324tx6

2324tx6

9th - 12th Grade

20 Qs

Python List

Python List

4th Grade - University

15 Qs

Pensamento Computacional

Pensamento Computacional

9th Grade

18 Qs

Python

Python

8th - 9th Grade

15 Qs

GAD Review - Game Industry

GAD Review - Game Industry

9th - 12th Grade

22 Qs

Network topologies

Network topologies

8th Grade - University

20 Qs

Scratch

Scratch

9th - 10th Grade

19 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

Programming Concepts Quiz

Programming Concepts Quiz

Assessment

Quiz

Computers

9th Grade

Practice Problem

Medium

Created by

Peter Hudson

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a subroutine?

A named, out of line block of code that may be executed (called) by simply writing its name in a program statement

A data item that is passed to a subroutine when it is called

A named, out of line block of code that returns a value

A way that the module can be accessed and used

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a parameter in programming?

A named, out of line block of code that may be executed (called) by simply writing its name in a program statement

A data item that is passed to a subroutine when it is called

A named, out of line block of code that returns a value

A way that the module can be accessed and used

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the key difference between a function and a procedure?

A function returns a value to the calling routine and uses the RETURN keyword, while a procedure does not return a value

A function is a named block of code, while a procedure is not

A function is used for structured programming, while a procedure is not

A function is a data item passed to a subroutine, while a procedure is not

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does structured programming involve?

Decomposition of the program into small manageable modules

Passing data items to subroutines

Returning values to the calling routine

Accessing and using modules

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an interface in programming?

A named, out of line block of code that may be executed (called) by simply writing its name in a program statement

A data item that is passed to a subroutine when it is called

A way that the module can be accessed and used

A named, out of line block of code that returns a value

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary benefit of using subroutines in programming?

They make the code run faster.

They allow code to be reused and reduce repetition.

They increase the complexity of the code.

They make the code harder to maintain.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a benefit of using subroutines?

Code is easier to test.

Code is easier to maintain/update.

Code is harder to follow.

Development time can be sped up.

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?