Leading and Trailing

Leading and Trailing

University

5 Qs

quiz-placeholder

Similar activities

GUI Quiz

GUI Quiz

University

10 Qs

Selection Control Structure  Quiz

Selection Control Structure Quiz

6th Grade - University

10 Qs

Troubleshooting and Computer Maintenance Quiz

Troubleshooting and Computer Maintenance Quiz

University

10 Qs

Quiz 1: HTML & CSS

Quiz 1: HTML & CSS

University

10 Qs

Algorithm analysis: divide & conquer theory

Algorithm analysis: divide & conquer theory

University

10 Qs

Online Safety

Online Safety

2nd Grade - University

10 Qs

Web-II-Loop and Function

Web-II-Loop and Function

University

10 Qs

Condicionales en Racket

Condicionales en Racket

University

10 Qs

Leading and Trailing

Leading and Trailing

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

vijay vasanth

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the LEADING(S) for the following grammar?

S➔S-B|B

B➔B*A|A

A➔(S)|id

LEADING(S)={-,*,),id}    

LEADING(S)={-,*,(,id}    

LEADING(S)={-,*,(,)}

LEADING(S)={-,*,(}

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the TRAILING(T) for the following grammar?

E➔E+T|T

T➔T*F|F

F➔id|(E)

TRAILING(T)={+,*,(}        

TRAILING(T)={*,id,(}

TRAILING(T)={*,id,)}      

TRAILING(T)={+,*,id}

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If production is of form  A→ αa or A → αaB where B is Non-terminal, and α can be any string then it is applicable to

Trailing

Leading

LR

LALR

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Leading and Trailing are two functions belongs to

Predictive Parser

Operator Precedence parser

Syntax Analayzer

Intermediate Code Generator

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is uesd to map terminal symbols to integers in Operator precedence parsers?

precedence functions      

operator function

Lex Function

Iterative Function

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers