Skip to content

Specification of token

  • Post author:Educate
  • Post published:September 8, 2023
  • Post category:Compliler Design
  • Post comments:0 Comments

Strings and languages Terms for a part of string Term Definition Prefix of S A string obtained by removing zero or more trailing symbol of string S. e.g., ban is…

Continue ReadingSpecification of token

Explain token & pattern and lexemes

  • Post author:Educate
  • Post published:September 7, 2023
  • Post category:Compliler Design
  • Post comments:0 Comments

Token: Sequence of character having a collective meaning is known as token. Typical tokens are, 1) Identifiers 2) keywords 3) operators 4) special symbols 5) constants Pattern: The set of…

Continue ReadingExplain token & pattern and lexemes

Role of lexical analysis and its issues

  • Post author:Educate
  • Post published:September 6, 2023
  • Post category:Compliler Design
  • Post comments:0 Comments

The lexical analyzer is the first phase of compiler. Its main task is to read the input characters and produce as output a sequence of tokens that the parser uses…

Continue ReadingRole of lexical analysis and its issues

Write the difference between phase and pass

  • Post author:Educate
  • Post published:September 6, 2023
  • Post category:Compliler Design
  • Post comments:0 Comments

No. Phase Pass 1 The process of compilation is carried out in various step is called phase. Various phases are logically grouped together to form a pass. 2 The phases…

Continue ReadingWrite the difference between phase and pass

Explain types of compiler

  • Post author:Educate
  • Post published:September 6, 2023
  • Post category:Compliler Design
  • Post comments:0 Comments

No. Single pass compiler Multi pass compiler 1 A one-pass compiler is a compiler that passes through the source code of each compilation unit only once. A multi-pass compiler is…

Continue ReadingExplain types of compiler

Explain the pass of compiler

  • Post author:Educate
  • Post published:September 6, 2023
  • Post category:Compliler Design
  • Post comments:0 Comments

One complete scan of a source program is called passPass include reading an input file and writing to the output fileIn a single pass compiler analysis of source statement is…

Continue ReadingExplain the pass of compiler

Explain front end and back end in brief

  • Post author:Educate
  • Post published:September 6, 2023
  • Post category:Compliler Design
  • Post comments:0 Comments

The phases are collected into a front end and back end Front end The front end consist of those phases, that depends primarily on source language and largely independent of…

Continue ReadingExplain front end and back end in brief

Explain the context of a compiler

  • Post author:Educate
  • Post published:September 5, 2023
  • Post category:Compliler Design
  • Post comments:0 Comments

In addition to a compiler, several other programs may be required to create an executable target program PreprocessorPreprocessor produces input to compiler. They may perform the following functions,Macro processing: A preprocessor may…

Continue ReadingExplain the context of a compiler

Write the difference between compiler, interpreter and assembler

  • Post author:Educate
  • Post published:September 5, 2023
  • Post category:Compliler Design
  • Post comments:0 Comments

No. Compiler Interpreter 1 Compiler takes entire program as an input. Interpreter takes single instruction as an input. 2 Intermediate code is generated. No Intermediate code is generated. 3 Memory…

Continue ReadingWrite the difference between compiler, interpreter and assembler

What is compiler & List major functions done by compiler

  • Post author:Educate
  • Post published:September 5, 2023
  • Post category:Compliler Design
  • Post comments:0 Comments

A compiler is a program that reads a program written in one language and translates into an equivalent program in another language               Major functions done…

Continue ReadingWhat is compiler & List major functions done by compiler
  • 1
  • 2
  • 3
  • 4
  • …
  • 11
  • Go to the next page
© Educate - All Rights Reserved