Storage Management in Compiler Design

This set of MCQs helps students to learn about storage Management in compiler design, defined as when the target program executes then it runs in its own logical address space in which the value of each program has a location. The logical address space is shared among the compiler, operating system and target machine for management and organization.

Start Quiz

Which of the following is not a weighted code?

Decimal Number system Excess 3-cod Binary number System None of the mentioned

Suppose that a bus has 16 data lines and requires 4 cycles of 250 nests each to transfer data. The bandwidth of this bus would be 2 Megabytes/sec. If the cycle time of the bus was reduced to 125 nsecs and the number of cycles required for transfer stayed the same what would the bandwidth of the bus?

1 Megabyte/sec 4 Megabytes/sec 8 Megabytes/sec 2 Megabytes/sec

The idea of cache memory is based __________.

On the property of locality of reference

On the heuristic 90-10 rule

On the fact that references generally tend to cluster

All of the mentioned

The average time required to reach a storage location in memory and obtain its contents is called the _____.

Seek time

Turnaround time

Access time

Transfer time

Computers use addressing mode techniques for ____________.

Giving programming versatility to the user by providing facilities as pointers to memory counters for loop control

To reduce number of bits in the field of instruction

Specifying rules for modifying or interpreting address field of the instruction

All of the mentioned

The circuit used to store one bit of data is known as_______.

Register

Encoder

Decoder

Flip Flop

(2FAOC) 16 is equivalent to __________.

(195 084)10

(001011111010 0000 1100)2

(195 084)10 & (001011111010 0000 1100)2

None of the mentioned

The amount of time required to read a block of data from a disk into memory is composed of seek time, rotational latency, and transfer time. Rotational latency refers to ______.

The time it takes for the platter to make a full rotation

The time it takes for the read-write head to move into position over the appropriate track

The time it takes for the platter to rotate the correct sector under the head

None of the mentioned

What characteristic of RAM memory makes it not suitable for permanent storage?

Too slow

Unreliable

It is volatile

Too bulky

Assembly language ________.

Uses alphabetic codes in place of binary numbers used in machine language

Is the easiest language to write programs

Need not be translated into machine language

None of the mentioned

Floating point representation is used to store ____________.

Boolean values

Whole numbers

Real integers

Integers

SIMD represents an organization that ______________.

Refers to a computer system capable of processing several programs at the same time

Represents organization of single computer containing a control unit, processor unit and a memory unit

Includes many processing units under the supervision of a common control unit

None of the mentioned

In Reverse Polish notation, expression A*B+C*D is written as __________.

AB*CD*+

A*BCD*+

AB*CD+*

A*B*CD+

In computers, subtraction is generally carried out by ______.

9’s complement

10’s complement

1’s complement

2’s complement

Quiz/Test Summary
Title: Storage Management in Compiler Design
Questions: 14
Contributed by:
Steve