Explore topic-wise MCQs in Compilers.

This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your Compilers knowledge and support exam preparation. Choose a topic below to get started.

1.

Assembly language ________

A. Uses alphabetic codes in place of binary numbers used in machine language
B. Is the easiest language to write programs
C. Need not be translated into machine language
D. None of the mentioned
Answer» B. Is the easiest language to write programs
2.

In computers, subtraction is generally carried out by ______

A. 9’s complement
B. 10’s complement
C. 1’s complement
D. 2’s complement
Answer» E.
3.

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

A. AB*CD*+
B. A*BCD*+
C. AB*CD+*
D. A*B*CD+
Answer» B. A*BCD*+
4.

SIMD represents an organization that ______________

A. Refers to a computer system capable of processing several programs at the same time
B. Represents organization of single computer containing a control unit, processor unit and a memory unit
C. Includes many processing units under the supervision of a common control unit
D. None of the mentioned
Answer» D. None of the mentioned
5.

Floating point representation is used to store ____________

A. Boolean values
B. Whole numbers
C. Real integers
D. Integers
Answer» D. Integers
6.

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?

A. 1 Megabyte/sec
B. 4 Megabytes/sec
C. 8 Megabytes/sec
D. 2 Megabytes/sec
Answer» E.