Lecture 1 Ch 1

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

Vocabulary flashcards covering key computational concepts, algorithm characteristics, and problem-solving strategies from the introductory lectures.

12 Terms

1
New cards

Algorithm

A clear, precise, and executable step-by-step method to solve a problem that eventually stops and produces an output.

2
New cards

Halting Problem

A problem concerning whether a general algorithm exists to decide if a program will run forever or stop eventually.

3
New cards

Running Time

The amount of time required for an algorithm to produce an output, often evaluated in the worst case or on average relative to the input size.

4
New cards

Memory (Algorithm Performance)

The amount of memory consumed while running an algorithm to store data and variables.

5
New cards

Input

The data received by a computer or algorithm to perform computations on.

6
New cards

Output

The result reported by a computer or algorithm after executing computations.

7
New cards

Verification Task

A task where a candidate claim or answer is provided, and the algorithm evaluates whether to accept or reject it by outputting true or false.

8
New cards

Finding Task

A task where no candidate answer is provided, requiring the algorithm to directly compute and construct the result.

9
New cards

Roles

Placeholders or variables created in an algorithm script with specific purposes to store and track information during execution.

10
New cards

Current Maximum

A specific role created in an algorithm to track and store the largest value examined so far in a sequence.

11
New cards

Current Value

A specific role created in an algorithm to represent the sequence element currently being examined.

12
New cards

C#

The programming language used in this course to make programming principles precise.