Regular Languages

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

1/18

flashcard set

Earn XP

Description and Tags

Last updated 3:32 PM on 6/9/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

19 Terms

1
New cards

What is an algorithm

A sequence of steps to complete a task

2
New cards

What is a set?

An abstract data type which stores unordered unique values

3
New cards

what is a finite set?

A set which contains a finite number of items

4
New cards

What is a subset?

A set that contains only values from another set

5
New cards

What is a proper subset?

A subset that is not equal to its parent set.

6
New cards
7
New cards

Define cardinality

The amount of items in a set

8
New cards

What is a countably infinite set?

A set with infinite items that can be counted off using the natural numbers

9
New cards

What is a non - countably infinite set?

A set with infinite items that cannot be counted off using the natural numbers

10
New cards

What does * mean in Regex?

0 or more repetitions

11
New cards

What does + mean in Regex?

1 or more repetitions

12
New cards

What does | mean in regex?

Or

13
New cards

What does ? mean in Regex?

The previous character is optional

14
New cards

What is a context free language?

A set of strings or symbols that follow the rules of context free grammar

15
New cards

What is a non terminal?

Something that can be broken down to more terminals, non terminals or both

16
New cards

What is a terminal?

Something that cant be broken down further

17
New cards

Write address is a number and street it backus-Naur form.

<address> ::= <number><street>

18
New cards

What is Backus - Naur form?

A way of notating context free languages

19
New cards

What is a universal Turing machine?

A Turing machine that is capable of representing any other Turing machine