Computer Science
computer science
comouter
technology
device
binary
binary search
search
linaer search
swap
loop
repeat untill lopp
can_move
robot
rotate left
rotate right
boolean
boolean tables
numeric procedures
relational
boolean operators
input operators
display operators
operators
list
assignment operators
expression
modulus
operator precedence
mathematical operators
display
expression
abstraction
coding
programming
variables
java
programmers
cobol
grace hopper
University/Undergrad
Meaningful variable names
________ help with the readability of program code and reduce the level of complexity of a program.
input parameter
The ________ for the DISPLAY abstraction is expression.
modulus
A(n) ________ is a mathematical operation that returns the remainder after an initial number (the dividend) is divided by another number (the divisor)
dividend
If the ________ is less than the divisor, the resulting modulus calculation will equal the value of the ________.
modulus calculation
If the divisor is a multiple of the dividend, it will divide evenly with no remainder, resulting in a(n) ________ of 0.
abstraction
A(n) ________ is a way to represent essential features without including the background details or explanations.
DISPLAY
________ (expression) is an abstraction that is used on your AP exam to ________ a value of expression followed by a space.
assignment operator
The ________ allows a program to change the value represented by a variable.
left of MOD
A zero to the ________ is feasible and results in a modulus calculation of 0.
COBOL
The first language to use abstractions instead of machine language was ________, which was designed by Grace Hopper.
SWAP
THE ________: A common algorithm is the ________.
dividend
The ________ is 4, and 3 is the divisor.
modulus
The ________ is the integer remainder when two numbers are divided.
Abstractions
________ reduce complexity and allow for efficient design and implementation of complex software systems.
Coding in a programming language is often translated into code in another low
level language that the computer can execute
First
Parentheses
Second
MOD, *, /
Third
+, −
Write a 1 on top, and multiply it by the divisor
1 multiplied by 3 is 3
Answer
0
Answer
True
Answer
50%
THE SWAP
A common algorithm is the swap
abstraction
is a way to represent essential features without including the background details or explanations.
System.out.print(“Hello World”);
\n
In JAVA, the same code can be written using the System.out.print abstraction:
Programmers
have worked to hide details by using abstractions.
Variables
vary
Coding
in a programming language is often translated into code in another low- level language that the computer can execute.
DISPLAY
(expression) is an abstraction that is used on your AP exam to display a value of expression followed by a space.
modulus
is a mathematical operation that returns the remainder after an initial number (the dividend) is divided by another number (the divisor).
list
is an ordered sequence of elements starting with the index 1.
ROTATE_RIGHT
will rotate the robot 90 degrees clockwise.
ROTATE_LEFT
will rotate the robot 90 degrees counterclockwise.
Loops
will repeat a section of code until a condition is met.
Swap
common algorithm
linear search
(or sequential search) is an algorithm for finding an element in a list.
binary search
is a search algorithm that halves the number of elements that need to be searched after every comparison.