What is the difference between a function and a procedure?
2.2.1 Variables and Functions

Quiz
•
Computers
•
12th Grade
•
Medium
Robin Smith
Used 17+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
They are the same
A function returns a value
A procedure returns a value
A function can only be called from a procedure
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the name used for the data passed to a subroutine in parentheses e.g. x and y in the example below.
multiply( x , y )
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the name for the local variables declared in the parentheses of a subroutine definition e.g. a and b in the example below.
function multiply (a, b)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
8 10
10 8
6 0
0 6
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of parameter passing allows a subroutine to change the value of an argument in the calling routine?
pass by value
pass by reference
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of parameter passing is when the value of the argument is copied to the local parameter variable?
pass by value
pass by reference
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following represents labels that represent values in memory that can be changed during program execution?
Variables
Constants
Data types
Subroutines
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
C# Basics

Quiz
•
12th Grade - Professi...
10 questions
PCEP Section 4B: the function and its environment

Quiz
•
12th Grade
10 questions
Functions In Python

Quiz
•
12th Grade
9 questions
2.1.2 CSE Coding Fundamentals: Dead Reckoning

Quiz
•
9th - 12th Grade
10 questions
Global and local variables

Quiz
•
10th - 12th Grade
13 questions
Python Functions

Quiz
•
9th - 12th Grade
10 questions
2.2.1 (a) Using variables and constants

Quiz
•
12th Grade
15 questions
Python and Algorithms

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade