This set of MCQs helps students to learn about context-free grammar and syntax analysis, which is a certain type of formal grammar and a set of production rules that describe all possible strings in a given formal language. CFG is also used to specify the syntax of a language.
Which phase of the compiler is Syntax Analysis?
Syntax Analyser takes Groups Tokens of source Program into Grammatical Production.
From where it takes its input from?
Parsers are expected to parse the whole code.
Which of these is not true about the Symbol Table?
Which of these features of assembler are Machine-Dependent?
A compiler can check?
Select a Machine Independent phase of the compiler.
A system program that combines the separately compiled modules of a program into a form suitable for execution?
Which of the following system software resides in the main memory?
Output file of Lex is __________ the input file is Myfile.
By whom is the symbol table created?
Syntax Analyser is also known as ___________.
Hierarchical Analysis
Hierarchical Parsing
None of the mentioned
Hierarchical Analysis & Parsing
A grammar for a programming language is a formal description of _______________.
Syntax
Semantics
Structure
Library
The fourth Generation computer was made up of ______________.
Transistor
Vacuum tubes
Chips
Microprocessor chips