
Procedural and Loop Instructions Quiz
Authored by Julian Antonio Sison
Engineering
12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a procedure in programming?
A self-contained computer program
A data structure
A type of variable
A debugging tool
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Charlotte is learning about programming and wants to know what is another name for procedures?
Functions
Methods
Subroutines
Classes
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
During a class project, Charlotte needs to call a specific function to calculate the total cost of materials. What does her CALL instruction do?
Ends the program
Branches to a procedure
Declares a variable
Returns control to the main program
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a reentrant procedure?
A procedure that cannot be interrupted
A procedure that can be executed by multiple processes simultaneously
A procedure that has no parameters
A procedure that is always recursive
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
During a programming class, Ava wrote a function to calculate the sum of two numbers. After completing the function, she needed to return control back to the main program to display the result. What is the purpose of the RET instruction in this context?
To declare a new variable
To call another procedure
To return control to the calling program
To create a loop
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of branch instruction always results in branching?
Unconditional branches
Indirect branches
Conditional branches
Relative branches
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the LOOP instruction do?
Decreases the CX register and jumps if CX is not zero
Increases the CX register
Ends the program
Calls another procedure
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?
Similar Resources on Wayground
14 questions
Essential Engineering Workshop Tools Quiz
Quiz
•
12th Grade
15 questions
Simple and Compound Machines
Quiz
•
7th Grade - University
19 questions
Materials Engineering Quiz
Quiz
•
12th Grade
15 questions
Electrical Current Pre Quiz
Quiz
•
12th Grade
10 questions
Understanding Manual Gearbox Components
Quiz
•
11th Grade - University
19 questions
Understanding Stress and Strain Concepts
Quiz
•
12th Grade
10 questions
Levers
Quiz
•
10th Grade - University
15 questions
Weather Quiz
Quiz
•
12th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Engineering
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
23 questions
TSI Math Vocabulary
Quiz
•
10th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
Predicting Products
Quiz
•
9th - 12th Grade
20 questions
Presidents Day challenge
Quiz
•
9th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade
20 questions
Banking
Quiz
•
9th - 12th Grade