CC4 Chapter 1

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

1/33

flashcard set

Earn XP

Description and Tags

These flashcards cover the fundamental concepts of Data Structures and Algorithms, including design goals, algorithm definitions, complexity analysis, classifications, and implementation strategies.

Last updated 6:22 AM on 8/10/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

34 Terms

1
New cards

The algorithm design goal that ensures the logic produces the correct output for every valid input is _________.

Correctness

2
New cards

The goal that an algorithm should use as little time and memory as possible is known as _________.

Efficiency

3
New cards

A program that continues to work properly during unexpected situations, such as invalid input or runtime errors, demonstrates _________.

Robustness

4
New cards

The implementation goal that makes software easy to modify or extend when requirements change is _________.

Adaptability

5
New cards

Code written so it can be reused in other programs or projects expresses the goal of _________.

Reusability

6
New cards

An algorithm is defined as a _________ sequence of instructions that can be performed with a finite amount of effort.

finite

7
New cards

The algorithm characteristic that requires zero or more quantities are externally supplied is _________.

Input

8
New cards

The algorithm characteristic that requires at least one quantity is produced is called _________.

Output

9
New cards

The algorithm characteristic that requires each instruction to be clear and unambiguous is _________.

Definiteness

10
New cards

The algorithm characteristic that ensures the process terminates after a finite number of steps for all cases is _________.

Finiteness

11
New cards

The characteristic of _________ states that every instruction must be basic enough to be carried out by a person using only pencil and paper.

Effectiveness

12
New cards

Because potential inputs are often infinite in theory, we need _________ to ensure an algorithm satisfies its specification.

correctness proofs

13
New cards

The space needed by a program is the sum of the _________ part (independent of input characteristics) and the _________ part.

fixed; variable

14
New cards

Instruction space and space for constants are part of the _________ component of space complexity.

fixed

15
New cards

Recursion stacks and variables whose size depends on inputs are part of the _________ component of space complexity.

variable

16
New cards

Physical execution time in time complexity analysis is denoted by the symbol _________.

TP(n)TP(n)

17
New cards

The algorithm type designed to arrange items in ascending or descending order is _________.

Sorting

18
New cards

Algorithms for digital signal processing are known as _________.

Fast Fourier Transforms

19
New cards

A _________ algorithm fragments a problem into sub-problems which are solved partially and then terminated when further sub-division is impossible.

Divide-and-Conquer

20
New cards

A _________ algorithm chooses an immediately available best solution at each step.

Greedy

21
New cards

The classification where all possible solutions are explored until the end is reached and then steps are traced back is _________.

Back tracking

22
New cards

Flowcharts are graphic representations of algorithms usually reserved for _________ algorithms.

small and simple

23
New cards

In asymptotic notation, _________ represents the upper bounding function.

Big-O notation

24
New cards

In asymptotic notation, _________ represents the lower bounding function.

Ω Notation(omega)

25
New cards

The rate at which running time increases as a function of input is called the _________.

rate of growth

26
New cards

The _________ running time of an algorithm is an upper bound on the running time for any input.

Worst case

27
New cards

A _________ is a way of solving a problem in less time by using more storage space, or vice versa.

space-time tradeoff

28
New cards

Data types defined by the system, such as int, float, char, and bool, are called _________ data types.

Primitive

29
New cards

Accessing each record exactly once so that items may be processed is an operation called _________.

Traversing

30
New cards

Data structures like Array, Stack, Queue, and Linked List are categorized as _________.

Linear Data Structure

31
New cards

Data structures like Tree and Graph are categorized as _________.

Non – Linear Data Structure

32
New cards

Mathematical models of classes of data structures defined only by the operations that can be performed on them are _________.

Abstract Data Types (ADTs)

33
New cards

The practice of hiding implementational details from the user and protecting them from outside access is known as _________.

encapsulation

34
New cards

Proven algorithm structures that provide a general structure for algorithms but leave specific details to be added are called _________.

Design patterns