AP CS Principles Test #2 Vocabulary

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

1/20

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.

21 Terms

1
New cards

selection

determines which parts of an algorithm are executed based on a condition being true or false

2
New cards

iteration

a repeating portion of an algorithm. Iteration repeats a specified number of times or until a given condition is met.

3
New cards

encryption

the process of encoding data to prevent unauthorized access

4
New cards

decryption

the process of the process of decoding the data

5
New cards

programming language

used to implement algorithms executed by programs

6
New cards

problem

a general description of a task that can (or cannot) be solved algorithmically

7
New cards

strong password

a password that is easy for a user to remember but would be difficult for someone else to guess based on knowledge of that use

8
New cards

algorithm

a finite set of instructions that accomplish a specific task. Every algorithm can be constructed using combinations of sequencing, selection, and iteration.

9
New cards

abstraction

the process of reducing complexity by focusing on the main idea. By hiding details irrelevant to the question at hand and bringing together related and useful details, abstraction reduces complexity and allows one to focus on the idea.

10
New cards

sequencing

the application of each step of an algorithm in the order in which the code statements are given

11
New cards

instance of a problem

a specific task that needs to be solved with specific input

12
New cards

decision problem

a problem with a yes/no answer

13
New cards

optimization problem

a problem with the goal of finding the "best" solution among many

14
New cards

decidable problem

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

15
New cards

undecidable problem

one in which no algorithm can be constructed that always leads to a correct yes-or-no answer

16
New cards

scalability

the capacity for a system to change in size and scale to meet new demands

17
New cards

efficiency

an estimation of the amount of computational
resources used by an algorithm. Efficiency is typically
expressed as a function of the size of the input

18
New cards

linear or sequential search

search algorithms that check each element of a list, in order, until the desired value is found or all elements in the list have been checked

19
New cards

binary search

a search algorithm that starts at the middle of a sorted
data set of numbers and eliminates half of the data; this process repeats until the desired value is found or all elements have been eliminated

20
New cards

heuristic

an approach to a problem that produces a solution
that is not guaranteed to be optimal but may be used when techniques that are guaranteed to always find an optimal solution are impractical

21
New cards

algorithmic bias

bias embedded into algorithms and any level of software development