Home
Courses
About
School
Notes
Questions
MCQ
Contact
Vocational Courses
Compilers
Compilers
Syntax-Directed Definitions and Translations
Question 1
Marks :
+2
|
-2
Pass Ratio :
100%
The process manager has to keep track of ___________
Status of each program
Information to a programmer using the system
Status of each program & Information to a programmer using the system
None of the mentioned
Explanation:
Process manager keep track of the status and info about the program.
Question 2
Marks :
+2
|
-2
Pass Ratio :
100%
The method which merges the bodies of two loops is?
Loop rolling
Loop jamming
Constant folding
None of the mentioned
Explanation:
In computer science, loop fusion (or loop jamming) is a compiler optimization and loop transformation which replaces multiple loops with a single one.
Question 3
Marks :
+2
|
-2
Pass Ratio :
100%
Which table is a permanent database that has an entry for each terminal symbol?
Terminal Table
Literal Table
Identifier Table
None of the mentioned
Explanation:
A database that has entry for each terminal symbols such as arithmetic operators, keywords, punctuation characters such as ‘;’, ‘,’etc Fields: Name of the symbol.
Question 4
Marks :
+2
|
-2
Pass Ratio :
100%
The table created by lexical analysis to describe all literals used in the source program is?
Terminal table
Literal table
Identifier table
Reductions
Explanation:
In computer science, and specifically in compiler and assembler design, literal pool is a lookup table used to hold literals during assembly and execution.
Question 5
Marks :
+2
|
-2
Pass Ratio :
100%
The root directory of a disk should be placed ___________
At a fixed address in main memory
At a fixed location on the disk
Anywhere on the disk
None of the mentioned
Explanation:
Root directory is placed at a fixed disk location
Question 6
Marks :
+2
|
-2
Pass Ratio :
100%
The segment base is specified using the register named is?
ORG instructions
TITLE instruction
ASSUME instruction
SEGMENT instruction
Explanation:
ORG segment base register is used to specify the register.
Question 7
Marks :
+2
|
-2
Pass Ratio :
100%
Pass I ______________
Assign address to all statements
Save the values assigned to all labels for use in pass 2
Perform some processing
All of the mentioned
Explanation:
The pass 1 of a compiler the above mentioned functions are performed
Question 8
Marks :
+2
|
-2
Pass Ratio :
100%
Dividing a project into segments and smaller units in order to simplify design and programming efforts is called?
Modular approach
Top down approach
Bottom up approach
Left right approach
Explanation:
Modular design, or “modularity in design”, is a design approach that subdivides a system into smaller parts called modules or skids that can be independently created and then used in different systems.
Question 9
Marks :
+2
|
-2
Pass Ratio :
100%
Software that measures, monitors, and controls events are ___________
System S/w
Real Time software
Scientific software
Business Software
Explanation:
In computer science, real-time computing (RTC), or reactive computing describes hardware and software systems subject to a “real-time constraint”, for example operational deadlines from event to system response.
Question 10
Marks :
+2
|
-2
Pass Ratio :
100%
Which loader function is accomplished by loader?
Reallocation
Allocation
Linking
Loading
Explanation:
Function of a loader.
1
2
3
4
5
6
7
8
9
10
Time Left:
Submit
Score
:
Rank
:
Accuracy
:
%
Time
:
Total Question
:
Attempted
:
Correct
:
Wrong
:
User Name
Email Id
Mobile No
Submit