stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Rathbun, Ethan AP Exam Review. Flashcards | StudBud
Explore
/
Rathbun, Ethan AP Exam Review.
Rathbun, Ethan AP Exam Review.
100 terms
·
StudBud Administration
Imported from external platform
Flashcards
100 cards
F
Practice quiz
P
Host live
L
Questions
100
Answers
1
129(DEC) to BIN
129
11000001
10000001
10101
2
The process of changing ciphertext into plaintext using a cryptographic algorithm and key.
run-time error
logic error
decryption
string concatenation
3
the languages with which a programmer implements a piece of software to run on a computer.
decision problem
optimization problem
programming language
encryption
4
The problem of finding the best solution from all feasible solutions
linear or sequential search
optimization problem
binary search
instance of a problem
5
Which of the following lines of code would cause an error with a robot?
CAN_MOVE (right)
NOT CAN_MOVE (left)
NOT CAN_M0VE (forward)
CAN_MOVE (north)
6
things that happen in the system you are programming
event
index
arguments
iteration
7
What answer is true
The number will be too big for the computer to work correctly
words can not be multiplied together
the answer is 0
The answer is less than 10000000000000000000000000000000000000004
8
What will be the value of x after this code segment executes?
For all values of x, x will remain unchanged.
For all values of x, x will decrease by 1.
x>5 stay the same, others decrease by 1
x>5 increase by 1, others decrease by 1
9
a system design in which a component is duplicated so if it fails there will be a backup.
fault-tolerant
redundancy
computer network
digital divide
10
Coding error where it functions but does not work as intended.
syntax error
overflow error
run-time error
logic error
11
If the client requests data from Server Alpha(lines represent routes and dark shapes do not work)
ISP Y will receive packets indicating a failure to Host 3 and re-route
The Client will not receive any data due to the outage
Host 1 will compensate for the outage and route the data accordingly
12
What should be its name?
CAN_ESCAPE()
IS_TRAPPED()
SPIN()SPIN() - no response given
ESCAPE()
13
an abstract data type that represents a finite number of ordered values, where the same value may occur more
round-off error
integer overflow
list
sampling technique
14
breaking down complex tasks into smaller, more manageable procedures or functions
strong password
iteration
sequencing
abstraction
15
Minimum Binary Digits Required To Represent 37 (DEC)
37
3
6
Always 8 bytes or 64 bits
16
?
I only
I , II , and III
II only
II and III
17
Which of the following statements is NOT correct:
Logic gates are used to perform operations such as addition and subtraction
Logic gates are modeled by Boolean functions.
Binary data is processed by physical layers of computing hardware.
Hardware is the lowest level of abstraction.
18
?
Location of high-crime areas that should be avoided
Location of highly trafficked roads and bridges
What protocols the mobile device uses to connect to the internet
Information about what types of mobile devices can be used
19
MYSTERY (1,2)
10
4
8
2
20
Which of the following does NOT need to be considered when determining the credibility of a source?
Sponsorship of the article or publisher
Use of persuasive techniques within the source
Publisher’s reputation and credentials
Author’s reputation and credentials
21
the process of selecting and defining paths for IP-packet traffic in networks; the process of managing network traffic
string concatenation
routing
run-time error
logic error
22
?
The code runs as intended.
The code runs without error.
The robot will never reach the end of the maze.
The code may or may not run as intended. The code’s purpose is not stated.
23
a compression technique that does not lose any data in the compression process
programming language
selection
lossless data compression
bandwidth
24
What is DNS
Fake
Domain Name System
Not an English word
Dominant Numerical Standard
25
a sequence of characters
algorithm
selection
String
encryption
26
free, unrestricted online access to research outputs
number bases
open source
open access
digital divide
27
the order that commands are executed by a computer.
abstraction
strong password
sequencing
iteration
28
attempt to store inside an integer variable a value that is larger than the maximum value the variable can hold
variable
arguments
integer overflow
heuristic
29
organized or classified data, which has some meaningful values for the receiver.
program
information
comments
program documentation
30
repeating steps, or instructions close instruction single action that can be performed by a computer processor.
sequencing
abstraction
strong password
iteration
31
Any written text, illustrations or video that describe a software or program to its users
program documentation
program outputs
program inputs
behavior of a program
32
"a contiguous sequence of characters within a string"
Protocol
Substring
Packets
Redundancy
33
a set of instances or cases together with a, possibly empty, set of solutions for every instance/case.
algorithm
problem
data compression
arguments
34
a software intermediary that allows two applications to talk to each other.
Substring
application program interface (API)
Modularity
data abstraction
35
Coding error where something is mistyped.
overflow error
logic error
run-time error
syntax error
36
Which of the search terms below would give her the most specific information when searching for wild mustangs.
"Mustang, not the car"
Mustang -car
Site: Mustang
Mustang
37
the compartmentalization and interrelation of the parts of a software package.
data abstraction
abstraction
Modularity
logic error
38
24(Base 6) to BIN
10000
16
10010
11000
39
a computational problem that can be posed as a yes– no question of the input values.
encryption
optimization problem
decision problem
undecidable problem
40
the measure of a system's ability to increase or decrease in performance and cost
optimization problem
efficiency
problem
scalability
41
?
x20 y20
x30 y40
x40 y40
x40 y30
42
Coding error where a number variable exceeds the maximum.
logic error
run-time error
syntax error
overflow error
43
code that is designed to be publicly accessible.
open source
citizen science
cleaning data
information
44
the smallest unit of data that a computer can process and store
packets
bit
byte
decryption
45
one of several public copyright licenses that enable the free distribution of an otherwise copyrighted "work"
lossy data compression
data compression
Creative Commons
information
46
?
how binary is used to represent data in packets
how a failed router in a network affects flow of packets through a network
how access to the Internet affects developing countries
how defend against phishing attacks
47
data about data (data providing information about one or more aspects of the data)
simulation
computing device
metadata
digital divide
48
?
Recording whether the player was speeding when driving to a location.
The player’s score
How many locations the player visited
How much time a person spent playing the game
49
interconnected computing devices that can exchange data and share resources with each other
routing
computing innovation
information
computer network
50
The process of changing ciphertext into plaintext using a cryptographic algorithm and key.
decryption
abstraction
encryption
programming language
51
Which of the following protocol standardization is NOT a function of the IETF (Internet Engineering Task Force)?
Hypertext Transfer Protocol
Internet Protocol
Simple Mail Transfer Protocol
JavaScript Coding Protocol
52
data that is represented in a physical way.
optimization problem
algorithmic bias
decision problem
analog data
53
Coding error where the program runs indefinitely.
string concatenation
routing
logic error
run-time error
54
the program giving something to the user.
event
program outputs
program inputs
behavior of a program
55
searches a list in the order of the items in a list.
sampling technique
linear or sequential search
code segment
decryption
56
any information provided to the program
event
program outputs
behavior of a program
program inputs
57
?
Optimization Algorithm
Heuristic Algorithm
Heuristic Algorithm
Searching Algorithm
58
If list
CSList
contains [’c’, ’o', ’m’, ’p’, ’u', ’t', ’e’, 'r'] what will be displayed by
mystery(CSList)
cmptr cmptr cmptr cmptr cmptr
cmptr cmptr cmptr
computer computer computer
computer computer computer computer computer
59
Easy to remember but hard to guess
encryption
overflow error
logic error
strong password
60
the ratio of useful work to resources (processor and storage) expended.
problem
efficiency
scalability
undecidable problem
61
the creation and application of novel ideas, technologies, and approaches within the field of computing
crowdsourcing
personally identifiable information (PII)
computing innovation
citizen science
62
What is the purpose of DNS
divides sections of the internet so failures don't affect the whole system.
It is a system that stores IP addresses and can give them upon request.
It has no purpose because it does not exist.
It standardizes how numbers are represented
63
An algorithm has 𝑛 number of steps. Which of the following would be considered a reasonable number of steps?
100n4
4n+8n2
n!
3n
64
A decision problem that can be solved by an algorithm that halts on all inputs in a finite number of steps.
algorithm
Modularity
decidable problem
sequencing
65
We can convert a number from decimal to octal (base 8) by repeatedly subtracting the largest possible powers of what?
8
7
9
10
66
executable statements
procedure
incremental development process
byte
bit
67
Find all criminals on a day in a neighborhood. Use this info: Date of crime, Name of offenders, Neighborhood of crime
neither
Algorithm 2 only
Both
Algorithm 1 only
68
a result that can only have one of two possible values: true or false
nested conditional
procedure
Boolean value
iteration statements
69
Easy to remember but hard to guess
abstraction
sequencing
iteration
strong password
70
what is returned
1 5 7
1 3 5 7 9
9
3 9
71
What is missing
NOT CAN_M0VE (right)
CAN_MOVE (right)
NOT CAN_MOVE(forward)
CAN_MOVE(right) OR NOT CAN_MOVE(forward)
72
a text note that gives an explanation about the source code
comments
conditional statements
incremental development process
behavior
73
interconnected computing devices that can exchange data and share resources with each other
computer
computing system
computer network
computing device
74
the actions or operations that an object can perform.
program outputs
behavior of a program
event
program inputs
75
used through the various programming languages to instruct the computer on the decision to make when given conditions
arguments
conditional statements, or "if statements"
incremental development process
instance of a problem
76
What are two aspects of efficiency?
memory usage and length of code
wall clock time and CPU time
execution time and length of code
execution time and memory usage
77
Which of the following is NOT an example of using citizen science as a possible solution?
Getting recordings using ultrasonic microphones and sonograms of bats
The behavior of a mysterious and wonderful jellyfish on the beach or water
The behavior of fireflies during the summer months
Calculating PSAT scores for a school district
78
The streaming site is using what type of system to make the suggestions? EX: A list of recommended movies to watch next
Preference categorization
Information filtering
Statistical probability model
Reference grouping
79
Why is it important to find an efficient solution to a problem?
It can always be solved in a reasonable amount of time
It uses more computer resources, which ensures that the results are correct
It makes it harder to copy an algorithm
It can make it easier to analyze larger data sets
80
Which of the following statements below is NOT true
lossless can be fully reconstructed
scanning a picture will have information loss
Lossy can be fully reconstructed
audio files are made with loss in information
81
the process of protecting information or data by using mathematical models to scramble it
programming language
decision problem
optimization problem
encryption
82
?
The program does not handle signed integers.
The fixed number of bits resulted in an overflow error.
The program calculating (total rounded the price for one product )x3
While multiplying the floating point numbers, there was a round-off error.
83
100111010(BIN) to DEC
7
432
320
324
84
divides the given numerator by the denominator to find a result
binary (base 2)
modulus operator
parameters
decimal (base 10)
85
the data in a file is removed and not restored to its original form after decompression.
Creative Commons
lossy data compression
open source
data compression
86
Coding error where the program runs indefinitely.
logic error
overflow error
run-time error
syntax error
87
Which of the choices below properly identify these concepts?
Asymmetric and Symmetric
Symmetric and Steganography
Lexicographic and Asymmetric
Lexicographic and Asymmetric
88
the actions or operations that an object can perform.
pair programming
event
program outputs
behavior of a program
89
things that happen in a program
program inputs
program outputs
event
behavior of a program
90
?
Lossy transformation
Frequency transformation
Lossless transformation
Addition transformation
91
1110011(BIN) is what in DEC
115
1110011
116
2
92
Coding error where it functions but does not work as intended.
overflow error
logic error
string concatenation
routing
93
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x >= 9
x < 6
x >= 6
x > 10
94
free, unrestricted online access to research outputs
open source
simulation
computing innovation
open access
95
allows there to be more than one path through a program.
abstraction
encryption
selection
integer overflow
96
the program giving something to the user.
program outputs
heuristic
http
encryption
97
?
Computer Science mechanical engineering biology electronics, remote systems
Mechanical engineering, biology, and computer science
Remote systems, computer science, biology, and mechanical engineering
Computer science, electronics, remote systems, and biology
98
a small segment of a larger message
modularity
packets
element
substring
99
development process an approach to continuously improving a concept, design, or product
computing system
iterative development process
iteration
abstraction
100
?
Syntax error
Logic error
No error
Runtime error