Chapter 4: Algorithms and Programming

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

1/36

Last updated 12:13 AM on 2/8/23
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

37 Terms

1
New cards
2
New cards
3
New cards
4
New cards
5
New cards
6
New cards
7
New cards
8
New cards
9
New cards
10
New cards
11
New cards
12
New cards
13
New cards
14
New cards
15
New cards
16
New cards
17
New cards
18
New cards
19
New cards
20
New cards
21
New cards
22
New cards
23
New cards
24
New cards
abstraction
is a way to represent essential features without including the background details or explanations.
25
New cards
*System.out.print(“Hello World”);*

\n
In JAVA, the same code can be written using the System.out.print abstraction:
26
New cards
Programmers
have worked to hide details by using abstractions.
27
New cards
Variables
vary
28
New cards
Coding
in a programming language is often translated into code in another low- level language that the computer can execute.
29
New cards
DISPLAY
(expression) is an abstraction that is used on your AP exam to display a value of expression followed by a space.
30
New cards
modulus
is a mathematical operation that returns the remainder after an initial number (the dividend) is divided by another number (the divisor).
31
New cards
list
is an ordered sequence of elements starting with the index 1.
32
New cards
ROTATE_RIGHT
will rotate the robot 90 degrees clockwise.
33
New cards
ROTATE_LEFT
will rotate the robot 90 degrees counterclockwise.
34
New cards
Loops
will repeat a section of code until a condition is met.
35
New cards
Swap
common algorithm
36
New cards
linear search
(or sequential search) is an algorithm for finding an element in a list.
37
New cards
binary search
is a search algorithm that halves the number of elements that need to be searched after every comparison.