stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Kim, Jacob AP Exam Review Flashcards | StudBud
Explore
/
Kim, Jacob AP Exam Review
Kim, Jacob 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
eee
SW that allows for predictive and better allocation of police resources.
Networked police cars that have instant access to information on suspects
Drones to record and surveil in areas that are too dangerous or too remote
Facial recognition software
2
Which of the following is NOT an example of using citizen science as a possible solution?
Calculating PSAT scores for a school district
The behavior of mysterious and wonderful jellyfish on the beach or water
The behavior of fireflies during the summer months
Collecting recordings using ultrasonic microphones and sonograms of bats
3
Which of the following code segments will display the correct letter grade for a given score?
I, II, and III
III only
I and II only
I only
4
Which of the following types of components is necessary for cybersecurity?
I, II, and III
I and II only
I only
III only
5
Which of the following will correctly replace /*missing code */ ?
CAN_MOVE(right) OR NOT CAN_MOVE(forward)
NOT CAN_MOVE(forward)
CAN_MOVE (right)
NOT CAN_M0VE (right)
6
What will be the output of the following program?
14 6
14
9 5 7
7 5 9
7
Select
ONE
of TWO answers
Graphs can easily placed into a slideshow or document, while tables cannot
Graphs are able to show all of the detail necessary to understand data.
Graphs are easier to read and interpret at a glance.
Graphs can show trends that might not be easily seen with raw data.
8
Which of the following considerations is likely to affect the ability of the program to process large data sets?
How much memory the program requires to run
How many program statements the program contains
The amount of program documentation that should be minimized
The order of the data put into the data set
9
What percentage of the time will the program display an even number?
50%
40%
20%
10%
10
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
11
1,000
2,000
1
11
What will the following code segment display?
6
11
Nothing will be displayed due to an error.
3
12
Which is most likely?
The widgets.cs.fbhs.org server send the IP address of widgets.cs.fbhs.org
The .org name server will send the IP address of widgets.cs.fbhs.org
The widgets server will send the IP address of the widgets.cs server.
The .org name server will send the IP address of the fbhs.org name server.
13
Which of the following is a true statement about data transmitted over the internet?
Redundancy in the design of the internet is overseen
All data traveling over the internet is in binary.
Packets are received in the same order that they are sent.
The (DNS) has been challenged by the (DMCA)
14
there
IF( myInts MOD 2 = 0) { sum ← sum + myInts }
IF(NOT num MOD 2 = 0) { sum ← sum + num }
sum ← sum / 2 + num
sum ← sum + num
15
?
.
C
K
p
16
Which of the following statements are true about high-level programming languages? Select
two
answers.
A high-level programming language must be used to run commands like adding
A high-level programming language does not ensure program reliability.
A high-level programming language doesn't uses natural language elements.
A high-level programming language allows for code to be re-used.
17
??
x is 20, y is 20
x is 40, y is 30
x is 40, y is 40
x is 30, y is 40
18
how many more IP addresses will become available?
Twice as many IP addresses
96 as many IP addresses
2^2 as many IP addresses
2^96 as many addresses
19
????
I , II , and III
II only
II and III
I only
20
hi
Mustang
Mustang NOT car
Site: Mustang
"Mustang, not the car"
21
What will the following code segment display?
Nothing will be displayed due to the error index out of bounds.
1 4 7 10 9
9 10 7 4 1
10
22
Which code can replace to have the robot end up in the gray square?
Select ONE of two answers.
REPEAT UNTIL x = 4
FOR EACH item IN list
REPEAT UNTIL (Goal_Reached)
REPEAT 4 TIMES
23
name
CAN_ESCAPE()
ESCAPE()
IS_TRAPPED()
SPIN()
24
woa
I only
All of the above
II, III, and IV only
I, II, and IV only
25
Debug the above code segment. Which of the following statements is true?
The code runs as intended. The code runs without error.
The code does not run as intended. The robot will never reach the end.
The code may or may not run as intended. The code’s purpose is not stated.
The code runs as intended. The robot will reach the end of the maze.
26
What will be displayed??
9 6 3 0
9 6 3
10 8 7 5 4 2 1
10 8 7 5 4 2 1 0
27
Which of the following best approximates the minimum possible time to run all three processes in series?
15 seconds
9 seconds
4 seconds
28 seconds
28
What does the algorithm display?
7
4
5
3
29
What is displayed because of executing the code segment?
9
1 3 5 7 9
3 9
1 5 7
30
What percentage of the time will the following program display a number?
75%
25%
20%
10%
31
What is the code segment displaying?
34
68
17
0
32
What will y display?
20
15
0
16
33
what
Information filtering
Statistical probability model
Reference grouping
Preference categorization
34
What type of error did the procedure suffer from?
Syntax error
No error; the program works as intended
Logical error
Runtime error
35
hello
III, I, II, IV
I, Il, III, IV
I, III, IV, II
I, IV, II, III
36
What will be the result of the displayed program?
14 6
6 14
7 5 9
9 5 7
37
Which of the following does NOT need to be considered when determining the credibility of a source?
Sponsorship of the article or publisher
Author’s reputation and credentials
Use of persuasive techniques within the source
Publisher’s reputation and credentials
38
???
I only
II and IV
I, II, III, and IV
II, III, and IV
39
Which of the choices below properly identify these concepts?
Hash Codes and Key Transfers
Asymmetric and Symmetric
Lexicographic and Asymmetric
Symmetric and Steganography
40
?????
Both I and II
I only
Neither I nor II
II only
41
what is the minimum number of bits needed to store a single pixel?
24
512
256
8
42
Consider the following code segment. What will the executed code display?
All odd numbers between 3 and 12
All odd numbers between 1 and 12
All even numbers between 1 and 12
All even numbers between 3 and 12
43
Consider the following code segment. What will be the value of x after this code segment executes?
For values greater than 5, x will increase by 1, else will decrease by 1.
For all values of x, x will decrease by 1.
For all values of x, x will remain unchanged.
For values greater than 5, x will remain unchanged, else decrease by 1.
44
Why does program code have to be run through a compiler?
Program code must be debugged by the compiler before it can ever run.
Program code is write-only until it is run through a compiler.
Program code must be translated into a language the computer understands.
It doesn’t, as the new program could be run directly from the code.
45
b
GlF. Storing the data in pairs allow us to use the 3 bytes once for each
BMP. The algorithm for storing a BMP file has fewer steps.
GIF. Storing information in a table format ensures losslessness.
BMP. Having access to the data at every pixel ensures losslessness.
46
What will the following procedure display?
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
[ ]
[4, 6, −4]
[1, 6, −4]
47
What are two aspects of efficiency?
memory usage and length of code
execution time and memory usage
wall clock time and CPU time
execution time and length of code
48
Which of the following statements below is NOT true?
lossless is for compressing then rebuilding to its entirety
Moving music onto your digital music player is done is a lossless format
Lossy is good at compressing and rebuilding to the same specifications
Scanning in a picture creates a lossy format result
49
????????????????????????
Neither
Both I & II
I only
II only
50
What shall the programmer do????????
Relies on the drivers, and counts on them to plan their own routes
They write new code to solve the problem in new ways despite the deadline
Hold back deliveries until they find the perfect solution
They use software to find reasonable routes to get through the holidays
51
Which of the following could
NOT
be a potential response?
92.11.198.113
54.116.188.246
174.260.45.144
128.198.232.65
52
What should replace so the program below displays TRUE 60% of the time?
x MOD 2 = 1
x MOD 5 = 0
x MOD 5 = 5
x MOD 2 = 0
53
Which best describes the role of TCP?
A common protocol for encrypting and decrypting data
Setting the rules for a numerical label assigned to each device.
The foundation of data communication for the World Wide Web
The set of rules for the path packets taken on the fault-tolerant internet
54
????
4
2
10
8
55
??????????
I, II, III, and V only
All of the above
I, III, and IV only
II, IV, and V only
56
Select
ONE
of two answers
Ticket type
Ride preference
Food preference
Walking preference
57
What is displayed by running the code segment?
8 4 6
3 11 3
3 3 6
11 3 8
58
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x >= 6
x > 10
x >= 9
x < 6
59
How long will it take????
571 seconds
1.75 seconds
57.1 seconds
175 seconds
60
Which of the following is
NOT
an investigation tool for designing programs?
Direct observations.
Programming the most elegant code
User testing
Collecting data through surveys
61
?
Design and create a website in hopes a venture capitalist will come to them
Apply for a small business loan through an online bank.
Create a bulk email campaign asking for support and funding.
Utilize a crowdsourcing website to raise the needed capital.
62
s
Analyzing the large, complex datasets are too difficult to do alone
A team of various disciplines increase the complexity of the analysis.
Scientists are less effective in research whenever limit the amount of data
The costs associated with medical advancements are reduced
63
??????????????
USB Flash Drive, it can be copied and handed or mailed to multiple users.
Magnetic Drive System. as it can handle all data types.
Mainframe Computer, as it can be accessed from many computers.
Cloud Drive, as it allows for multiple users and version control.
64
The Caesar cipher is an example of what type of encryption?
No key encryption
Public key encryption
Symmetric encryption
Home key encryption
65
Which of the following statements is
NOT
correct:
Logic gates are modeled by Boolean functions.
Hardware is the lowest level of abstraction.
Logic gates are used to perform operations such as addition and subtraction
Binary data is processed by physical layers of computing hardware.
66
Convert 88𝐷𝐸𝐶 to a binary number.
1010101 BIN
1111000 BIN
1000001 BIN
1011000 BIN
67
sort from lowest to highest
I, IV, II, III
I, II, III, IV
I, III, IV, II
I, IV, III, II
68
What is the code below displaying?
2, 4, 6, 8, 10, 12, 14
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
3, 6, 9, 12, 15
Nothing will be displayed
69
Which of the following illustrate ways that the internet facilitates collaboration
I and III only
II and III only
I only
I, II, and III
70
Choose one of the two correct answers
Utilize all social media sites so her friends/family can also spread info.
E-mail the local news media back home and offer them her videos and photos
Write an article and include several of her photographs.
Posting her article with videos and photos to her journalism blog
71
Which of the following protocol standardization is NOT a function of the IETF (Internet Engineering Task Force)?
Internet Protocol
Hypertext Transfer Protocol
Simple Mail Transfer Protocol
JavaScript Coding Protocol
72
Which of the statements below BEST describes what will happen if ISP X, Host 3, and Host 11 are not working?
ISP Y will indicate a failure to Host 3 and re-route the data
Host 1 will compensate for the outage and route the data accordingly
The Client will not receive any data due to the outage
73
What is the following program returning?
27
37
25
20
74
???
Denial of Service
Phishing
Social Engineering
Spearing
75
What is the speedup for the parallel solution?
100
1
1,000
10
76
What is the value of sum displayed after this algorithm is run?
0
4
6
Error
77
In the following flowchart, what is the value of RESULT?
True when both A and B are true
Always false
Always true
True when either A or B are true
78
If list
CSList
contains the following data: [’c’, ’o', ’m’, ’p’, ’u', ’t', ’e’, 'r'], what will be displayed?
computer computer computer
cmptr cmptr cmptr
computer computer computer computer computer
cmptr cmptr cmptr cmptr cmptr
79
deer
Population size
Food supply
Prevalence of illness in herd
Antler size
80
???
Computer Science, mechanical eng, biology, electronics, and remote systems.
Mechanical engineering, biology, and computer science.
Remote systems, computer science, biology, and mechanical engineering.
Computer science, electronics, remote systems, and biology.
81
What would be the binary representation of the word dog?
00000100 00001001 00000111
00000111 00001111 00000100
00000100 00001111 00000111
00000010 00001111 00000111
82
Which of the following best describes the type of site that Ripley is using?
Wiki
RSS Feed
Webopedia
Newsgroup
83
Which of the following is NOT metadata for the picture?
The picture of the dog
The location where the picture was taken
The memory space taken up by the picture
The time the picture was taken
84
???
8
128
512
64
85
What will the program above display?
2 8
3 7
2 7
4 8
86
Choose onw of the correct answers
Rogue Servers
DNS Key Distribution
DNS BINDing
Masquerading
87
????
Yes, the number of steps changes proportional to the size of the input.
No, the search is linear, so the dataset is split in half every iteration.
No, it will take the same# of steps regardless of the size of the database.
Yes, because the new members may not be added alphabetically.
88
hmmm
The program does not handle signed integers.
The program rounded the price before multiplying by 3.
While multiplying the floating point numbers, there was a round-off error.
Resulted in an overflow error.
89
What is displayed as a result of executing the code segment?
Golden Bandicoot Cat Fish
Dog Golden Bandicoot Cat Fish
Dog Cat Fish
Dog Cat Fish Golden Bandicoot
90
which of the following commands would properly import ThreadLocalRandom?
import java.util.function.ThreadLocalRandom
import ThreadLocalRandom.concurrent.util.java
import java.util.concurrent.ThreadLocalRandom
import java.ThreadLocalRandom
91
??
All of the above
I, II, and IV only
I, II, III, and IV only
II, IV, and V only
92
We can convert a number from decimal to octal (base 8) by repeatedly subtracting the largest possible powers of what?
8
9
2
7
93
What will the following program display?
OXXOXXOXX
The program is an infinite loop.
OXXOO
OOOXX
94
Which of the following best approximates the minimum possible time to run all five processes?
10 seconds
8 seconds
18 seconds
7 seconds
95
Which of the following lines of code would cause an error with a robot?
NOT CAN_M0VE (forward)
CAN_MOVE (north)
NOT CAN_MOVE (left)
CAN_MOVE (right)
96
Which of the following test cases will return the correct average using the above procedure
numbers[0, 1, 35, 6]
numbers[1, 1, 35, 6]
numbers[3, 5, 11, 6]
numbers[11, 35, 6]
97
What is the minimum number of lines that must be cut to isolate F completely?
8
0
4
6
98
Which of the following is least likely to receive targeted advertisements?
Users who visit websites with a digital certificate that block targeted ads
Individuals using the web browser with the Do Not Track setting engaged
Individuals using the web browser without the Do Not Track option
Users with strong passwords and multifactor authentication
99
What must be true???
Neither selection nor looping are necessary.
Looping is necessary, but selection is not.
Selection is necessary, but looping is not.
Both selection and looping are necessary.
100
Which algorithm calculates average correctly?
Algorithm B calculates average in all cases, while Algorithm A does not.
Both calculate average correctly, but Algorithm A more efficient.
Neither Algorithm A nor Algorithm B calculates average correctly.
Algorithm A calculates average in all cases, while Algorithm B does not.