AP Computer Science Unit 6

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/11

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

12 Terms

1
New cards

Algorithmic Efficiency

The measure of how effectively an algorithm performs in terms of time and resource usage.

2
New cards

Linear Algorithm

An algorithm that processes data in proportion to the input size, leading to O(n) time complexity.

3
New cards

Quadratic Algorithm

An algorithm that involves nested operations, resulting in O(n²) time complexity.

4
New cards

Constant Time Algorithm

An algorithm that executes a fixed number of steps, regardless of input size, resulting in O(1) time complexity.

5
New cards

Logarithmic Time Algorithm

An algorithm that reduces input size typically by half with each step, resulting in O(log n) time complexity.

6
New cards

Reasonable Time Algorithms

Algorithms such as linear, polynomial, constant, and logarithmic that can execute in a feasible timeframe.

7
New cards

Unreasonable Time Algorithms

Algorithms like exponential and factorial that take significantly longer to execute with increasing input sizes.

8
New cards

Exponential Algorithm

An algorithm that has time complexity represented as O(2^n), which grows rapidly with larger inputs.

9
New cards

Factorial Algorithm

An algorithm with time complexity indicated by n!, showing growth faster than exponential algorithms for larger inputs.

10
New cards

Heuristics

Approaches that provide approximate solutions to problems that are difficult to solve exactly within reasonable time.

11
New cards

Undecidable Problems

Problems that cannot be resolved by any algorithm for all possible inputs due to their fundamental unsolvable nature.

12
New cards

Halting Problem

The problem proven by Alan Turing that states it is impossible to determine whether a program will enter an infinite loop for all inputs.