SDT Schemes to Specify Translation of various Programming Language Construct

Question 1
Marks : +2 | -2
Pass Ratio : 100%
Daisy chain is a device for ___________
None of the mentioned
Connecting devices to a controller
Connecting controller to devices
All of the mentioned
Explanation:
Combines multiple devices in sequence or a ring.
Question 2
Marks : +2 | -2
Pass Ratio : 100%
Which of the following software tool is parser generator?
Lex
Yacc
Lex & Yacc
None of the mentioned
Explanation:
YACC is a LALR parser.
Question 3
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is not true?
UGL doesn’t support high level seven interaction
Many DBMS support 4GLs
All of the mentioned
None of the mentioned
Explanation:
It supports HLL.
Question 4
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is not a type of assembler?
One pass
Two pass
Three pass
Load and go
Explanation:
No 3 pass assembler created as yet.
Question 5
Marks : +2 | -2
Pass Ratio : 100%
What is the input of Lex?
Set to regular expression
Statement
Numeric data
ASCII data
Explanation:
Input is a string.
Question 6
Marks : +2 | -2
Pass Ratio : 100%
A Compiler has __________ phases.
7
6
8
None of the mentioned
Explanation:
It has 8 phases.
Question 7
Marks : +2 | -2
Pass Ratio : 100%
Yacc semantic action is a sequence of ___________
Tokens
Expression
Statement
Rules
Explanation:
Yacc is yet another compiler which is a set of statements.
Question 8
Marks : +2 | -2
Pass Ratio : 100%
A Lex compiler generates ___________
Lex object code
Transition tables
Tokens
None of the mentioned
Explanation:
The output of Lex is a string of tokens.
Question 9
Marks : +2 | -2
Pass Ratio : 100%
Non modifiable procedures are called ___________
Concurrent procedures
Serially usable procedures
Re-entrant procedures
Top down procedures
Explanation:
These can’t be modified.
Question 10
Marks : +2 | -2
Pass Ratio : 100%
In which addressing mode the operand is given explicitly in the instruction?
Absolute mode
Immediate mode
Indirect mode
Index mode
Explanation:
In Immediate addressing mode operand is directly found from the instruction.