Search Header Logo

Compiler Design

Authored by Raja Mohamed

Computers

University - Professional Development

Used 20+ times

Compiler Design
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is NOT possible to realize if activation record is static

Passing parameters

Creating local variables

Supporting recursion

None of the other options

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Control link points to the

Current activation record

Parent activation record

Child activation record

None of the other options

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Intermediate code generation for a compiler is

Must

Optional

depends on language

none of the above

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

P-code is used for

Stack-based machine

Accumulator based machine

Two operand addresses

None of the other options

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In the activation record, local variables can be accessed from frame pointer with offset value

positive

negative

May be positive or negative

Cannot be accessed

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Access link points to the

Current activation record

Parent activation record

Child activation record

None of the other options

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If pointer is supported in the high-level language,

Must also be supported in the intermediate language

May not be supported in the intermediate language

Depends on language

None of the other options

Access all questions and much more by creating a free account

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

Already have an account?