stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Hoang, Tyler AP Exam Review Flashcards | StudBud
Explore
/
Hoang, Tyler AP Exam Review
Hoang, Tyler AP Exam Review
90 terms
·
StudBud Administration
·
1 play
Imported from external platform
Flashcards
90 cards
F
Practice quiz
P
Host live
L
Questions
90
Answers
1
Which of the following lists is
NOT
a candidate for a binary search?
A list of words in a dictionary
A list of words from a poem about sunshine in the order they appear
A list of students in order of height
A list of numbers from smallest to largest
2
What will the program above display?
3 7
2 7
2 8
4 8
3
What is the minimum number of searches for a binary search using an ordered list of 100 numbers?
100
0
1
8
4
What should replace <missing condition> so that the program below display TRUE 10% of the time?
x < 1
x < 9
x <= 9
x <= 1
5
What is an example of a way that a “smart grid” could assist with human capabilities?
The grid could prevent blackouts altogether.
The grid could control the temperature of an A/C or a heating unit directly
The grid could ensure that all computers on it are properly updated.
The grid could distribute power in the most efficient manner possible
6
What of the following would NOT be a useful metric to analyze the impact of gerrymandering
Third-party wins
County splits
Overall results
Racial makeup
7
What is the minimum number of binary digits needed to store the number 56?
3
1
6
5
8
What binary number is equal to 10001 bin + 3 dec
11110
10011
11100
10100
9
What will be the output of the following program?
14
14 6
9 5 7
7 5 9
10
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 must be translated into a language the computer understands.
Program code is write-only until it is run through a compiler.
It doesn’t, as the new program could be run directly from the code.
11
What will the executed code display?
All even numbers between 1 and 12
All odd numbers between 3 and 12
All odd numbers between 1 and 12
All even numbers between 3 and 12
12
What will the following code segment display?
1
30
22
10
13
What will the following code segment display?
Nothing will be displayed due to the error index out of bounds.
9 10 7 4 1
1 4 7 10 9
10
14
Which of the following factors does not need to be included when modeling deer population growth over time.
Prevalence of illness in herd
Antler size
Food supply
Population size
15
Which of the following test cases will return the correct average using the above procedure
numbers[1, 1, 35, 6]
numbers[0, 1, 35, 6]
numbers[3, 5, 11, 6]
numbers[11, 35, 6]
16
We can convert a number from decimal to octal (base 8) by repeatedly subtracting the largest possible powers of what?
2
9
8
9
17
The following program is intended to display the string 789. What type of error will the following procedure cause?
Runtime error
No error
Logic error
Syntax error
18
Which of the following is a cause of the digital divide?
All of the above
Lack of knowledge on how to use technology
Lack of access to technology due to location
Lack of access to the technology due to affordability
19
What is the minimum number of bits needed to store a single pixel in RGB format?
256
24
512
8
20
What role does a compiler have in processing a high-level language?
The compiler checks for updates and installs programs onto the computer.
The compiler ensures that the program has no runtime errors.
The computer cannot understand high-level languages so a complier is needed
The compiler speeds up the run time of a program.
21
What will the following code segment display?
6
3
111
Nothing will be displayed due to an error.
22
When should a heuristic algorithm be used?
When finding the lifetime batting average of Mookie Wilson
When determining which files could have been exposed to a virus
When calculating the average score for the national SAT test
When finding the quickest way to drive from Orlando to Cold Foot
23
Which of the following protocol standardization is NOT a function of the IETF (Internet Engineering Task Force)?
Simple Mail Transfer Protocol
Internet Protocol
JavaScript Coding Protocol
Hypertext Transfer Protocol
24
What will the following code segment display?
6
Nothing will be displayed due to an error.
3
11
25
Which of the following is NOT metadata for the picture?
The time the picture was taken
The picture of the dog
The memory space taken up by the picture
The location where the picture was taken
26
What will the following code segment display?
9 10 7 4 1
1 4 7 10 9
10
Nothing will be displayed due to the error index out of bounds.
27
Her current connection speed is 700 kilobytes per second. How long will the download take if her video is 400 megabytes
571 seconds
57.1 seconds
175 seconds
1.75 seconds
28
What is displayed because of executing the code segment?
1 5 7
9
3 9
1 3 5 7 9
29
Convert 88 to a binary number.
1010101
1111000
1000001
1011000
30
What does the following algorithm display?
It always displays “True.”
When A is false, the algorithm displays “False.”
When B is false, the algorithm displays “False.”
It always displays “False.”
31
What protocol below guides the rules about how data are subdivided into packets before transmission?
DNS
FTP
TCP
HTTP
32
Which of the following does NOT need to be considered when determining the credibility of a source?
Use of persuasive techniques within the source
Publisher’s reputation and credentials
Sponsorship of the article or publisher
Author’s reputation and credentials
33
The findings from a project are typically presented using a graph as opposed to table or raw data. Why might this be?
Graphs can be easily placed into a slideshow or document.
Graphs can show trends that might not be easily seen with raw data.
Graphs are able to show all of the detail necessary to understand data.
34
Which of the examples below does not indicate a system that has been built on a distributive model?
A MMORPG site builds multiple server farms so the game is always active
A company decides to incorporate a backup system for all of its computers.
A film company designs and builds a render farm to process their animations
35
What is the following program returning?
20
27
25
37
36
Which of the following can be represented by a single binary digit?
Light on / light off
Time
Date
Geographic location
37
Which of the following is a true statement about data transmitted over the internet?
All data traveling over the internet is in binary.
DNS has been challenged by the Digital Millennium Copyright Act
Redundancy in the internet is overseen by companies that set standards used
Packets are received in the same order that they are sent.
38
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x >= 6
x >= 9
x < 6
x > 10
39
Which of the following correctly identify methods of DNS cache poisoning?
DNS Key Distribution
Masquerading
DNS BINDing
40
What will the following algorithm display after running the code below?
4
2
3
1
41
Which of the following is
NOT
metadata?
The geographic location where the picture was taken
The date the photo was taken
The filename
The Red, Green, and Blue values of the top left pixel
42
What is the minimum number of lines that must be cut to isolate F completely?
6
0
4
8
43
What is displayed as a result of executing the code segment?
Dog Cat Fish Golden Bandicoot
Golden Bandicoot Cat Fish
Dog Cat Fish
Dog Golden Bandicoot Cat Fish
44
Which search algorithm would work as intended to find the value 35?numbers[1, 43, 23, 65, 76, 34, 33, 12, 94, 576, 55]
Bubble sort
Insertion sort
Linear search
Binary search
45
What is displayed after running the algorithm below?
145
43
133
12
46
These drawings depict two cryptographic concepts. Which of the choices below properly identify these concepts?
Asymmetric and Symmetric
Hash Codes and Key Transfers
Symmetric and Steganography
Lexicographic and Asymmetric
47
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 received in the order that they are sent.
Packets are sent by the quickest path possible in the correct order.
48
What are two aspects of efficiency?
execution time and length of code
wall clock time and CPU time
memory usage and length of code
execution time and memory usage
49
Which of the following statements is
NOT
correct:
Logic gates are used to perform operations such as addition and subtraction
Hardware is the lowest level of abstraction.
Logic gates are modeled by Boolean functions.
Binary data is processed by physical layers of computing hardware.
50
Which command can replace <Missing Condition> to result in the last column of the table shown below?
b AND (a AND b)
a OR b
NOT (a AND b)
a AND (a AND b)
51
Which of the following is true about data compression?
Data compression can be used for pictures and video only.
Data compression can be used to reduce the size of a file for storage.
Lossless data compression is the best compression under all conditions.
Lossy compression cannot be used when sending pictures.
52
Which of the following statements are true about high-level programming languages? Select
two
answers.
A high-level programming language does not ensure program reliability.
A high-level programming language often uses natural language elements.
53
Which of the following is considered a side effect of the digital appointments to combat contagious disease
The digital appointments will allow for more testing.
People without internet access will not be able to make an appointment
People who live in cities would be less likely to get tested.
54
What is the value of sum displayed after this algorithm is run?
0
6
4
Error
55
Which of the following is a negative trade-off inherent in lossless compression?
The number and size of pixels will be less.
The image quality will be less and will result in a blurry image.
Some of the data will be lost and cannot be recovered.
The file can be difficult to email and can take up lots of memory storage.
56
What is displayed as a result of executing the following code segment?
Waffle Moose Noodles Novack Benji
Dog Waffle Noodles Moose Novack Benji
Dog Waffle Moose Noodles Novack Benji
Moose Benji Novack Waffle Noodles
57
Which of the following test cases will NOT find the maximum number in the list?
list1[−23, −67, −3, −7]
list1[0, 0, 0, 0]
list1[4]
list1[23, 67, 3]
58
What do you use to print to console in Pseudocode
Log
Print
Display
Cout
59
What could a single binary value represent?
Time
Volume on a radio
If a light is on or off
Temperature in degrees Celsius
60
What will be the result of the displayed program?
14 6
7 5 9
6 14
9 5 7
61
Which of the following lines of code would cause an error with a robot?
CAN_MOVE (right)
CAN_MOVE (north)
NOT CAN_MOVE (left)
NOT CAN_M0VE (forward)
62
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
2,000
11
1
1,000
63
What will the following program display?
OXXOXXOXX
OOOXX
OXXOO
The program is an infinite loop.
64
In the following flowchart, what is the value of RESULT?
Always false
True when both A and B are true
True when either A or B are true
Always true
65
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
Calculating PSAT scores for a school district
The behavior of the jellyfish on the beach or water
The behavior of fireflies during the summer months
66
What is the code segment displaying?
0
68
34
17
67
How many lines need to be cut to completely isolate computer E from computer C?
3
0
8
6
68
Which best describes the role of TCP?
A protocol for encrypting and decrypting data transferring on the internet
The rules for a numerical label for to each device connected to the interne
The foundation of data communication for the World Wide Web
The set of rules for the path packets taken on the fault-tolerant internet
69
Which of the following storage methods below makes accessibility of data easiest for people in multiple locations?
USB Flash Drive, as it can be copied and handed or mailed to multiple users
Mainframe Computer, as it can be accessed from many computers.
Cloud Drive, as it allows for multiple users and version control.
Magnetic Drive System. as it can handle all data types.
70
Which of the items below is NOT a technology advancement in law enforcement that is being used by officers in the field?
Predictive policing and a better allocation of police resources.
Networked police cars that have instant access to information on suspects
Facial recognition software that instantly run checks on potential suspects
Drones to record and surveil in areas that are too dangerous or too remote
71
Is a binary search always the fastest search when searching for a number in a sorted list?
For a large list, linear searches are always faster.
For a large list, binary searches are always faster.
No, A linear search has a chance of finding the value quicker
A binary search is always faster with a sorted list.
72
Why is it important to find an efficient solution to a problem?
An efficient solution can always be solved in a reasonable amount of time.
An efficient solution makes it harder to copy an algorithm.
An efficient solution uses more resources ensuring the results are correct
An efficient solution can make it easier to analyze larger data sets.
73
The procedure below is intended to display the sum of all numbers in the list. What error did the procedure suffer from?
Logical error
Runtime error
Syntax error
No error; the program works as intended
74
What does the algorithm display?
5
3
7
4
75
What will you be tested on in Pseudocode
syntax
All of the above
tracking virtual robot movement
logic
76
What command can replace <Missing condition> to get the results shown in the fourth column of the table?
NOT b
NOT(a AND b)
a OR b
NOT(a OR a)
77
A mobile game interacts with real-life locations based on location and time of day. According to CollegeBoard, this is a
Virtual Reality game
Augmented Reality game
78
Which of the following is
NOT
an investigation tool for designing programs?
User testing
Collecting data through surveys
Direct observations.
Programming the most elegant code
79
Which of the following commands would properly import ThreadLocalRandom?
import java.ThreadLocalRandom
import java.util.function.ThreadLocalRandom
import ThreadLocalRandom.concurrent.util.java
import java.util.concurrent.ThreadLocalRandom
80
Which of the following could NOT be a potential IPv4 address
128.198.232.65
174.260.45.144
54.116.188.246
92.11.198.113
81
What type of algorithm would be best used for fraud detection?
Heuristic algorithm
Searching algorithm
Optimization algorithm
Brute force algorithm
82
What will the above program display?
3 8 0
Nothing due to an infinite loop
4 8 8
2 8 14
83
isFound(list, item) will return 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]
[ ]
84
What programming language are you tested on in CSP
Java
C
Pseudocode made by the college board
Python
85
Which of the following considerations is likely to affect the ability of the program to process large data sets?
The amount of program documentation that should be minimized
How many program statements the program contains
The order of the data put into the data set
How much memory the program requires to run
86
The Caesar cipher is an example of what type of encryption?
Symmetric encryption
No key encryption
Public key encryption
Home key encryption
87
What index do lists in pseudocode start in
1
0
88
Which of the search terms below would give the most specific information on wild mustangs?
Mustang -car
Site: Mustang
"Mustang, not the car"
89
If widgets.cs.fbhs.org is searched, which of the following is most likely to take place among the DNS servers?
The .org name server will send the IP address of widgets.cs.fbhs.org
The widgets.cs.fbhs.org name server will send the IP of widgets.cs.fbhs.org
The widgets name server will send the IP of the widgets.cs name server.
The .org name server will send the IP address of the fbhs.org name server.
90
The procedure is intended to display the sum of numbers in the list. What type of error did the procedure suffer from?
Runtime error
Logical error
No error. The program works as intended.
Syntax error