H Plenary - Modular programming quick quiz

H Plenary - Modular programming quick quiz

10th Grade

8 Qs

quiz-placeholder

Similar activities

TEST SOP LOGICAL ACCESS

TEST SOP LOGICAL ACCESS

1st Grade - Professional Development

10 Qs

Access - Lesson 14

Access - Lesson 14

9th - 12th Grade

10 Qs

ICT 10 : Introduction to Adobe Illustrator(CS5)

ICT 10 : Introduction to Adobe Illustrator(CS5)

10th Grade

10 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

Desarrollo de Aplicaciones Web - Día 3

Desarrollo de Aplicaciones Web - Día 3

10th Grade

10 Qs

Know thy Peer-to-Peer

Know thy Peer-to-Peer

12th Grade

10 Qs

WN-CELLULAR CONCEPT

WN-CELLULAR CONCEPT

University

10 Qs

MIL March 8, 2023

MIL March 8, 2023

12th Grade

10 Qs

H Plenary - Modular programming quick quiz

H Plenary - Modular programming quick quiz

Assessment

Quiz

Computers

10th Grade

Practice Problem

Medium

Created by

G Alexander-Doyle

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...

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of parameter passing in a procedural high-level language?

Passing values to a function when calling it

Declaring a variable inside a function

Using a loop to repeat code

Printing output to the screen

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the two main types of sub-programs/routines mentioned in the learning intentions?

Functions and procedures

Loops and conditions

Classes and objects

Arrays and lists

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes a formal parameter?

The name given to the parameters identified in the definition of the subprogram.

The value passed to the subprogram during a call.

The output of the subprogram.

The memory address of the subprogram.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where are formal parameters typically found in a function or procedure?

Within brackets in the declaration of a function or procedure.

In the return statement of the function.

In the main body of the program.

In the comments section of the code.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a local variable?

A variable defined within a subprogram or a block of code.

A variable that can be accessed from anywhere in the program.

A variable that is always constant.

A variable that is only used for input.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between local and global variables?

Local variables are accessible only within a specific function, while global variables are accessible throughout the program.

Local variables are always integers, while global variables are always strings.

Local variables are stored on disk, while global variables are stored in memory.

Local variables are used for file handling, while global variables are used for calculations.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following always return a single value?

Function

Procedure

Method

Sub-routine

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?