Subprograms and ADT

Subprograms and ADT

University

16 Qs

quiz-placeholder

Similar activities

DI (EM24) - Diseño de Contenidos (T8)

DI (EM24) - Diseño de Contenidos (T8)

University - Professional Development

20 Qs

ระบบปฏิบัติการ ชุดที่ 1

ระบบปฏิบัติการ ชุดที่ 1

University

15 Qs

Round 2 for Preplacement Bootcamp

Round 2 for Preplacement Bootcamp

University

15 Qs

IT 101 - Quiz 3

IT 101 - Quiz 3

University

20 Qs

CPA MS-Office Hotkeys Quiz

CPA MS-Office Hotkeys Quiz

8th Grade - Professional Development

21 Qs

Algo Quiz

Algo Quiz

University

16 Qs

Computer Science (1-9) - Identifying & Preventing Threats

Computer Science (1-9) - Identifying & Preventing Threats

University

11 Qs

Subprograms and ADT

Subprograms and ADT

Assessment

Quiz

Computers

University

Hard

Created by

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?