
Programming Constructs, Procedures and Functions
Authored by Krishna Sekhar
Information Technology (IT)
11th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
36 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a parameter?
A constant in a program
A variable applied to a procedure or function
A mathematical expression
A data type
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When a parameter is passed by value what happens?
The variable can be changed by the procedure
The value of the variable remains unchanged
The variable is deleted
The variable is copied multiple times
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an argument?
A parameter definition
A mathematical operator
A value passed to a procedure or function from the main program
A constant
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a procedure?
To always return a value
To execute a group of repeated statements
To perform complex mathematical calculations
To define a new data type
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In pseudocode how do you indicate the end of a procedure?
Close procedure
End procedure
Stop procedure
Terminate procedure
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How are parameters passed in Python?
By reference
By value
By pointer
By memory address
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What distinguishes a function from a procedure?
Functions always return a value
Procedures are more complex
Functions are only used in math
Functions cannot have parameters
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?