Automatay

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

Set Theory

1 / 63

flashcard set

Earn XP

Description and Tags

shit this subject

64 Terms

1

Set Theory

collection of elements, used to design things like alphabets, states and language in automata

New cards
2

Union

Set of all elements either A or B

New cards
3

Intersection

  •  Set of all elements common in A and B

New cards
4

Difference

  •  Set of all elements in A but not in B or

  • Set of all elements in B but not in A (depends on the diagram

New cards
5

Complement

 Set of all elements not in A assuming universal set

New cards
6

sequence and tuples

list of objects in some order


order list of elements, where the repetition is allowed

New cards
7

Graphs

set of objects where some pairs of objects are connected by edges

New cards
8

Graphs

mathematical representation of set of objec

New cards
9

Directed

  •  with arrow one vertex to another

New cards
10

Undirected graph

has no arrow

New cards
11

Weighted graph

  •   with weights

New cards
12

Unweighted graph

  •  has no weights

New cards
13

Automata

  • a foundation for understanding more complex computation models

New cards
14

Automata

Study of abstract computing devices, or “machines”

New cards
15

Symbols

a single from an alphabet

New cards
16

Alphabet

- A finite set of symbols  (crucial in automata as it determine)

New cards
17

String

sequence from an alphabet, denoted as ÎŁ

New cards
18

Alphabet

finite, non-empty set of symbols

New cards
19

Alphabet

  • use the symbol ∑ (sigma) to denote alphabet i.e  ∑ = {0,1}1

New cards
20

Strings

  • a finite sequence of symbols

  • Empty is string is denoted as Δ (Epsilon)

New cards
21

Δ (Epsilon)

Empty is string is denoted as

New cards
22

Finite Automata

Captures all possible states and transitions that a machine can take while responding to a stream

New cards
23

Deterministic Finite Automata (DFA)

Non Deterministic Finite Automata (NFA)

Two types of FA

New cards
24

Deterministic Finite Automata (DFA)

  • Machine can exist one state at any given time

  • For each state, transition on all possible symbols (alphabet) should be defined

New cards
25

Deterministic Finite Automata (DFA)

Sometimes harder due to number of states

New cards
26

Q

  •  a finite set of states

New cards
27

∑

 a finite set of input symbols (alphabet)

New cards
28

q0

  •  a start state

New cards
29

ÎŽ

a transition function, which is a mapping between Q x ∑ -> Q

New cards
30

NFA (Non-deterministic Finite Automata)

  • Can exist multiple states at the same time

  • Not all symbol transitions need to be defined explicitly

  • General easier to construct than DFA

New cards
31
  •  Q x ∑ -> 2^Q

a transition function of NFA

New cards
32

Micron’s Automata Processor

  • Introduced in 2013

  • 2D array of MISD (multiple instruction single data) fabric w/ thousands to millions of processing

  • 1 input symbol = fed to all states

New cards
33

Equivalence of DFA and NFA

  • A language L is accepted by DFA if and only if accepted by NFA

New cards
34

Transition with Δ-NFA

  • transition from one state to another state without consuming any additional input symbol

  • Much easier to construct NFA

  • Δ is added on column on transition table

New cards
35

 Δ -close

  • Set of all states including itself  that can be reached from q by making numerous amount of transition

New cards
36

Language Recognition

  • explores how to design and implement computational models, like automata, that can determine whether a given string belongs to a specific language. 

  •  sets of strings derived from a finite alphabet. Grammars provide a mechanism to enumerate the sentences of a language

New cards
37

Regular Expressions

  • a declarative way to express the pattern of any string

  • More program syntax-like

  • Commonly associated with use of regex in Unix Environment (i.e grep, vi, shell, perl)

  • Lexical analyzer (flex or lex)

New cards
38

Atomic Expressions

Individual characters (like 'a', 'b', '0', '1'), the empty string (Δ), and the symbol for the empty language (∅).

New cards
39

Union

L U M = all strings that are either in L or M

New cards
40

Concatenation

all strings that are of the form xy

New cards
41

Star(*)

Includes all strings formed by concatenating zero or more string

New cards
42

Mealy Machine

  • output depends on the present state as well as the present input.

  •  fewer states than Moore Machine.

New cards
43


Moore Machine

  • outputs depend on only the present state.

  • more states than Mealy Machine

New cards
44

Theory of Computation

is a branch of computer science and mathematics that focuses on understanding the fundamental capabilities and limitations of computers.

New cards
45

Theory of Computation

provides what problems can solve using algorithms and how efficiently they can be solved.

New cards
46

Computability Theory

Which can and cannot be solved by computer.

New cards
47

Complexity Theory

It investigates the amount of resources such as time and memory.

New cards
48

P

Can be solve quickly

New cards
49

NP

(can be verified but enough time is needed to solved) problems.

New cards
50

Complexity Theory

is required to solve problems using computer.

New cards
51

Decidable

(can be solved using algorithm).

New cards
52

Undecidable

(can’t be solve of any algorithm)

New cards
53

Decidable

Undecidable

Main goals of TOC

New cards
54

Type 3 - Regular Grammar Finite automata

Rules are straightforward and don’t required a lot of memory to process.

New cards
55

Type - 2 Context Free Grammar Push Down Automata

More complex and it describes the language with more complicated structure,

New cards
56

Type 1 - Context Sensitive Grammar Lenear Bound automata

Rules can be change based on what’s around the symbol and making the language more flexible and complex.

New cards
57

Type 0 – Recursively Enumerable Language Turing Machines

Most powerful level of hierarchy.

- It describes as any language that a computer can generate or recognize.

- Turing Machines, likely to function in computers that can use unlimited memory and solve any problem that is theoretically computable.

New cards
58

String

a finite sequence of symbols from an alphabet

New cards
59

Noam Chomsky

highly influential American linguist, philosopher, cognitive scientist, historian, social critic, and political activist.

New cards
60

CHOMSKY HIERARCHY

Noam Chomsky introduced ________ in 1950s is for the classification of formal Grammars.

New cards
61

SEQUENCE

a list of objects in some order

New cards
62

Boolean Logic

a mathematical system built around the two values TRUE or FALSE

New cards
63
New cards
64
New cards

Explore top notes

note Note
studied byStudied by 28 people
... ago
5.0(1)
note Note
studied byStudied by 10 people
... ago
5.0(1)
note Note
studied byStudied by 10 people
... ago
5.0(1)
note Note
studied byStudied by 3 people
... ago
5.0(1)
note Note
studied byStudied by 13 people
... ago
5.0(1)
note Note
studied byStudied by 8 people
... ago
5.0(1)
note Note
studied byStudied by 31 people
... ago
5.0(2)

Explore top flashcards

flashcards Flashcard (255)
studied byStudied by 13 people
... ago
5.0(1)
flashcards Flashcard (56)
studied byStudied by 6 people
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 12 people
... ago
5.0(2)
flashcards Flashcard (38)
studied byStudied by 24 people
... ago
5.0(1)
flashcards Flashcard (72)
studied byStudied by 132 people
... ago
5.0(3)
flashcards Flashcard (87)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (96)
studied byStudied by 22 people
... ago
5.0(1)
flashcards Flashcard (485)
studied byStudied by 305 people
... ago
5.0(6)
robot