

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. |
IN_LEX,_A_CLASS_IS_COMPLEMENTED_BY_FIRST_PLACING?$ |
A. | ^ |
B. | OR |
C. | – |
D. | NOT |
Answer» B. OR | |
2. |
LOADING_PROCESS_CAN_BE_DIVIDED_INTO_TWO_PROGRAMS._THE_FIRST_IS_BINDER_THE_OTHER_IS?$ |
A. | Linkage editor |
B. | Module Loader |
C. | Relocate |
D. | None of the mentioned |
Answer» C. Relocate | |
3. |
Yacc is available as a command on th? |
A. | MINIX |
B. | UNIX |
C. | DOS |
D. | None of the mentioned |
Answer» C. DOS | |
4. |
Output file of the Lex is _________ is the input file is Sam. |
A. | sam |
B. | sam.yy.c |
C. | sam.lex |
D. | sam.obj |
Answer» C. sam.lex | |
5. |
Which of the following type of software should be used if you need to create, edit and print document? |
A. | Word processing |
B. | Spreadsheet |
C. | Desktop publishing |
D. | UNIX |
Answer» B. Spreadsheet | |
6. |
Pick the machine independent phase of the compiler |
A. | Syntax analysis |
B. | Code generation |
C. | Lexical analysis |
D. | A, C and D |
Answer» E. | |
7. |
In Two pass assembler the object code generation is done during the |
A. | Second pass |
B. | First pass |
C. | Zeroth pass |
D. | Not done by assembler |
Answer» B. First pass | |
8. |
In a two pass assembler, adding literals to literal table and address resolution of local symbols are done using |
A. | First pass and second respectively |
B. | Both second pass |
C. | Second pass and first respectively |
D. | Both first pass |
Answer» E. | |