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
11 questions
Cloud Computing Quiz

Quiz
•
University
15 questions
Decomposition in Video Game Development

Quiz
•
10th Grade - University
20 questions
ASK T1 (Bab 1 - Konsep Asas Pemikiran Komputasional)

Quiz
•
KG - University
15 questions
SCRIPTING PROGRAMMING WITH PYTHON

Quiz
•
University
15 questions
Chapt.2 - Data Models

Quiz
•
University
18 questions
Data Structures Quiz 1

Quiz
•
12th Grade - University
15 questions
R_Quiz on Algorithms and Programming Languages

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

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University