Search Header Logo

Two-Pass Assembler Quiz

Authored by swati salunkhe

Other

University

Used 2+ times

Two-Pass Assembler Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is not performed during Pass 1 of a two-pass assembler?

Creation of Symbol Table

Assignment of addresses to labels

Generation of final machine code

Identification of assembler directives

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

In Pass 1, the location counter (LC) is mainly used to:

Store intermediate code

Maintain symbol list

Keep track of memory addresses

Load the object file

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The main output of Pass 1 of an assembler is:

Executable file

Object code

Intermediate code and symbol table

Source program

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which data structure is essentially built during Pass 1?

Literal Table

Symbol Table

Base Table

Object File

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The assembler directive START 100 in Pass 1:

Terminates the program

Begins at location 100

Declares constants

Is used in Pass 2 only

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is true about Pass 1?

It ignores all labels

It generates final object code

It processes assembler directives

It executes the program

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

In Pass 1, forward references are:

Always resolved immediately

Ignored until Pass 2

Replaced with zero

Stored in intermediate code for later resolution

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?