Algorithms and Programming Vocabulary Review

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/30

flashcard set

Earn XP

Description and Tags

Flashcards covering key vocabulary from the Algorithms and Programming curriculum.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

31 Terms

1
New cards

Unreasonable Time

Algorithms with exponential or factorial efficiencies are examples of algorithms that run in an unreasonable amount of time.

2
New cards

Assignment Operator

Allows a program to change the value represented by a variable.

3
New cards

Element

An individual value in a list that is assigned a unique index.

4
New cards

List

An ordered collection of elements.

5
New cards

String

An ordered sequence of characters.

6
New cards

API

Application Program Interface - specifications for how functions in a library behave and can be used.

7
New cards

Exponential/Factorial Efficiency

Examples of algorithms that run in an unreasonable amount of time.

8
New cards

Nested Conditional

Consists of conditional statements within conditional statements.

9
New cards

Selection

Deciding which steps to do next.

10
New cards

Modulus

Evaluates to the remainder when a is divided by b.

11
New cards

Random Number Generation

Generates and returns a random integer from a to b, inclusive, with each result equally likely to occur.

12
New cards

Arithmetic Operators

Include addition, subtraction, multiplication, division, and modulus operators.

13
New cards

Parameter

Input variables of a procedure used as a placeholder for values that will be passed through the function.

14
New cards

String Concatenation

Joins together two or more strings end-to-end to make a new string.

15
New cards

Data Abstraction

Manage complexity in programs by giving a collection of data a name without referencing the specific details of the representation.

16
New cards

Logical Operator

Operators NOT, AND, and OR, which evaluate to a Boolean value.

17
New cards

Infinite Loop

Occurs when the ending condition will never evaluate to true.

18
New cards

Substring

Part of an existing string.

19
New cards

Sequential Programming

Program statements run in order, from top to bottom.

20
New cards

Heuristic

Provides a 'good enough' solution to a problem when an actual solution is impractical or impossible.

21
New cards

Iteration

The process of accessing each item in a list one at a time.

22
New cards

Argument

The values of the parameters when a procedure is called.

23
New cards

Return Statement

Used to return the flow of control to the point where the procedure was called and to return the value of expression.

24
New cards

Decidable Problem

A decision problem for which an algorithm can be written to produce a correct output for all inputs.

25
New cards

Undecidable Problem

A problem for which no algorithm can be constructed that is always capable of providing a correct yes-or-no answer.

26
New cards

Optimization Problem

A problem with the goal of finding the 'best' solution among many.

27
New cards

Simulation

A representation that uses varying sets of values to reflect the changing state of a phenomenon.

28
New cards

Binary Search

A search algorithm that starts at the middle of a sorted set of numbers and removes half of the data.

29
New cards

Linear Search

A search algorithm which checks each element of a list, in order, until the desired value is found.

30
New cards

Conditional Statement

A statement that affects the sequential flow of control based on the value of a Boolean expression.

31
New cards

Reasonable Time

Algorithms with polynomial efficiency or lower that are said to run in a reasonable amount of time.