design and analysis prelim

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/44

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 10:50 AM on 2/20/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

45 Terms

1
New cards

Algorithm

A set of finite and detailed step-by-step instructions performed to complete a specific task

2
New cards

Algorithmics

The design and analysis of computer algorithms

3
New cards

Input Specification

The inputs of an algorithm must be clearly identified and can be zero or more values taken from a specified set

4
New cards

Output Specification

The output of an algorithm and its relationship to the input must be clearly identified and an algorithm must have at least one output

5
New cards

Definiteness

All steps in an algorithm must be precisely and unambiguously defined

6
New cards

Finiteness

An algorithm must terminate after a finite number of steps using a finite amount of resources

7
New cards

Effectiveness

All operations in an algorithm must be basic enough to be performed exactly and in finite time

8
New cards

Pseudocode

A generic way of describing an algorithm without using any specific programming language syntax

9
New cards

Flowchart

A graphical representation of an algorithm using connected symbols to show the sequence of steps

10
New cards

Exact Problem Solving

A problem-solving approach that produces a definite and quantifiable result

11
New cards

Approximate Problem Solving

A problem-solving approach that produces a near result to the actual value

12
New cards

Algorithm Design Technique

A general strategy used to solve problems algorithmically

13
New cards

Brute Force

A straightforward approach that directly follows the problem definition

14
New cards

Divide and Conquer

An approach that breaks a problem into smaller subproblems, solves them, and combines the results

15
New cards

Data Structure

A method of organizing data in a computer for efficient use

16
New cards

Linear Data Structure

A data structure where elements are arranged sequentially and each element has a unique successor

17
New cards

Array

A linear data structure containing a fixed number of elements of the same data type

18
New cards

Linked List

A data structure consisting of nodes connected using pointers

19
New cards

Singly Linked List

A linked list where each node contains a pointer to the next node

20
New cards

Doubly Linked List

A linked list where each node contains pointers to both the previous and next nodes

21
New cards

Circularly Linked List

A linked list where the last node points back to the first node

22
New cards

Graph Data Structure

A collection of vertices and edges representing relationships between objects

23
New cards

Directed Graph

A graph where edges have a specific direction

24
New cards

Undirected Graph

A graph where edges have no direction

25
New cards

Tree Data Structure

A hierarchical data structure consisting of nodes and directed branches

26
New cards

Root

The first node of a tree

27
New cards

Leaf

A node in a tree with no outgoing edges

28
New cards

Internal Node

A node that is neither the root nor a leaf

29
New cards

Binary Tree

A tree in which each node has at most two children

30
New cards

Binary Search Tree

A binary tree where left subtree values are less than the root and right subtree values are greater or equal

31
New cards

AVL Tree

A self-balancing binary search tree with a balance factor

32
New cards

Heap Tree

A complete or nearly complete binary tree that satisfies the heap property

33
New cards

Algorithm Correctness

The property that ensures an algorithm produces the correct output for every valid input

34
New cards

Algorithm Analysis

The process of evaluating an algorithm’s performance

35
New cards

Time Complexity

A measure of how an algorithm’s running time grows with input size

36
New cards

Space Complexity

A measure of how much memory an algorithm uses

37
New cards

Sorting Problem

A problem that involves rearranging elements in a list into a specific order

38
New cards

Searching Problem

A problem that involves finding a specific value in a data set

39
New cards

String Processing Problem

A problem involving sequences of characters

40
New cards

Graph Problem

A problem involving objects and the connections between them

41
New cards

Breadth First Search

A graph traversal algorithm that explores nodes level by level

42
New cards

Depth First Search

A graph traversal algorithm that explores as far as possible along each branch before backtracking

43
New cards

Combinatorial Problem

A problem that involves finding combinations, permutations, or subsets under constraints

44
New cards

Geometrical Problem

A problem involving geometric objects such as points, lines, and polygons

45
New cards

Numerical Problem

A problem involving continuous mathematical computation