stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
AP CS Exam 2 Review Flashcards | StudBud
Explore
/
AP CS Exam 2 Review
AP CS Exam 2 Review
40 terms
·
StudBud Administration
·
51 plays
Imported from external platform
Flashcards
40 cards
F
Practice quiz
P
Host live
L
Questions
40
Answers
1
the direction the computer program moves from instruction to instruction over time.
Pattern Flow
Condtional
Seqential Flow
Control Flow
2
an annotation in the code of a computer program is called commenting.
True
False
3
doubling the size of a problem only requires one extra unit of work.
Binary Search
Logarithmic Behavior
Brute Forcing
Modualarity
4
a method of searching by dividing the search interval in half each time is called sequential search?
False
True
5
a special type of variable used within a procedure.
Condition
Boolean
Loop
Parameter
6
a more thorough version of an if statement that stipulates what is to happen when a certain criteria is not met.
Conditional Statement
If Statement
If else statement
Imperative Statement
7
There cannot be a program that will determine which computer programs will halt and which programs will go on forever.
Scalability
Halting Problem
Unsolveable Problem
Heuritics
8
a mathematical concept used by computer scientists to determine how well algorithms scale.
Algorithm
Boolean Values
Scalability
Big-O Notation
9
symbols that imply a comparison in conditional selection statements.
Operators
Binary
If else statement
If Statement
10
repetition - one complete step of a loop, repeated until a certain condition is met
Iteration
Selection
Procedure
Sequencing
11
how well do algorithms perform at increasingly larger scales is called scalibilty.
True
False
12
Moores Law was developed by:
Luke Moore
Justin Moore
Gordon Moore
13
Nesting is where different logic structures sequence, selection and loops are combined or nested in one another.
False
True
14
a collection of statements that performs a specific task when run by a computer.
Algorithm
Iteration
Code
Program
15
a named collection of steps in an algorithm that can be reused anytime it is needed without restating the procedures.
Condtion
Procedures
Parameters
Selection
16
type of selection statement that only executes when a certain criteria is met.
If Else Statement
If Statement
17
to modify and share a version of an uploaded existing project
Remix
Program
Debug
Decode
18
a named collection of steps in an algorithm (or group of programming instructions) that can be reused anytime.
Procedure
Condition
Iteration
Parameter
19
pattern that can emerge when data is transformed using computational logic structures (sequencing, selection, iteration)
Selection
Algorithm
Flow Chart
Flow Pattern
20
a method for deriving an approximate solution - Rules of Thumb but not guaranteed an accurately correct answer
Scalability
Heuristics
Halting Problem
Unsolveable problem
21
the repetition of some code is called loops.
True
False
22
where no algorithm can be made that always leads to a correct yes or no answer.
Undecidable problem
Unsolveable Problem
23
A hardware abstraction that is modeled by a Boolean function.
Logic Gate
Nodes
Transistors
Operators
24
a process or set of rules to be followed in calculations or other problems solving operations
Process
Sequence
Condition
Algorithm
25
algorithmic structure that uses "if...then" to tell the computer how to select a step or sequence.
Selection
Iteration
Loops
Sequencing
26
light-green colored blocks of code used to handle strings and math equations in Scratch.
Motion Block
Sensing Block
Operator Block
Looks Block
27
When it is unknown how many times a loop will iterate.
While Loop
Definite Loop
Indefinite Loop
For Loop
28
logic structure where instructions are executed in order, one after another, one at a time. Often called linear.
Conditions
Selection
Sequencing
Iteration
29
an informal method of writing algorithmic instructions that do not follow grammatical rules of a particular language.
Machine Code
Pseudocode
Low Level Language
Binary
30
trial and error method used to decode encrypted data such as passwords is called brute forcing.
False
True
31
a linear search method of finding a targeted value within a list, looking one at a time until a match is found.
Binary Search
Sequential Search
Selection
Merge Sort
32
refers to a collection of program statements that are part of a program.
Condtion
Code Segment
Parameter
Procedure
33
a simple diagram with symbols showing the "flow" of a process
Algorithm
Flow Pattern
Iteration
Flow Chart
34
a set of instructions within an if block that is executed only if the condition in the if statement is met.
If Block
Control Flow
If Else Block
Boolean Block
35
Moore's Law accurately predicted that the number of transistors that could fit on a chip would roughly _____ every year
Triple
Stay the same
Double
Quadruple
36
How confident are you about the test Thursday?
Very confident
Not Confident at all
Kinda Confident
37
program instructions that are executed one at a time, in order.
Iteration
Algorithm
Sequencial Exectution
Binary Search
38
a variable that defines a procedure or sets the conditions of an operation
Algorithm
Selection
Procedure
Parameter
39
executes a predetermined set of times for a loop to be repeated
Indefinite Loop
For Loop
Definite Loop
While Loop
40
instruction in a computer program that can cause a computer to begin executing a different sequence of instructions.
Conditional
Procedure
Parameter
Branching