Memory Mangement Compiler Design

Memory Mangement Compiler Design

University

118 Qs

quiz-placeholder

Similar activities

CST practice exam 1

CST practice exam 1

University

115 Qs

THEORY II

THEORY II

University

114 Qs

Animal Behaviour, theories & strategies

Animal Behaviour, theories & strategies

University

121 Qs

Anat201 Exam 3

Anat201 Exam 3

University

113 Qs

Nervous System

Nervous System

University

115 Qs

Tâm lý học - Quiz

Tâm lý học - Quiz

University

123 Qs

BasicElectronics

BasicElectronics

University

120 Qs

The Sun and Stars

The Sun and Stars

9th Grade - University

118 Qs

Memory Mangement Compiler Design

Memory Mangement Compiler Design

Assessment

Quiz

Science

University

Hard

Created by

Rameela Pradeoth

FREE Resource

118 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

None
Text for option 1 (required in all cases except open-ended & draw questions)
Text for option 2 (required in all cases except open-ended & draw questions)
Text for option 3 (optional)
Text for option 4 (optional)
Text for option 5 (optional)

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the primary purpose of a run-time environment in a programming language?
Code optimization
Memory management
Error handling
Input/output operations
Pluto

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is an example of dynamic memory allocation?
Array declaration
Stack allocation
Global variable initialization
Heap allocation

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

which data structure is commonly used to manage function calls and local variables in stack allocation?
Queue
Linked list
Stack
Hash table

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

4. Which data structure is used to represent the execution of procedures and functions in a program?
Activation tree
Binary tree
Priority queue
Hash map

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In nested procedures, term is used to describe the visibility of variables declared in outer procedures is
Encapsulation
Abstraction
Shadowing
Inheritance

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

6. What is the primary purpose of heap management in a run-time environment?
Managing function calls
Optimizing code execution
Allocating and deallocating memory dynamically
Handling exceptions

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?