Subprograms and ADT

Quiz
•
Computers
•
University
•
Hard
Romualdo Bautista
Used 5+ times
FREE Resource
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
Similar Resources on Wayground
15 questions
Class Diagrams

Quiz
•
University
11 questions
Virtualization and Cloud Computing

Quiz
•
12th Grade - University
20 questions
Object Oriented Concepts Through CPP

Quiz
•
University
18 questions
CS 33 S23 Final Trial by Fire

Quiz
•
University
16 questions
Unit 2 Problem solving A level computer science

Quiz
•
12th Grade - University
15 questions
Object Oriented Programming Quiz

Quiz
•
University
20 questions
Introduction to Database

Quiz
•
University
15 questions
Computer Science Quiz

Quiz
•
8th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University