MCQOPTIONS
Saved Bookmarks
This section includes 8 Mcqs, each offering curated multiple-choice questions to sharpen your Compilers knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Assembler is a program that _________ |
| A. | Puts programs into memory and executes them |
| B. | Translates the assembly language into machine language |
| C. | Writes in high level language and produces an object program |
| D. | None of the mentioned |
| Answer» C. Writes in high level language and produces an object program | |
| 2. |
Uniform symbol table _________ |
| A. | Has all constants in the program |
| B. | Permanent table of rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure |
| C. | Consists of full or partial list of the tokens as they appear in the program created by Lexical analysis and used for syntax analysis and interpretation |
| D. | A permanent table which has all key words and special symbols of the language in symbolic form |
| Answer» D. A permanent table which has all key words and special symbols of the language in symbolic form | |
| 3. |
A system program that setup an executable program in main memory ready for execution is? |
| A. | Assembler |
| B. | Linker |
| C. | Loader |
| D. | Load and go |
| Answer» D. Load and go | |
| 4. |
A loader is a program that _________ |
| A. | Program that places functions into memory and prepares them for execution |
| B. | Program that automates the translation of assembly language into machine language |
| C. | Program accepting another program written in a high level language and produces as object program |
| D. | None of the mentioned |
| Answer» B. Program that automates the translation of assembly language into machine language | |
| 5. |
A series of statements explaining how the data is to be processed is called _________ |
| A. | Assembly |
| B. | Machine |
| C. | COBOL |
| D. | Program |
| Answer» E. | |
| 6. |
System program such as compiler are designed so that they are _________ |
| A. | Re-enterable |
| B. | Non reusable |
| C. | Serially usable |
| D. | None of the mentioned |
| Answer» B. Non reusable | |
| 7. |
Advantage of incorporating the macro-processor into pass 1 is that _________ |
| A. | Many functions have to be implemented twice |
| B. | Functions are combined not necessarily creating intermediate files as output from the macro-processor and input to the assembler |
| C. | More flexibility is provided to the programmer in that he may use all the features of the assembler in conjunction with macros |
| D. | All of the mentioned |
| Answer» E. | |
| 8. |
What is terminal table? |
| A. | Contains all constants in the program |
| B. | Is a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure |
| C. | Consist of a full or partial list of the token is as they appear in the program created by lexical analysis and used for syntax analysis and interpretation |
| D. | Is a permanent table which lists all keywords and special symbols of the language in symbolic form |
| Answer» E. | |