stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Choi, Hyunbeen AP Exam Review Flashcards | StudBud
Explore
/
Choi, Hyunbeen AP Exam Review
Choi, Hyunbeen AP Exam Review
100 terms
·
StudBud Administration
·
2 plays
Imported from external platform
Flashcards
100 cards
F
Practice quiz
P
Host live
L
Questions
100
Answers
1
A program takes 4,000 seconds. When running the same program in parallel, they take 400 seconds. What is the speedup?
1000
100
10
1
2
What is the value of sum displayed after this algorithm is run?
Error
6
0
4
3
Which of the choices below properly identify these concepts?
Hash Codes and Key Transfers
Lexicographic and Asymmetric
Symmetric and Steganography
Asymmetric and Symmetric
4
Phishing is sending fraudulent communications.
False
True
5
By switching from IPv4(stores 2
32
) to IPv6(stores 2
128
) how many more IP addresses will become available?
22 as many addresses
96 as many IP addresses
Twice as many IP addresses
296 as many addresses
6
What will be the result of the displayed program?
6 14
9 5 7
7 5 9
14 6
7
Optimization problem is?
Decision problem solvable by a halting algorithm
Computational problem posed as a yes-no question
Finding the best solution from feasible options
No algorithm exists for correct yes/no answers
8
Application program interface (API) is?
Contiguous sequence of characters within a string
Simplified representation of a body of data
Joining character strings end-to-end
Code facilitating communication between software programs
9
Convert 88(DEC) to binary
1010101
1111000
1000001
1011000
10
How many lines need to be cut to completely isolate computer E from computer C?
3
0
8
6
11
A web browser contacts a server using IPv4 and pages a request for a website’s address. Which isnt a potential response?
92.11.198.113
54.116.188.246
174.260.45.144
128.198.232.65
12
The procedure isFound(list, item) will return TRUE if an item is found in a list. What will it display?
[ ]
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
[1, 6, −4]
[4, 6, −4]
13
What should replace so the program below displays TRUE 60% of the time?
x MOD 5 = 0
x MOD 2 = 0
x MOD 2 = 1
x MOD 5 = 5
14
Which of the following would be the most appropriate name for a variable?
t
variable1
amountOfTimeRemainingInTheGame
time_left
15
Fault tolerant means the system's ability to operate despite failures
False
True
16
What is a overflow error?
Attempt to store excessive data in a fixed-size location
Error occurring while a program is running post compilation
Fault in the logic or structure of a problem
Incorrect character or string placement causing execution failure
17
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
18
What is the minimum number of searches for a binary search using an ordered list of 100 numbers?
1
0
8
100
19
When sending a picture from your phone to your friend’s phone using a mobile app, what is true about the packets sent?
Packets are received in the order that they are sent.
Packets are sent by the quickest path possible in the correct order.
Packets are sent in multiple paths and can be received out of order.
All of the above.
20
What is the minimum number of lines that must be cut to isolate F completely?
8
4
0
6
21
Which of the following types of components is necessary for cybersecurity?
I.
Software
II.
Hardware
III.
Human
I and II only
I, II, and III
III only
I only
22
What should replace <missing condition> so that the program below display TRUE 10% of the time?
x < 9
x <= 9
x < 1
x <= 1
23
Which best describes the role of TCP?
Setting the rules for numerical labels assigned to each device on internet
The foundation of data communication for the World Wide Web
A common protocol for encrypting and decrypting data transferring.
The set of rules for the path packets taken on the fault-tolerant internet
24
Which of the following statements is
NOT
correct:
Hardware is the lowest level of abstraction.
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.
25
Her current connection speed is 700(kps). Approximately how long will the download take if her video is 400 megabytes?
175 seconds
57.1 seconds
571 seconds
1.75 seconds
26
What will the following code segment display?
Nothing will be displayed due to an error.
11
6
3
27
Which of the following test cases will return the correct average using the above procedure?
numbers[3, 5, 11, 6]
numbers[1, 1, 35, 6]
numbers[11, 35, 6]
numbers[0, 1, 35, 6]
28
Which of the following test cases will NOT find the maximum number in the list?
list1[23, 67, 3]
list1[−23, −67, −3, −7]
list1[4]
list1[0, 0, 0, 0]
29
What is displayed as a result of executing the following code segment?
Dog Waffle Moose Noodles Novack Benji
Waffle Moose Noodles Novack Benji
Moose Benji Novack Waffle Noodles
Dog Waffle Noodles Moose Novack Benji
30
Which of the following is NOT an example of using citizen science as a possible solution?
The behavior of fireflies during the summer months
The behavior of the mysterious and wonderful jellyfish on the beach
Calculating PSAT scores for a school district
Collecting recordings using ultrasonic microphones of bats
31
World Wide Web is?
Basic unit of data transferred over a network
Continuous high-speed data transfer
Network linking millions of computers globally
String of characters identifying a location
32
What binary number is equal to 10001𝐵𝐼𝑁+3𝐷𝐸𝐶?
11110
11100
10011
10100
33
What is the minimum number of binary digits needed to store the number 56?
6
5
1
3
34
What is the definition of integer overflow?
Data type representing ordered values
Divides numerator by denominator to find result
Occurs when storing a value too large for an integer type
Error due to computer's inability to represent numbers exactly
35
In the following flowchart, what is the value of RESULT?
Always true
True when either A or B are true
True when both A and B are true
Always false
36
Modularity is?
Breaking down complex problems into manageable steps
Dividing a system into separate modules or components
Designed to be difficult for guessing
Set of instructions for problem-solving
37
This is intended to display the sum of all numbers in the list but records an error. What type of error is this?
Syntax error
No error; the program works as intended
Runtime error
Logical error
38
Which of the following is a cause of the digital divide?
Lack of access to the technology due to affordability
Lack of knowledge on how to use technology
Lack of access to technology due to location
All of the above
39
What is the following program returning?
27
20
37
25
40
The basic building blocks of everything around us that relates to technology
byte
binary
boolean
bit
41
What will the following program display?
OOOXX
The program is an infinite loop.
OXXOO
OXXOXXOXX
42
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x < 6
x >= 6
x > 10
x >= 9
43
What will the executed code display?
All even numbers between 1 and 12
All odd numbers between 3 and 12
All even numbers between 3 and 12
All odd numbers between 1 and 12
44
Which of the following is NOT metadata for the picture?
The memory space taken up by the picture
The picture of the dog
The time the picture was taken
The location where the picture was taken
45
HTTP stands for Hypertext Telegram Protocol for webpages
True
False
46
What is the User Interface
Elements of which the user controls
An interface with options
Elements of which the coder controls
An interface with code
47
We can convert a number from decimal to octal (base 8) by repeatedly subtracting the largest possible powers of what?
7
9
8
2
48
What will the following code segment display?
22
30
10
1
49
Which of the following is a true statement about data transmitted over the internet?
The DNS has been challenged by the Digital Millennium Copyright Act (DMCA)
Redundancy in the design of the internet is overseen by large companies
All data traveling over the internet is in binary.
Packets are received in the same order that they are sent.
50
What is displayed because of executing the code segment?
9
1 5 7
1 3 5 7 9
3 9
51
What is the definition of lossless data compression
Standardized permission to use creative work under copyright law
Restoring file data to original form after decompression
Reducing file size without significant information loss
Fixing errors in datasets
52
Computing is closely tied to ____, computing innovation have far reaching ____.
abstraction, algorithm
creativity, innovation
selection, iteration
prototype, innovation
53
The Internet's system for converting alphabetic names into numeric IP addresses
URL
IP Adress
TCP
DNS
54
A computer calculates:a ← 1/3A 2nd computer also calculates the same equation:b ← 1/3If a≠ b, what error is this?
Hexadecimal conversion error
Roundoff error
a will equal b on all computers
Overflow error
55
The following picture was taken by a smartphone.
The filename
The Red, Green, and Blue values of the top left pixel
The date the photo was taken
The geographic location where the picture was taken
56
Scalability is?
Decision problem solvable by a halting algorithm
Method for finding elements in a list sequentially
Ratio of useful work to expended resources
System's ability to adjust performance and cost
57
What will be the output of the following program?
14
9 5 7
14 6
7 5 9
58
Which of the following can be represented by a single binary number?
What is the speed of a puppy chasing a squirrel?
What is the position of an object in a grid of squares?
Is your puppy named “Waffles”?
What is the name of the dog?
59
What is a run-time error
Fault in the logic or structure of a problem
Incorrect character or string placement causing execution failure
Attempt to store excessive data in a fixed-size location
Error occurring while a program is running post compilation
60
When should a heuristic algorithm be used?
When calculating the average score for the national SAT test
Finding the quickest way from Orlando, Florida, to Cold Foot, Alaska
When finding the lifetime batting average of Mookie Wilson
UFinjding a number within a given list
61
Which of the following lines of code would cause an error with a robot?
NOT CAN_MOVE (left)
CAN_MOVE (right)
NOT CAN_M0VE (forward)
CAN_MOVE (north)
62
What will the following code segment display?
Nothing will be displayed due to an error.
6
3
11
63
Working together to facilitate the application of multiple perspectives and diverse talents is the definition of
collaboration
ReCAPTCHA
extraction
crowdsourcing
64
What is the code segment displaying?
0
17
34
68
65
What is the definition of redundancy?
Set of rules for data formatting
System's ability to operate despite failures
System design with duplicated components
Integrated devices for data processing
66
What does the algorithm display?
7
5
4
3
67
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
Publisher’s reputation and credentials
Sponsorship of the article or publisher
68
What is a logic error?
Fault in the logic or structure of a problem
Error occurring while a program is running post compilation
Incorrect character or string placement causing execution failure
Attempt to store excessive data in a fixed-size location
69
Answer the question
I , II , and III
I only
II only
II and III
70
An algorithm has 𝑛 number of steps. Which of the following would be considered a reasonable number of steps?
4n+8n2
3n
n!
100n4
71
Why is it important to find an efficient solution to a problem?
An efficient solution can make it easier to analyze larger data sets.
An efficient solution makes it harder to copy an algorithm.
An efficient solution can always be solved in a reasonable amount of time.
A resource-intensive solution guarantees accurate results.
72
What is bandwidth
?
Continuous high-speed data transfer
Network capacity for data transmission
Process of path selection in a network
Set of rules for data formatting
73
Heuristic is?
Two programmers collaborating at one workstation
Efficient algorithm for finding items in a sorted list
Method for finding elements in a list sequentially
Problem-solving method for satisfactory solutions
74
What can replace so the algorithm works as intended to swap the variables a and b using a temporary variable, temp?
b <- a
temp <- b
b <- temp
temp <- a
75
What is a benefit of using a simulation?
account for every variable that would affect supply and demand.
have as much of an effect on the real world as an actual experiment would
cost-effective and easier to create than an experiment done to a country
run only once, so they are guaranteed to be close to real life
76
What is displayed after running the algorithm below?
12
43
133
145
77
Which of the following is true about data compression?
Data compression can be used for pictures and video only.
Lossless data compression is the best compression under all conditions.
Lossy compression cannot be used when sending pictures.
can be used to reduce the size of a file for storage or transmission.
78
Keylogging is?
Software to steal data or damage computers
Malware tracking and recording keystrokes
Malicious software spreading and causing damage
Authentication requiring multiple factors
79
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.
80
Decryption is?
Transforming encrypted data into original format
Scrambling data for authorized understanding
Decision or question in programming
Language for implementing software
81
What protocol below guides the rules about how data are subdivided into packets before transmission?
TCP
HTTP
FTP
DNS
82
Which of the following decimal (base-10) values is equivalent to the binary (base-2) value 101001?
27
22
41
82
83
The following program is intended to display the string 789. What type of error will the following procedure cause?
Runtime error
No error
Syntax error
Logic error
84
What will the following algorithm display after running the code below?
2
1
3
4
85
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.”
86
What is the definition of a bit?
Input data for function calculation
Data unit consisting of eight binary digits
Smallest unit of data a computer can process
Total digits used in a number system
87
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.
88
What is displayed as a result of executing the code segment?
Dog Cat Fish
Dog Golden Bandicoot Cat Fish
Dog Cat Fish Golden Bandicoot
Golden Bandicoot Cat Fish
89
Is a binary search always the fastest search when searching for a number in a sorted list?
For a large list, binary searches are always faster.
A binary search is always faster with a sorted list.
First linear search pass may find the number faster than binary search.
For a large list, linear searches are always faster.
90
Which of the following protocol standardization is NOT a function of the IETF (Internet Engineering Task Force)?
Simple Mail Transfer Protocol
JavaScript Coding Protocol
Internet Protocol
Hypertext Transfer Protocol
91
Which of the following statements are true about high-level programming languages?
High level programming is only used to create applications.
A high-level programming language does not ensure program reliability.
A high-level programming language often uses natural language elements.
High level programming language can be used to execute commands
92
Which of the following best defines confidentiality in context with information and data?
The reliability of access to information
The ability to limit access to information to a certain set of users
The certainty that information is accurate
The confirmation that a company will not sell your information to others
93
What command can replace <Missing condition> to get the results shown in the fourth column of the table?
NOT(a OR a)
NOT b
NOT(a AND b)
a OR b
94
Parallel computing is standard method executing steps in order.
False
True
95
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
1
1000
2000
11
96
What will the following code segment display?
Nothing will be displayed due to the error index out of bounds.
9 10 7 4 1
10
1 4 7 10 9
97
Which of the following lists is
NOT
a candidate for a binary search?
A list of words from a poem about food in the order they appear in the poem
A list of students in order of height
A list of numbers from smallest to largest
A list of words in a dictionary
98
What is the definition of element
Iterating over a subset of items in a list
Operator referencing a member of an array
Iterating over all items in a list
Smaller component of a larger system
99
What is a syntax error?
Attempt to store excessive data in a fixed-size location
Incorrect character or string placement causing execution failure
Error occurring while a program is running post compilation
Fault in the logic or structure of a problem
100
Which search algorithm would work as intended to find the value 35?[1, 43, 23, 65, 76, 34, 33, 12, 94, 576, 55, 35, 346]
Binary search
Linear search
Insertion sort
Bubble sort