Subprograms and ADT
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Romualdo Bautista
Used 5+ times
FREE Resource
Enhance your content in a minute
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What are the two fundamental abstraction facilities?
Variable abstraction and Control abstraction
Function abstraction and Procedure abstraction
Data abstraction and Process abstraction
Memory abstraction and Time abstraction
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is NOT a characteristic of subprograms?
Multiple entry points
Control resumes to the caller after subprogram execution
Suspended calling program unit during execution
Multiple subprograms in execution simultaneously
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the purpose of a subprogram definition?
To describe the interface and actions of the subprogram abstraction
To handle exceptions in the subprogram
To allocate memory for the subprogram
To execute the subprogram
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which parameter passing method involves transmitting an access path to the subprogram?
Pass by value
Pass by result
Pass by reference
Pass by name
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the main advantage of using abstract data types?
Increased complexity
Reduced modifiability
Improved reliability
Enhanced visibility
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In C++, what is the purpose of a destructor?
To define the object's behavior
To clean up after the object is destroyed
To allocate memory for the object
To initialize the object
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which language provides a second scoping mechanism called package scope?
JavaScript
C++
Java
Python
Create a free account and access millions of resources
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
11 questions
What is a computer
Quiz
•
KG - University
21 questions
CPA MS-Office Hotkeys Quiz
Quiz
•
8th Grade - Professio...
16 questions
Algo Quiz
Quiz
•
University
11 questions
Computer Science (1-9) - Identifying & Preventing Threats
Quiz
•
University
14 questions
Semi-Long Quiz#1 - SAM, NW3A-3E
Quiz
•
University
13 questions
Computer Science: CPU performance
Quiz
•
University
12 questions
CIS1103 Week 9_10 CLO3 Part 1
Quiz
•
University
20 questions
COA_QUIZ_UNIT I
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Slopes and Slope-Intercept Form
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
20 questions
Winter/Holiday Trivia
Quiz
•
KG - University
10 questions
WINTER WIN Time - ELA - 12/9/2025
Quiz
•
KG - University
7 questions
Human Impact on Resources
Interactive video
•
4th Grade - University
