stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Son, Sam AP Exam Review Flashcards | StudBud
Explore
/
Son, Sam AP Exam Review
Son, Sam AP Exam Review
90 terms
·
StudBud Administration
Imported from external platform
Flashcards
90 cards
F
Practice quiz
P
Host live
L
Questions
90
Answers
1
Which of the following is a cause of the digital divide?
Lack of access to technology due to location
All of the above
Lack of access to the technology due to affordability
Lack of knowledge on how to use technology
2
Why does updating a file require more memory than reading a file?
An updating file needs the original and updated versions
an updating file requires the entire file to be in memory.
A read file requires no memory; updating file always requires more memory.
A read file uses storage; an updating file requires both storage and RAM
3
What can replace <Missing Condition> to have the results below?
a OR b
b AND (a AND b)
NOT (a AND b)
a AND (a AND b)
4
Find the error in the following low-level programming code.
It would be better to determine errors using an upper-level language
The 17th 1 needs to be changed to a 0.
The 34th 0 should be a 1.
5
Which of the following is a true statement about data transmitted over the internet?
Redundancy in the design of the internet is overseen by large companies
The domain name system (DNS) has been challenged by the DMCA
All data traveling over the internet is in binary.
6
What should replace <missing condition> so that the program below display TRUE 10% of the time?
x <= 9
x < 1
x <= 1
x < 9
7
What protocol below guides the rules about how data are subdivided into packets before transmission?
TCP
HTTP
DNS
FTP
8
What will be the output of the following program?
9 5 7
7 5 9
14 6
14
9
A theme park wants to create a simulation to analyze wait time for rides. Which characteristics would be useful?
Food preference
Ticket type
Ride preference
Walking preference
10
Which of the following is the most likely data privacy concern for the original browser?
Cookies are responsible for spam and create pop-up advertisements.
Information about you might be used to brand you as a member of a group.
Cookies are files that keep track of user browsing information.
Cookies are used to acquire users’ private encryption keys.
11
What is a benefit of using a simulation to analyze the effects of supply and demand on a country?
A simulation would be more cost-effective compared to an experiment
Simulations have an equal effect on the real world as an actual experiment
A simulation would be able to account for all variables that affects S&D
12
What is the purpose of a digital certificate in secured communications?
That the server did not contact a copycat
that the communication system has been examine by a third party.
That the server's own security features have been examined by a third party
that the website’s code has been created by a professional programmer.
13
The procedure does not work as intended for all test cases. Which test case will return the correct average?
numbers[1, 1, 35, 6]
numbers[3, 5, 11, 6]
numbers[11, 35, 6]
numbers[0, 1, 35, 6]
14
What could a single binary value represent?
Time
Volume
ON/OFF
Temperature
15
What could replace <missing code> so variable
a
swaps with variable
b
?
(b <- a)
(temp <-b)
(temp <- a)
16
The procedure isFound(list, item)returns TRUE if an item is found in a list. What will the following procedure display?
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
[4, 6, −4]
[]
[1, 6, −4]
17
what would the program display?
4 8
3 7
2 8
2 7
18
What is the following program returning?
24
20
22
23
19
Why is it important to find an efficient solution to a problem?
An efficient solution makes it harder to copy an algorithm
An efficient solution can always be solved in a reasonable amount of time.
An efficient solution can make it easier to analyze larger data sets.
20
Which of the following types of components is necessary for cybersecurity?
I only
I, II, and III
I and II only
III only
21
The Caesar cipher is an example of what type of encryption?
Public key encryption
Symmetric encryption
No key encryption
Home key encryption
22
Which of the following is true about redundancy on the internet?
Redundancy slows down packets traveling from a sender to a receivier
Redundancy makes the internet fault tolerant
Redundancy lets you add devices to the network without disrupting traffic.
23
Why are internet protocols used?
Internet protocols are a set of rules to ensure the internet can work
Internet protocols make the internet scalable and encourage growth.
Internet protocols are specific to the hardware attached to the internet.
Internet protocols are needed to slow the growth of the internet.
24
Which best describes the role of TCP?
A common protocol for encrypting and decrypting data transferring
Setting a number assigned to each device connected to the internet
The foundation of data communication for the World Wide Web
The set of rules for the path packets taken on the fault-tolerant internet
25
What type of error did the procedure suffer from?
Runtime error
Syntax error
No error; the program works as intended
26
Consider the following code segment, which uses the variables x, y, and z. What will the following program display?
6 12 24
24 24 24
12 12 12
27
What is not METADATA
The geographic location where the picture was taken
The date the photo was taken
The Red, Green, and Blue values of the top left pixel
The filename
28
What percentage of the time will the following program display a number?
20%
25%
24%
10%
29
What will the following program display?
OXXOO
OXXOXXOXX
OOOXX
The program is an infinite loop.
30
Which of the following is
NOT
an investigation tool for designing programs?
User testing
Programming the most elegant code.
Direct observations.
Collecting data through surveys
31
Which of the following does NOT need to be considered when determining the credibility of a source?
Use of persuasive techniques within the source
Author’s reputation and credentials
Sponsorship of the article or publisher
Publisher’s reputation and credentials
32
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x >= 6
x > 10
x >= 9
x < 6
33
If a computer has 2 processors, what is the minimum possible time to run all five processes?
22s
10s
18s
8s
34
The procedure below results in an incorrect answer. What type of error would this procedure suffer from?
No error. The program works as intended
Runtime error
Logical error
Syntax error
35
Why is it more effective to put procedures in a program than to repeat code?
Procedures are guaranteed to work
Using procedures takes up less space than repeating code
Procedures simplify editing by requiring only one edit
Procedures make a program harder to edit
36
What is displayed as a result of executing the code segment?
Golden Bandicoot Cat Fish
Dog Cat Fish
Dog Cat Fish Golden Bandicoot
Dog Golden Bandicoot Cat Fish
37
Whats the minimum possible time to run these 3 programs on 1 processor
4
9
28
21
38
Which of the following is least likely to receive targeted advertisements?
Individuals using the web browser without the Do Not Track option
Individuals using the web browser with the Do Not Track setting engaged
39
Which of the following are benefits to having information be easily accessible and changeable?
Information can be easily checked by third parties
Information can be easily found by students
Information can be easily found by researchers and citizens
40
What is the code segment displaying?
0
34
66
17
41
Which of the following is considered a potential effect of the mobile game rather than the purpose of the game?
People are not watching where they are walking and are getting injured.
Players are becoming more cultured by visiting artworks.
Players play the game in their spare time.
42
What will the above program display?
Nothing due to infinite loop
3 8 0
2 8 14
4 8 8
43
What binary number is equal to 10001
BIN
+ 3
DEC
11100BIN
10011BIN
11110BIN
10100BIN
44
Which of the following input data is needed by the upgraded game that was
NOT
needed by the original game?
GPS location
Age of the player
Picture of the player
Event sensing; an event would be the user pushing a button or screen
45
What will the following code segment display?
Nothing will be displayed due to the error index out of bounds.
10
9 10 7 4 1
1 4 7 10 9
46
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
2000
2
11
20
47
Why do computing innovations tend to lead to legal concerns?
You can't hide your IP address on the internet, so laws are easily enforced
New technology may not be covered by pre-existing laws
The speed of innovation is faster than the speed of laws being passed
48
Which of the following is a negative trade-off inherent in lossless compression?
The file can be difficult to email and can take up lots of memory storage
The image quality will be less and will result in a blurry image
The number and size of pixels will be less.
Some of the data will be lost and cannot be recovered
49
Which of the following is NOT metadata for the picture?
The time the picture was taken
The location where the picture was taken
The picture of the dog
The memory space taken up by the picture
50
Which of the following test cases will NOT find the maximum number in the list
list1[0, 0, 0, 0]
list1[−23, −67, −3, −7]
list1[4]
list1[23, 67, 3]
51
What is the code below displaying?
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
3, 6, 9, 12, 15
Nothing will be displayed
2, 4, 6, 8, 10, 12, 14
52
What will y display?
0
20
22
15
53
Which of the codes below will correctly swap the frog with the bear?
temp = animal[1]animal[1] = animal[3]animal[3] = temp
animal[3] = animal[1]animal[1] = animal[3]
animal[1] = animal[2]animal[2] = animal[1]
temp = animal[1]animal[1] = animal[2]animal[2] = temp
54
By switching from IPv4 (2
32
IP addresses) to IPv6 (2
128
IP addresses), how many more IP addresses can be used?
296 as many addresses
Twice as many IP addresses
55
Which of the following can be represented by a single binary digit?
Geographic location
Light on / light off
Date
Time
56
What will be the result of the displayed program?
14 6
7 5 9
6 14
57
Which of the following is NOT an example of using citizen science as a possible solution?
Collecting recordings using ultrasonic microphones and sonograms of bats
The behavior of the mysterious and wonderful jellyfish on the beach/water
The behavior of fireflies during the summer months
Calculating PSAT scores for a school district
58
Consider the following code segment. What will the executed code display?
All odd numbers between 1 and 12
All even numbers between 3 and 12
All even numbers between 1 and 12
All odd numbers between 3 and 12
59
What of the following concepts does this demonstrate?
If security protections are ignored, commercial data can be exploited
If privacy protections are ignored, government data can be exploited
If privacy protections are ignored, commercial data can be exploited
If security protections are ignored, government data can be exploited
60
What is displayed as a result if the user inputs “Karel” to the program?
What is your name? Hello Karel
What is your name? /Hello Karel
What is your name? /Hello /Karel
Hello Karel
61
Why is cryptography essential to cybersecurity?
Cryptography secures internet communications
Cryptography does not allow data on a server to be edited by anyone
Cryptography is used to prevent publicly accessible files on a server
62
What does the algorithm display?
4
5
3
7
63
What is displayed after running the algorithm below?
23
122
143
43
64
How many lines need to be cut to completely isolate computer E from computer C?
4
3
1
2
65
A web browser uses IPv4. What could
not
be a potential response?
92.11.198.113
54.116.188.246
174.260.45.144
128.198.232.65
66
What does the following algorithm display?
When B is false, the algorithm displays “False.”
Always True
Always False
When A is false, the algorithm displays “False.”
67
Convert 88 to a binary number.
1010101BIN
1011000BIN
68
An algorithm has n number of steps. Which of the following would be considered a reasonable number of steps?
n!
4n + 8n2
100n4
3n
69
When should a heuristic algorithm be used?
When finding the lifetime batting average of Mookie Wilson
When finding the quickest way to drive from Florida to Alaska
When calculating the average score for the national SAT test
70
What command can replace <Missing condition> to get the results shown in the fourth column of the table?
NOT(a OR a)
a OR b
NOT b
NOT(a AND b)
71
In the following flowchart, what is the value of RESULT?
Always false
Always true
True when either A or B are true
True when both A and B are true
72
What will the following code segment display?
11
22
1
73
how would 'dog' be represented in binary (if a would be 0000001 so on and so forth.)
00000100 00001111 00000111
00000010 00001111 00000111
00000111 00001111 00000100
00000100 00001001 00000111
74
what is true about the packets of information sent?
All of the above.
Packets are sent in multiple paths and can be received out of order.
Packets are sent by the quickest path possible in the correct order.
Packets are received in the order that they are sent.
75
Which of the following lists is
NOT
a candidate for a binary search?
A list of numbers from smallest to largest
A list of students in order of height
A list of words in a dictionary
A list of words from a poem in the order they appear in a poem
76
Which of the following is the
MOST
likely data privacy concern of the upgraded game?
How much time a person spent playing the game
Recording whether the player was speeding when driving to a location.
The player’s score
How many locations the player visited
77
What should replace so the program below displays TRUE 60% of the time?
x MOD 5 = 5
x MOD 5 = 0
x MOD 2 = 0
x MOD 2 = 1
78
What line of code can replace <missing code> so the algorithm will display the total value of list1?
item ≠ 13
item = 13
list1 = 13
list1 ≠ 13
79
A linear program takes 4000s to function. A parallel program takes 400s. What is the speedup for the parallel system.
1000
100
1
10
80
What is displayed as a result of executing the following code segment?
Moose Benji Novack Waffle Noodles
Waffle Moose Noodles Novack Benji
Dog Waffle Moose Noodles Novack Benji
Dog Waffle Noodles Moose Novack Benji
81
?
How much memory the program requires to run
The order of the data put into the data set
The amount of program documentation that should be minimized
How many program statements the program contains
82
What is a major disadvantage of the internet’s model of trust?
A trusted website has power over the computer’s ROM
A trusted website can have a large amount of power over a computer
A trusted website cannot have encrypted communications,
A trusted website can download malicious code even if blocked by a firewall
83
Which of the following is true about data compression?
Data compression is used to reduce a file's size for storage/transmission
Lossless data compression is the best compression under all conditions.
Lossy compression cannot be used when sending pictures.
Data compression can be used for pictures and video only.
84
With a single processor, what is the minimum possible time to run all 3 processes
36
22
33
38
85
What is the value of sum displayed after this algorithm is run?
Error
6
0
4
86
What will the following algorithm display after running the code below?
1
4
2
3
87
The findings from a project are typically presented using a graph as opposed to table or raw data. Why?
Graphs are easier to read and interpret at a glance.
Graphs can show trends that might not be easily seen with raw data.
Graphs can be placed into a slideshow or document, while tables cannot
Graphs are able to show all of the detail necessary to understand data.
88
What is the minimum number of binary digits needed to store the number 56?
6
4
7
5
89
Which of the following potential benefits is
MOST
likely to be provided by the upgraded system?
Limiting the information about the sites and stores that the user visits
Weather websites customizing site information based on the user’s location
Offering products and services that are more relevant to the user
Increasing the speed in ordering pizza online by remembering user info
90
What will the following code segment display?
6
2
Nothing will be displayed
11