Subprograms

Subprograms

11th Grade

10 Qs

quiz-placeholder

Similar activities

Numpy-1

Numpy-1

9th - 12th Grade

10 Qs

BTS Fonctions de l'Etat

BTS Fonctions de l'Etat

KG - Professional Development

11 Qs

Word 2016 Lesson 1

Word 2016 Lesson 1

9th - 12th Grade

10 Qs

1 Herramientas Digitales

1 Herramientas Digitales

6th Grade - University

10 Qs

ICT as Platform for Change

ICT as Platform for Change

11th - 12th Grade

10 Qs

POLS - Pak Vio

POLS - Pak Vio

1st - 12th Grade

10 Qs

La nutrition

La nutrition

11th Grade

10 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

Subprograms

Subprograms

Assessment

Quiz

Education, Computers

11th Grade

Practice Problem

Hard

Created by

Salah Mehdi

Used 15+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between a procedure and a function?

There is no difference

A procedure performs a task whereas a function produces information

A procedure produces information whereas a function performs a task

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a module?

A module is a small section of a program

A module allows you to pass information into a function

A module is the name for a value passed into a function

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a parameter?

Parameters are the values that are passed into a function or procedure

Parameters are the names of the information that is used in a function or procedure

A parameter is a small section of program

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an argument?

An argument is a value that is passed into a function or procedure

An argument is a small section of program

An argument is the name of the information that is used in a function or procedure

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between a local and a global variable?

A global variable is declared so it can be used in any part of the program and a local variable is only available in a specific function

A local variable is declared so it can be used in any part of the program and a global variable is only available in a specific function

Both local and global variables can be used in any part of a program

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a module-scoped variable?

A variable that is available in any part of the program

A variable that can only be used once

A variable that is only available in a single file or module

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is meant by 'executing' a function?

Deleting the function

Changing the function

Asking a function to run

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?