ICSI 409 - Formal methods Midterm

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/11

flashcard set

Earn XP

Description and Tags

Terms and definitions

Last updated 3:29 AM on 10/7/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

12 Terms

1
New cards

FA is a 5-Tuple

Q, Σ, δ, q0, F

2
New cards

Q

A finite set of states

3
New cards

Σ

A finite alphabet

4
New cards

δ

A state transition function

5
New cards

q0

The initial state

6
New cards

F

The set of accepting states

7
New cards

What is a regular language?

  1. it can be read/recognized by a finite automata machine

  2. It can be described by a regular expression


8
New cards

Finite automaton

A mathematical model that consists of a finite
set of states, a set of input symbols (also called an alphabet), and a
set of transitions between states that are triggered by the input
symbols.

9
New cards

When are regular languages used?

When a problem can be solved with finite memory

10
New cards

Two types of FA

DFA - Deterministic Finite Automata

NFA - Non-Deterministic Finite Automata

11
New cards

4 rules for building a DFA

  1. The automaton must have a finite number of states, represented as circles on a diagram

  2. The automaton must have a set of input symbols, which can be represented arrows between states. The input symbols are the alphabet of the automaton.

  3. There must be a start state, which is the initial state of the automaton. This state represented by an arrow pointing to it.

  4. There must be one or more accepting states, which are the final states of the automaton. These states are represented by a double circle

  5. The transition between states must be defined by a transition function, which maps each state and input symbol to a new state.

  6. The transition between states must be deterministic,

  7. The automaton must be minimal.


12
New cards