7 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 155
Correct 28
Incorrect 27
Viewed 100

Answers

Guest
Guest
Shourya Singh Rawat
Shourya Singh Rawat - 4 years ago

Shourya Singh Rawat from India is saying Leftmost derivation is correct answer

Shab e Zindagi
Shab e Zindagi - 4 years ago

Shab e Zindagi from Islamabad, Pakistan is saying Leftmost derivation is correct answer

Muhammad Jamshed Mahmood
Muhammad Jamshed Mahmood - 4 years ago

Muhammad Jamshed Mahmood from Lahore, Pakistan is saying Leftmost derivation is correct answer

maani641
maani641 - 4 years ago

maani641 from Lahore, Pakistan is saying Leftmost derivation is correct answer

Radhagovinda Mohapatra
Radhagovinda Mohapatra - 4 years ago

Radhagovinda Mohapatra from Bhubaneswar, India is saying Leftmost derivation is correct answer

Related Questions

Storage mapping is done by ?

  • [A] Loader
  • [B] Linker
  • [C] Operating system
  • [D] Compiler

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

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

An interpreter 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