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