stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Huda, Muhammad AP Exam Review Flashcards | StudBud
Explore
/
Huda, Muhammad AP Exam Review
Huda, Muhammad AP Exam Review
100 terms
·
StudBud Administration
·
3 plays
Imported from external platform
Flashcards
100 cards
F
Practice quiz
P
Host live
L
Questions
100
Answers
1
Which of the following is true about data compression?
Data compression can be used for pictures and video only.
It can be used to reduce the size of a file for storage or transmission.
Lossless data compression is the best compression under all conditions.
Lossy compression cannot be used when sending pictures.
2
The procedure isFound(list, item) will return TRUE if an item is found in a list What will it display?
[1, 6, −4]
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
[ ]
[4, 6, −4]
3
For the following data structure, which search algorithm would work as intended to find the value 35?
Bubble sort
Binary search
Insertion sort
Linear search
4
What is the minimum number of searches for a binary search using an ordered list of 100 numbers?
0
100
8
1
5
What is the World Wide Web?
A collection of wires and cables to connect devices
A browser
A way to search for and share documents and resources
Another name for the Internet
6
What term describes values that can only be either true or false?
Boolean
Decidable
Algorithmic
Sequential
7
Which of the following is true about redundancy on the internet?
I, II, and III
I only
I and II only
II and III only
8
What is displayed as a result of executing the following code segment?
Dog Waffle Noodles Moose Novack Benji
Dog Waffle Moose Noodles Novack Benji
Waffle Moose Noodles Novack Benji
Moose Benji Novack Waffle Noodles
9
What will the following code segment display?
11
Nothing will be displayed due to an error.
6
3
10
A parallel computing system uses multiple computers to run
sections of the program at the same time
sections of the data at the same time
sections of the program at staggered times to avoid overlap
the same data to measure the fastest ISP
11
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 file can be difficult to email and can take up lots of memory storage.
The number and size of pixels will be less.
The image quality will be less and will result in a blurry image.
12
Which best describes the role of TCP?
The set of rules for the path packets taken on the fault-tolerant internet
The foundation of data communication for the World Wide Web
A protocol for encrypting and decrypting data transferring on the internet
Assigning numerical labels to internet devices.
13
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
Sponsorship of the article or publisher
Use of persuasive techniques within the source
14
People trading personal information for perks from companies is an example of which of the following?
Privacy concerns
Authentication exposure
The use of proxy servers
Legal issues
15
Refer to the image flowchart below:
2 8
3 7
4 8
2 7
16
What would be a good use of constants when initializing variables at the beginning of a program?
II and III only
I and III only
I and II only
I, II, and III
17
Which of the following describes the characteristics of the internet and its systems?
I, II, and III
II and III only
I and III only
II only
18
Which command can replace <Missing Condition> to result in the last column of the table shown below?
NOT (a AND b)
a AND (a AND b)
a OR b
b AND (a AND b)
19
Which of the following best approximates the minimum possible time to run all three processes in series?
8 seconds
38 seconds
10 seconds
20 seconds
20
What can be determined by comparing the time it takes different systems to complete the same task?
Efficiency
Speedup
Reliability
Validity
21
What will the executed code display?
All even numbers between 1 and 12
All even numbers between 3 and 12
All odd numbers between 1 and 12
All odd numbers between 3 and 12
22
We can convert a number from decimal to octal (base 8) by repeatedly subtracting the largest possible powers of what?
2
9
7
8
23
How many lines need to be cut to completely isolate computer E from computer C?
8
0
3
6
24
Refer to the image below:
I , II , and III
II and III
II only
I only
25
In the following URL, what is the lowest level of the domain's syntax hierarchy? tovuti.net/ukurasa
net/ukurasa
ukurasa
tovuti.net/ukurasa
net
26
What will the following algorithm display?
19
13
17
18
27
What does the following algorithm display?
It always displays “True.”
It always displays “False.”
When A is false, the algorithm displays “False.”
When B is false, the algorithm displays “False.”
28
Convert 88𝐷𝐸𝐶 to a binary number.
1000001BIN
1010101BIN
1011000BIN
1111000BIN
29
Data compression algorithms are used when the data
needs to be shared with a large number of people
needs to be sent a large physical distance away
is used for cryptography to keep data secure
is too large to send in a timely manner
30
What is the value of sum displayed after this algorithm is run?
Error
6
4
0
31
What will be the result of the displayed program?
9 5 7
14 6
6 14
7 5 9
32
What is the minimum number of binary digits needed to store the number 56?
1
6
5
3
33
In the following flowchart, what is the value of RESULT?
Always false
True when both A and B are true
Always true
True when either A or B are true
34
What are two aspects of efficiency?
memory usage and length of code
wall clock time and CPU time
execution time and memory usage
execution time and length of code
35
Using an app to notify many people about child abductions, such as an Amber alert, is an example of:
consensus building
crowdsourcing
compliance
open sourcing
36
What will the program segment display?
99
2
3
34
37
What will be the output of the following program?
7 5 9
9 5 7
14
14 6
38
What is the value displayed after the program is run?
a 6
a 8
16 4
8 6
39
What protocol below guides the rules about how data are subdivided into packets before transmission?
DNS
HTTP
FTP
TCP
40
What should replace so the program below displays TRUE 60% of the time?
x MOD 2 = 1
x MOD 5 = 5
x MOD 2 = 0
x MOD 5 = 0
41
What will the above program display?
3 8 0
4 8 8
Nothing due to an infinite loop
2 8 14
42
What will the following code segment display?
1
30
10
22
43
What data isn't provided directly by the user and device but is necessary for the upgraded game to operate as described?
Location of landmarks used in the game.
GPS location of user
User name
Speed traveling
44
What is displayed as a result of executing the code segment?
Dog Cat Fish Golden Bandicoot
Golden Bandicoot Cat Fish
Dog Golden Bandicoot Cat Fish
Dog Cat Fish
45
What value does the variable "count" have after tracing through the flowchart?
Count = count +
4
0
5
46
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
47
What does the algorithm display?
4
7
5
3
48
Which of the following is an example of metadata that serves to be descriptive of the content of a file?
File size
Data created
User-selected tags (e.g., "Vacation," "Personal Work")
Program used to read the file
49
Which of the following lists is
NOT
a candidate for a binary search?
A list of numbers from smallest to largest
List of words in a poem about sunshine in order as they appear in the poem
A list of words in a dictionary
A list of students in order of height
50
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 wondrous jellyfish on the beach or water
Collecting recordings using ultrasonic microphones and sonograms of bats
51
Being able to add or remove resources to store large datasets is called:
routing
filtering
efficiency
scalability
52
Which of the following is the
MOST
likely data privacy concern of the upgraded game?
Recording whether the player was speeding when driving to a location.
How many locations the player visited
How much time a person spent playing the game
The player’s score
53
Using social engineering to trick users into providing their personal information is called:
Pharming
Keylogging
Phishing
Spearing
54
Which of the following lines of code would cause an error with a robot?
NOT CAN_M0VE (forward)
CAN_MOVE (north)
CAN_MOVE (right)
NOT CAN_MOVE (left)
55
Why does program code have to be run through a compiler?
It doesn’t, as the new program could be run directly from the code.
Program code is write-only until it is 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.
56
What will the following code segment display?
1 4 7 10 9
9 10 7 4 1
10
Nothing will be displayed due to the error index out of bounds.
57
What will the following algorithm display after running the code below?
1
2
4
3
58
An algorithm has 𝑛 number of steps. Which of the following would be considered a reasonable number of steps?
3n
100𝑛4
4n + 8𝑛2
𝑛!
59
What will the following algorithm display?
126
42
84
0
60
What is the code segment displaying?
0
17
34
68
61
Which of the following is false about HTTPS?
HTTPS trades faster performance for more security
HTTPS uses Certificate Authorities (CAs) to verify a site's identity
HTTPS ensures the secure sharing of data
HTTPS encrypts data before it is separated into packets
62
What is the minimum number of lines that must be cut to isolate F completely?
4
6
0
8
63
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x < 6
x >= 6
x > 10
x >= 9
64
What order should these be in to go from smallest to largest?
3, 1,
3, 2,
2, 1,
1, 2,
65
What is the User Interface?
Elements of which the coder controls
An interface with code
Elements of which the user controls
An interface with options
66
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
11
1
1,000
2,000
67
What is displayed because of executing the code segment?
9
1 5 7
3 9
1 3 5 7 9
68
The following program is intended to display the string 789. What type of error will the following procedure cause?
No error
Logic error
Runtime error
Syntax error
69
Which of the following could
NOT
be a potential IPv4 website address?
128.198.232.65
54.116.188.246
174.260.45.144
92.11.198.113
70
What will the following algorithm display?
Milk Cookies Soda Chips put them in a bag so you know they stay crisp
Put them in a bag and they stay crisp
Milk
Milk Cookies Soda
71
What will the following code segment display?
Nothing will be displayed due to an error.
6
3
11
72
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]
73
Given the network in the diagram, what is an available path for A and B if the link between A and B is down?
A C B
A C D A
C D B A
A C D
74
Which of the following input data is needed by the upgraded game that was
NOT
needed by the original game?
Age of the player
GPS location
Event sensing; an event would be the user pushing a button or screen
Picture of the player
75
Which of the following are benefits to having information be easily accessible and changeable?
I, II, and III
II and III only
I only
I and II only
76
Which of the following is true about packets?
Packets travel along different paths to their destination
Packets leave and arrive at their destination at the same time
Each router decrypts the packets to confirm their destination
If a packet doesn't arrive at the destination, the entire message is resent
77
Which of the following is
NOT
metadata about this image taken by a smartphone?
The filename
The geographic location where the picture was taken
The Red, Green, and Blue values of the top left pixel
The date the photo was taken
78
In what order will the numbers appear after running the algorithm below?
5, 7, −6, 7
5, 7, 4, 3.5
5, 6, 3, 3
5, 6, −5, 6
79
Which of the following statements is
NOT
correct:
Logic gates are used to perform operations such as addition and subtraction
Binary data is processed by physical layers of computing hardware
Logic gates are modeled by Boolean functions
Hardware is the lowest level of abstraction
80
When access to the Internet is unequal based on geographic or socioeconomic reasons, it's referred to as the:
Internet divide
Digital divide
Distance divide
Wealthy divide
81
Which of the following statements are true about undecidable problems in computer science?
II and III
I and II
I, II, and III
I only
82
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 play the game in their spare time.
People are exercising.
Players are becoming more cultured by visiting artworks.
83
What is an Event?
An action that causes something to happen
An action that will allow you to look up and event
An action that doesn’t do anything in the App
Something that is happening in the calendar
84
Which of the following is a trade-off inherent in lossy compression ease of handling?
Image size
Viewing ability
Smaller file size (bytes)
Image quality
85
What is the following program returning?
37
20
25
27
86
What will the following algorithm display?
1
13
0
26
87
Which of the following is a cause of the digital divide?
Lack of access to technology due to location
Lack of knowledge on how to use technology
Lack of access to the technology due to affordability
All of the above
88
What are the elements in the list "fruit" after the code below?
apples, mango, kiwi, blueberries
grapes, mango, apples, blueberries, kiwi
oranges, mango, apples, blueberries, kiwi
bananas, mango, apples, kiwi, grapes
89
In IPv6, the address length compared to IPv4 is quadrupled from 2
32
. How many addresses can be created using IPv6?
264
232
216
2128
90
What should replace <missing condition> so that the program below display TRUE 10% of the time?
x <= 9
x <= 1
x < 1
x < 9
91
What will the following algorithm display?
13 17 5
14 17 2
2 12 2
2 14 17
92
Which of the following is NOT metadata for the picture?
The memory space taken up by the picture
The time the picture was taken
The location where the picture was taken
The picture of the dog
93
What will the following program display?
OOOXX
The program is an infinite loop.
OXXOXXOXX
OXXOO
94
Which of the following can be represented by a single binary digit?
Date
Light on / light off
Geographic location
Time
95
What has Creative Commons provided?
Licensing options by the owners of artifacts
Cooperative copyright arbitration
Free use of other people's work
Ways to share other people's creations without their knowledge
96
What is/are used to determine whether code should be run for both "IF" statements and "REPEAT UNTIL" loops?
Events
Iterations
Pseudocode
Conditions
97
Which of the following codes will output a TRUE statement if executed?
((true OR false) AND NOT (false OR NOT (true))
((NOT(true AND false)) AND (false OR true))
((NOT (true)) OR (false AND true))
((true AND false) AND (false OR true))
98
What is the name for programming code that is available to anyone to use or modify?
Open-source software
Licensed software
Compiled software
Open access software
99
Which of the choices below properly identify the concepts of cryptography from the image?
Asymmetric and Symmetric
Symmetric and Steganography
Hash Codes and Key Transfers
Lexicographic and Asymmetric
100
What is an example of sharing images and allowing individuals to scan them for certain features?
Heuristics
Citizen science
Contaminated research
Moore's law