
Quiz on Procedures in Programming

Quiz
•
Information Technology (IT)
•
12th Grade
•
Hard
Ashraf Elbialy
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a procedure in programming?
A programming language
A type of variable
A set of instructions for a specific task
A single line of code
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of using procedures?
To increase the size of the code
To organize code into reusable modules
To eliminate the need for functions
To create complex programs
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In JavaScript, what is a procedure referred to as?
Class
Variable
Function
Method
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are parameters in the context of procedures?
The output of the procedure
Actual values passed to a procedure
The name of the procedure
Variables defined with a procedure
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when a procedure is called?
The program stops executing
The flow of execution transfers to the procedure
The program compiles again
The procedure is deleted
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between parameters and arguments?
Parameters are variables; arguments are actual values
Parameters are actual values; arguments are variables
Parameters are optional; arguments are required
There is no difference
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a procedure without parameters?
A procedure that is always called
A procedure that has no output
A procedure that cannot return values
A procedure that does not take any input
Create a free account and access millions of resources
Similar Resources on Wayground
19 questions
module 4/5 ACLs

Quiz
•
12th Grade
14 questions
Kuis Pemrograman SQL Server

Quiz
•
12th Grade
15 questions
SWE201c_SP24_Full

Quiz
•
12th Grade
20 questions
ISC Week 11

Quiz
•
12th Grade - University
13 questions
Java Method Overloading Quiz

Quiz
•
12th Grade
14 questions
Python libraries: Random, PIL, Wave

Quiz
•
12th Grade
15 questions
BITS AND BYTES - THE FUTURE OF CYBERSECURITY - SENIOR PRELIM

Quiz
•
12th Grade
10 questions
Recap Sli 17

Quiz
•
12th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade