CS 390 Midterm Review

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

1/13

flashcard set

Earn XP

Description and Tags

Module 1

Last updated 2:32 PM on 9/15/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

14 Terms

1
New cards

Deductive proof

a proof that begins with known facts, assumptions, or definitions, and uses logical reasoning to conclude.

2
New cards

Proof by contradiction

assuming the opposite of what we want to prove. if the assumption leads to a contradiction or an impossible result, then the original statement must be true.

3
New cards

Mathematical induction

a proof technique used to prove statements involving natural numbers or recursive patterns

4
New cards

Two main steps of mathematical induction

Step 1 - Base Case: show that the statement is true for the starting value.

Step 2 - Inductive Step: assume the statement is true for some value. then prove it must also be true for.

5
New cards

Function

a function can be viewed as a mapping between sets

6
New cards

Language

a set of strings

7
New cards

String

a sequence of symbols from an alphabet

8
New cards

Alphabet

any finite set of symbols

9
New cards

Empty string

a string containing no symbols. in theoretical computer science, we usually write it as:

<p>a string containing no symbols. in theoretical computer science, we usually write it as: </p>
10
New cards

Zero Power

concatenating zero strings gives out an empty string

<p>concatenating zero strings gives out an empty string</p>
11
New cards

Kleene Star

A*; all strings that can be formed by concatenating zero or more strings from A

12
New cards

Lexical Processing

breaks a stream of symbols into smaller meaningful units called tokens

13
New cards

Syntax

describes how tokens can be organized to from legal sentences in a language

14
New cards

Semantics

describes the meaning of a sentence or statement