5 years ago in System software & compiler design

Which of the following derivation a top-down parser use while parsing an input string? The input is assumed to be scanned in left to right order ?

[A] Leftmost derivation
[B] Leftmost derivation traced out in reverse
[C] Rightmost derivation
[D] Rightmost derivation traced out in reverse
Loading...
Next Question

Overall Stats

Attempted 227
Correct 39
Incorrect 41
Viewed 147

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 6 days ago

Shamsa hafeez from Lahore, Pakistan is saying Leftmost derivation traced out in reverse is correct answer

indhuja indhuja
indhuja indhuja - 4 months ago

indhuja indhuja from Erode, India is saying Leftmost derivation is correct answer

uma maheswari
uma maheswari - 7 months ago

uma maheswari from Tiruchi, India is saying Rightmost derivation traced out in reverse is correct answer

Ahmed Safi
Ahmed Safi - 9 months ago

Ahmed Safi from Saudi, India is saying Leftmost derivation is correct answer

Kumar Gourav
Kumar Gourav - 10 months ago

Kumar Gourav from Delhi, India is saying Leftmost derivation traced out in reverse is correct answer

Related Questions

A processor ?

  • [A] is a device that performs a sequence of operations specified by instructions in memory
  • [B] is the device where information is stored
  • [C] is a sequence of instructions

Assembler is ?

  • [A] A program that places programs into memory an prepares them for execution
  • [B] A program that automate the translation of assembly language into machine language
  • [C] A program that accepts a program written in high level language and produces an object program
  • [D] Is a program that appears to execute a source program as if it were machine language

A program ?

  • [A] is a device that performs a sequence of operations specified by instructions in memory
  • [B] is the device where information is stored
  • [C] is a sequence of instructions

Memory ?

  • [A] is an device that performs a sequence of operations specified by instructions in memory
  • [B] is the device where information is stored
  • [C] is a sequence of instructions