Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
347 views
in General by (85.4k points)
closed by

Match the following:

(P)

Lexical analysis

(i)

Leftmost derivation

(Q)

Top down parsing

(ii)

Type checking

(R)

Semantic analysis

(iii)

Regular expressions

(S)

Runtime environments

(iv)

Activation records


1. P – i, Q – ii, R – iv, S - iii
2. P – iii, Q – i, R – ii, S - iv
3. P – ii, Q – iii, R – I, S - iv
4. P – iv, Q – I, R – ii, S - iii

1 Answer

0 votes
by (88.5k points)
selected by
 
Best answer
Correct Answer - Option 2 : P – iii, Q – i, R – ii, S - iv

Lexical analysis: Lexical analysis is the first phase of a compiler. It takes the modified source code from language pre-processors that are written in the form of sentences.  Lexical analyser breaks these syntaxes into a series of tokens. Lexical analysis uses regular expression to recognize identifiers.

Top down parsing: Top down parsing technique parses the input by starts constructing a parse tree from the root node moving down to the leaf nodes. Top down parser uses the left most derivation to generate the string.

Semantic analysis: Semantic analysis is the task of ensuring that declarations and statements of a program are semantically correct. For this, it uses type casting.

Run time environments: Run time environment is a state of the target machine, which may include software libraries, environment variables etc. to provide services to the processes running in the system. Activation records of a function are loaded into stack at runtime.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...