Theory Of Computation (Automata Theory) Flashcards

1
Q

Define Language

A

Language is a finite set of non empty strings

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

Alphabet

A

A Finite set of symbols or characters. It serves as a building block for constructing strings in a Language

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

String

A

A String is a finite sequence of symbols from an Alphabet. Strings can be as short as Zero symbols(empty string) or arbitrary long. Eg. “Hello’, “1234”

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

Types of finite Automata

A
  1. Without Output
    -DFA (Deterministic finite Automata)
    -NDFA or NFA (Non-Deterministic finite Automata)
    -E-NFA or E-NDFA (Non Deterministic Finite Automata with E-moves)
  2. With Output
    -Moole Machine
    -Mealy Machine
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define Finite Automata

A

Finite Automata is an abstract computing device. It is a mathematical model of a system with **discrete inputs, Outputs, states, and sets of transitions from state to state that occurs on input symbols from an alphabet:

M = (Q, ∑, δ, q0, F)

Q: finite set of states.
∑: finite set of the input symbol.
q0: initial state.
F: final state.
δ: Transition function.**

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

Define Kleene Star

A

The Kleene star, ∑*, is a unary operator on a set of symbols or strings, ∑, that gives the infinite set of all possible strings of all possible lengths over ∑ including λ.

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

Chomsky’s classification

A
  1. Recursive
  2. Context sensitive
  3. Context- free
  4. Regular grammar
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Chomsky type0

A

Recursive

Production are Without any restrictions

Turing machine

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

Chomsky Type1

A

Generates **Context sensitive ** language

Length of RHS must be => LHS

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

Chomsky type2

A

LHS must be <= rhs

LHS contains only terminals, RHS can contain terminals and non terminals

Generates Context-free grammar

Eg:

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

Chomskys type3

A

generates Regular grammar

Non-Terminal produces Terminal T=>t

Or T=> tT

Used for finite Automata

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

Kleene’s Closure L*

A

Is the infinite set of all possible length including Ɛ

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