Compiler Construction quiz 2

Compiler Construction quiz 2

University

10 Qs

quiz-placeholder

Similar activities

Quiz-1(Session 2023-24)

Quiz-1(Session 2023-24)

University

11 Qs

DFA - Design 2

DFA - Design 2

University

10 Qs

Automaton - Understanding 2

Automaton - Understanding 2

University

10 Qs

Theory of Computation Quiz

Theory of Computation Quiz

University

10 Qs

ATCD - MCQ - IAE1 Portions

ATCD - MCQ - IAE1 Portions

University

15 Qs

Quiz 6 Teori Bahasa dan Otomata 2021-2

Quiz 6 Teori Bahasa dan Otomata 2021-2

University

10 Qs

Quiz 6 Teori Bahasa dan Otomata 2023-1

Quiz 6 Teori Bahasa dan Otomata 2023-1

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?