Principles of Programming Languages MCQs | Page - 4
Dear candidates you will find MCQ questions of Principles of Programming Languages here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
β
Correct Answer: (D)
axiomatic semantics.
Q. In a compiler.....checks every character of the source text.
β
Correct Answer: (A)
the lexical analyzer.
Q. ..... Syntax can only represent a rule in one line, whereas in.....a terminating character, the semicolon, marks and end of a rule.
β
Correct Answer: (B)
bnf,ebnf
Q. Postcondition is
β
Correct Answer: (A)
predicate p required to hold after execution of statement s
Q. Predicate Q can be return as
β
Correct Answer: (A)
q=t and r;t=termination,r=truth of p
Jump to