TOC Flashcards

1
Q

the length every symbol is

A

1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

no of suffixes and prefixes of a string is

A

n+1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

total no of substring of a string if every symbol is distinct

A

n(n+1)/2 + 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

E^* means

A

Set of all strings possible by that alphabet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a language ?

A

subset of E^*

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How is phi a language?

A

generally a language is a subset of E^* and an empty set is a subset of every set hence.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

L.phi =?

A

phi according to definition A.B={wx|w€A,x€B}we cant show any string that belongs to phi hence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what is the transition function?

A

its a function mapping QxE->Q

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

the language accepted by dfa is

A

Regular language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

no of states in dfa of modulo counting k is

A

k

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

no of states in dfa of divisibility of language by n
(actual division)

A

<=n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

no of states in dfa of the language the kth symbol from the right is

A

2^k

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How does converting final <->non final states make a complement of a dfa?

A

Complement means collection of the strings that end in non final states to accept them just convert final into non final and vice versa

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does product automata can guarantee?

A

The mdfa contains <=product of no of states in each dfa

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are distinguishable and non distinguishable states?

A

&(A,w)<-F <-> &(B,w)<- final and vice versa

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

By what string final and non final strings are always distinguishable?

A

Epsilon coz final stays in final by epsilon and non final stays in non final by epsilon

17
Q

What does null move means?

A

Moving from one state to another without reading any symbol

18
Q

Why fo we same symbol for null mobe and null string?

A

€ab€aaa€

19
Q

What is the transition function of NFA?

A

Q x (£ u {€}) ->2^k states