BPSC TRE – Compiler Design: Syntax Analysis & Parsing | Test 1

Questions 1-5 of 50

0% completed (0/50 answered)
Your score 0/50 0 answered
Correct 0 Incorrect 0 Unanswered 50 Accuracy 0%

Question 1

MCQ · Single Correct 1 mark

What is the primary function of the Syntax Analysis (Parsing) phase in a compiler?

Answers for question 1

Question 2

MCQ · Single Correct 1 mark

Which formal grammar model is universally employed by compiler parsers to specify the syntax of programming languages?

Answers for question 2

Question 3

MCQ · Single Correct 1 mark
Previous Year Question BPSC TRE 2.0 Class 9-10 PYQ PYQ

[BPSC TRE 2.0 Class 9-10 PYQ] Which of the following approaches is used by compilers for syntax analysis and parsing?

Answers for question 3

Question 4

MCQ · Single Correct 1 mark

A Context-Free Grammar is defined as 'Ambiguous' if:

Answers for question 4

Question 5

MCQ · Single Correct 1 mark

Which type of derivation is constructed when executing a Top-Down parser?

Answers for question 5
Scroll to Top