Choose a topic to test your knowledge and improve your System programming skills
Any syntactic construct that can be described by a regular expression can also be described by
When a language has the capability to produce new data types, it is said to be:
An assembly program contains:
Which of the following are Assembler Directives? (i) EQU (ii) ORIGIN (iii) START (iv) END
Assembler program is:
At the end of parsing,
Dead-code elimination in machine code optimization refers to:
A parse tree is an annotated parse tree if:
In a two pass compiler, during the first pass:
A single instruction in an assembly language program contains:
Absolute loader demands that the programmer needs to know the:
Top-down parsers are predictive parsers, because:
In the context of compiler design, βreduction in strengthβ refers to:
How many states can a process be in?
The parsing technique that avoids back tracking is:
A Top-down Parse generates:
In an absolute loading scheme, which loader function is accomplished by programmer?
Symbol table can be used for:
Linking
Which of the following is the most general phase-structured grammar ?
A compiler for a high level language that runs on one machine and produces code for a different machine is called:
The βKβ in LR (K) cannot be:
Peep-hole optimization is a form of:
An operating system is:
A permanent database of a general model of compiler is................
Loading operating system from secondary memory to primary memory is called...............
Which statement is wrong ?
Tasks done in parsing are:
YACC builds up ................. parsing table.
The action of passing the source program into the proper syntactic class is known as:
The dynamic binding occurs during the:
A general macro processor is an in built function of:
Which of the following is not collision Resolution Technique?
Which activity is not included in the first pass of two pass assembler?
If you want to execute more than one program at a time, the systems software that are used must be capable of:
Non modifiable procedures are called:
Which of the statements related to Compilers is wrong ?
Which of the following is the most general phase - structured grammar ?
Which activity is not included in the first pass of two pass assemblers ?
The principle of Locality of reference justifies the use of:
Which activity is not included in the first pass of two pass assemblers?
Code optimization is responsibility of:
Which activity is included in the first pass of two pass assemblers?
In two pass assembler the symbol table is used to store:
Not an assembler directive
In a compiler, the task of scanning the source code, to recognize and classify various elements is known as.
An example of a compiler-compiler is:
Consider the following program fragment in assembly language. What is the value of ax and cx registers after the completion of the doloop? mov ax, 0h mov cx, 0A h doloop: dec ax loop doloop
Consider the following assembly program segment. The contents of the destination register ax (in hexadecimal) and the status of Carry Flag (CF) after the execution of above instructions are: stc mov al, 11010110b mov cl, 2 rcl al, 3 rol al, 4 shr al, cl mul cl
Match the description of several parts of a classic optimizing compiler in List - I, with the names of those parts in List - II: List - I (a) A part of a compiler that is responsible for recognizing syntax. (b) A part of a compiler that takes as input a stream of characters and produces as output a stream of words along with their associated syntactic categories. (c) A part of a compiler that understand the meanings of variable names and other symbols and checks that they are used in ways consistent with their definitions. (d) An IR-to-IR transformer that tries to improve the IR program in some way (Intermediate representation). List - II (i) Optimizer (ii) Semantic Analysis (iii) Parser (iv) Scanner Code: (a) (b) (c) (d)