CHAPTER 2 - Formal Languages, Alphabets, String, and Notation

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

1/9

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:39 PM on 9/8/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

10 Terms

1
New cards

Alphabet

It is defined as a finite set of symbols.

2
New cards

Alphabet

any nonempty finite set.

3
New cards

Symbols

The members of the alphabet are the _______ of the alphabet. Denoted by ⅀

4
New cards

String

A "______" over an alphabet is a finite sequence of symbols from that alphabet, which is usually written next to one another and not separated by commas

5
New cards

Length

The "______" of a string is its length as a sequence. The length of a string w is written as |w|

6
New cards

Reverse string

"tite" -> "etit"

7
New cards

Substring

z is a _________ of w if z appears consecutively within w. • Example: If ∑a = {a, b, ..., z) then "deck" is a substring of "abcdeckabcjkl"

8
New cards

Concatenation

the string obtained by appending y to the end of x, as in x1x2...xm y1 y2... yn

9
New cards

Suffix

last letter of the string

10
New cards

Prefix

first letter of the string

Explore top flashcards

Religion Test
Updated 1050d ago
flashcards Flashcards (45)
ENGLISH EXAM BESTIES
Updated 992d ago
flashcards Flashcards (82)
Chapter 17-19
Updated 267d ago
flashcards Flashcards (22)
SAT Vocabulary
Updated 63d ago
flashcards Flashcards (100)
Stage 16 5ed
Updated 13d ago
flashcards Flashcards (44)
Religion Test
Updated 1050d ago
flashcards Flashcards (45)
ENGLISH EXAM BESTIES
Updated 992d ago
flashcards Flashcards (82)
Chapter 17-19
Updated 267d ago
flashcards Flashcards (22)
SAT Vocabulary
Updated 63d ago
flashcards Flashcards (100)
Stage 16 5ed
Updated 13d ago
flashcards Flashcards (44)