Exam 1: Formal Languages and Automata Theory: Part A

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The following grammar G = (N, T, P, S) N = {S, A, B, C} T = {a, b, c} P : S ? aS A ? bB B ? cC C ? a is

Free
(Multiple Choice)
4.9/5
(33)
Correct Answer:
Verified

A

If G is a connected planar graph of v vertices e edges and r regions then

Free
(Multiple Choice)
4.8/5
(39)
Correct Answer:
Verified

A

Any given transition graph has an equivalent:

Free
(Multiple Choice)
4.9/5
(40)
Correct Answer:
Verified

D

Given an arbitrary non-deterministic finite automaton NFA with N states, the maximum number of states in an equivalent minimized DFA is at least:

(Multiple Choice)
4.8/5
(30)

Which one of the following statement is FALSE?

(Multiple Choice)
4.8/5
(24)

Grammars that can be translated to DFAs:

(Multiple Choice)
4.9/5
(33)

Which of the following is true with respect to Kleene's theorem? 1 A regular language is accepted by a finite automaton. 2 Every language is accepted by a finite automaton or a turingmachine.

(Multiple Choice)
4.8/5
(53)

A language L is accepted by a FSA iff it is

(Multiple Choice)
4.9/5
(39)

Type-1 Grammar is known as_____________

(Multiple Choice)
4.9/5
(35)

Let L1 = {w ? {0,1}? | w has at least as many occurrences of (110)'s as (011)'s}. Let L2 = { ? {0,1}? | w has at least as many occurrences of (000)'s as (111)'s}. Which one of the following is TRUE?

(Multiple Choice)
4.9/5
(39)

Regular expressions are

(Multiple Choice)
4.9/5
(32)

Let w be any string of length n is {0,1}*. Let L be the set of all substrings of w. What is the minimum number of states in a non-deterministic finite automaton that accepts L?

(Multiple Choice)
4.8/5
(37)

Consider the regular language L = (111+111111)*. The minimum number of states inany DFA accepting this language is

(Multiple Choice)
4.8/5
(45)

Which of the following is TRUE?

(Multiple Choice)
4.7/5
(37)

Consider the following language L = {anbncndn n ? 1} L is

(Multiple Choice)
4.8/5
(38)

If G is a simple connected 3-regular planar graph where every region is bounded by exactly 3 edges, then the edges of G is

(Multiple Choice)
5.0/5
(40)

A spanning tree for a simple graph of order 24 has

(Multiple Choice)
4.8/5
(41)

If G is a simple connected 3-regular planar graph where every region is bounded by exactly 3 edges, then the edges of G is

(Multiple Choice)
4.9/5
(40)

The following grammar G = (N, T, P, S) N = {S, A, B, C, D, E} T = {a, b, c} P : S ? aAB AB ? CD CD ? CE C ? aC C ? b BE ? bc is

(Multiple Choice)
4.8/5
(48)

Two strings x and y are indistinguishable if:

(Multiple Choice)
5.0/5
(41)
Showing 1 - 20 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)