Search Header Logo

Compiler Construction quiz 2

Authored by KALHORO SHADAB

Computers

University

Used 3+ times

Compiler Construction quiz 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In regular expression 'S' is defined as:

set of strings

epsilon

both

none

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A___________ accept a string if we can follow transition labelled with characters in the string from start state to same accepting string.

regular expression

finite automaton

state

none

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

We can build finite automaton based on the definition of _____________

Finite state

Regular expression

both

none

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The input to the syntax analyzer is _________

token stream

syntax stream

both

none

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The syntax of source language is described by _____________

context free grammar

regular experssion

finite automata

none

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The context free grammar is a collection of four tuple, known as_______

VTPS

WTPS

TPSS

ALL

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In __________ we are actually defining set of rules which helps us to make string we called language.

regular expression

context free grammar

finite automata

all

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?