Programming Concepts Quiz

Programming Concepts Quiz

9th Grade

19 Qs

quiz-placeholder

Similar activities

1.1 HW, 1.2 OSD, 2.1 Py, 2.2 Alg

1.1 HW, 1.2 OSD, 2.1 Py, 2.2 Alg

KG - 12th Grade

15 Qs

Scratch Quiz 2

Scratch Quiz 2

7th - 9th Grade

20 Qs

AQA GCSE Computer Science - 3.2.10 Subroutines

AQA GCSE Computer Science - 3.2.10 Subroutines

8th - 10th Grade

20 Qs

Coding Basics

Coding Basics

9th - 12th Grade

21 Qs

Programming

Programming

9th - 11th Grade

20 Qs

Python

Python

KG - Professional Development

24 Qs

python_1

python_1

5th - 12th Grade

22 Qs

1.1.2 CSE Algorithms and Coding Fundamentals

1.1.2 CSE Algorithms and Coding Fundamentals

9th Grade

18 Qs

Programming Concepts Quiz

Programming Concepts Quiz

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Peter Hudson

Used 1+ times

FREE Resource

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.

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?