Compiler Construction quiz 2

Compiler Construction quiz 2

University

10 Qs

quiz-placeholder

Similar activities

DFA_TAFL

DFA_TAFL

University

10 Qs

Quiz for 11 Sept 2020

Quiz for 11 Sept 2020

University

5 Qs

Automata theory Q1

Automata theory Q1

University

10 Qs

TOC_CSE-3_LA-1

TOC_CSE-3_LA-1

University

10 Qs

Finite Automata

Finite Automata

University

10 Qs

Automaton - Understanding 2

Automaton - Understanding 2

University

10 Qs

Theory of Computation Quiz

Theory of Computation Quiz

University

10 Qs

Compiler Construction quiz 2

Compiler Construction quiz 2

Assessment

Quiz

Computers

University

Medium

Created by

KALHORO SHADAB

Used 2+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?