Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



Which of the following is the function of the semantic analysis phase of compilation process?






Solution

Compiler phases:


Lexical analysis → Tokenization


Syntax analysis → Parsing


Semantic analysis → Type checking, type conversion, scope checking


Optimization → Loop optimization, data flow analysis


Thus type conversion belongs to semantic analysis.



Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...