Regular Languages Flashcards

1
Q

Finite state machine

A

A computational model which has a fixed number of potential states.

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

Two methods for representing a finite state machine

A
  • State transition diagrams
  • State transition table
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Name given to finite machines where each input has a corresponding output?

A

Mealy machine

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

Set theory

A

mathematical logic in which sets are collections of objects

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

Set Comprehension

A

a collection of rules to define which values are in a set

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

Countable set

A

a set with the same number of values as a subset of the natural number N

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

Finite Set

A

a set with a fixed number of values

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

Infinite set

A

a set whose values go on forever

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

countably infinte set

A

values will go on forever but can still be counted

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

cardinality

A

the number of values in a finite ser

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

what is the cartesian product of A and B
A = {1,2}
B= {3,4}

A

A x B = { (1,3), (1,4), (2,3), (2,4)}

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

Regular expressions

A

a sequence of characters used to describe a pattern. Used in searching and validation

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

Syntax

A

a set of rules for a given language

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

production rule

A

the set of acceptable inputs for a given symbol

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

Permutation of set

A

the number of ways you can arrange the set if objects

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