stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Nguyen, Alanee AP Exam Review Flashcards | StudBud
Explore
/
Nguyen, Alanee AP Exam Review
Nguyen, Alanee AP Exam Review
100 terms
·
StudBud Administration
Imported from external platform
Flashcards
100 cards
F
Practice quiz
P
Host live
L
Questions
100
Answers
1
Certain coding languages might cause errors due to the given instructions. Why?
Limited bits restrict character or integer range.
The multiple levels of abstraction used oversimplified the coded.
The fixed number of bits used to represent real numbers limits the range.
The value of the product will always be 0.
2
?????
A.
D.
C.
B.
3
Convert 88𝐷𝐸𝐶 to a binary number.
1010101BIN
1111000BIN
1011000BIN
1000001BIN
4
?????
D.
B.
C.
A.
5
Managing digital data involves many considerations (security and privacy). Which pose valid security concerns?
A, B
A, D
A, C
A, D
6
?????
Limited bits caused overflow error.
Program rounded one product's price, then multiplied.
Round-off error occurred during floating point multiplication.
The program does not handle signed integers.
7
?????
No privacy protections, commercial groups' data curation can be exploited.
Lack of privacy protections leads to exploitation of gov.-curated data.
Ignoring security measures allows exploitation of government data curation.
Ignoring security allows commercial groups' curated data to be exploited.
8
?????
moveAndSpin(0, 1), moveAndSpin(6, 3), moveAndSpin(4, 0)
moveAndSpin(7, 3)
moveAndSpin(4, 1)moveAndSpin(6, 0)
moveAndSpin(0, 7)
9
Which of the above, represented in binary as a byte, contains the most zeros?
C
p
K
.
10
?????
B.
C.
A.
D.
11
?????
Syntax error
No error; the program works as intended
Runtime error
Logical error
12
?????
7 5 9
9 5 7
14
14 6
13
To find specific information on wild mustangs of the West, which search term would be most useful?
Site: Mustang
Mustang -car
"Mustang, not the car"
Mustang NOT car
14
?????
B.
C.
D.
A.
15
?????
Neither I nor II
Both I and II
II only
I only
16
?????
D.
B.
A.
C.
17
What might happen when a teacher uses word clouds to show students how often they use the word "that" in their writing?
II and III
I and III
I and II
I, II, and III
18
Which of the following is least likely to receive targeted advertisements?
Individuals using the web browser with the Do Not Track setting engaged
Users who visit only web w/ digital certificate that block targeted advert-
Individuals using the web browser without the Do Not Track option
Users with strong passwords and multifactor authentication
19
?????
C.
D.
B
A.
20
What is displayed as a result of executing the code segment?
Dog Cat Fish
Golden Bandicoot Cat FishGolden Bandicoot Cat Fish - correct
Dog Golden Bandicoot Cat Fish
Dog Cat Fish Golden Bandicoot
21
Which storage method below offers the easiest data accessibility for users in various locations?
Magnetic Drive System. as it can handle all data types.
USB Flash Drive is most accessible, copied and shared among users.
Mainframe Computer, as it can be accessed from many computers.
Cloud Drive, as it allows for multiple users and version control.
22
?????
numbers[11, 35, 6]
numbers[1, 1, 35, 6]
numbers[3, 5, 11, 6]numbers[3, 5, 11, 6] - no response given
numbers[0, 1, 35, 6]
23
How should a mother choose a family cell phone plan with shared data?
III, I, II, IV
I, IV, II, III
I, III, IV, II
I, Il, III, IV
24
?????
0
4
Error
6
25
?????
A dealer deals 5 cards to each of 5players, repeating this process 5 times.
A card dealer deals one card face-up to each of five players.
A card dealer deals a five-card hand to one player.
The dealer reveals 1 card, returns it to the deck-shuffles-repeats 5 times.
26
?????
D.
C.
A.
B.
27
?????
B.
D.
C.
A.
28
?????
1,000
1
10
100
29
?????
I, II, III, and IV only
I, II, and IV only
All of the above
II, IV, and V only
30
?????
C.
B.
A.
D.
31
Which of the following codes will output a TRUE statement if executed?
((true AND false) AND (false OR true))
((NOT (true)) OR (false AND true))
((true OR false) AND NOT (false OR NOT (true))
((NOT(true AND false)) AND (false OR true))
32
?????
C.
A.
B.
D.
33
?????
B.
A.
C.
D.
34
?????
B.
D.
C.
A.
35
Consider the following code segment. What will be the value of x after this code segment executes?
For all values of x, x will decrease by 1.
For x > 5, x stays same; otherwise, x decreases by b.
For x > 5, x + 1; else, x - 1.
For all values of x, x will remain unchanged.
36
?????
C. A
D, A
A, B
B, C
37
?????
C.
D.
B.
A.
38
What is displayed because of executing the code segment?
1 3 5 7 9
1 5 7
9
3 9
39
?????
import java.util.concurrent.ThreadLocalRandom
import ThreadLocalRandom.concurrent.util.java
import java.ThreadLocalRandom
import java.util.function.ThreadLocalRandom
40
Which of the following potential benefits is
MOST
likely to be provided by the upgraded system?
Info obtained of ur preferences/activities may be used to brand u a group
Cookies = text files - track of such web visits & activities on that web
Cookies are used to acquire users’ private encryption keys.
Cookies are responsible for spam and create pop-up advertisements.
41
?????
True when either A or B are true
True when both A and B are true
Always true
Always false
42
A bank asks for your phone number for any accidents. What's the reason in doing so?
It is done to set up multi-factor authentication
It is to alleviate privacy concerns
It is done to set up asymmetric authentication mechanisms
It is done to protect the account from phishing attempts
43
What is returned by
cube(cube(2))
?
512
64
8
128
44
?????
A.
B.
D.
C.
45
?????
x MOD 5 = 5
x MOD 2 = 0
x MOD 2 = 1
x MOD 5 = 0
46
?????
6 14
9 5 7
14 6
7 5 9
47
The software will put the given cards in order by suit & face value. What strategies to find efficient sorting alg.?
The designer can host the game on a large server.
The designer can use pre-existing sorting methods to suit his own work.
Designer can find an efficient alg. of sorting the cards - a player’s hand
The designer can try to reduce his code to as few lines as possible.
48
School want to advertise student achievements to students. How can this be delivered in an effective, summarized manner.
Craft a marketing pamphlet highlighting student body performance.
Email the prospective families that have middle-school-age children.
Post the results of the passing students on social media sites.
Show a pie chart of passing students' scores by topic.
49
How many bits comprise an IPv6 address?
1024
512
128
256
50
?????
A.
C.
B.
D.
51
The database of crimes contains the following info: Date of crime - Name of offenders - Neighborhood of crime
Algorithm I only
Neither Algorithm I nor Algorithm II
Algorithm II only
Both Algorithm I and Algorithm II
52
?????
9 10 7 4 1
Nothing will be displayed due to the error index out of bounds.
1 4 7 10 9
10
53
What are two aspects of efficiency?
Wall clock time and CPU time
Execution time and length of code
Memory usage and length of code
Execution time and memory usage.
54
What will the program below display?
3 7
4 8
2 7
2 8
55
?????
A.
B.
D.
C.
56
?????
D.
B.
A.
C.
57
?????
D.
B.
C.
A.
58
Metadata is defined as data. review the following statements. Which is true?
I, II, and IV only
All of the above
II, III, and IV only
I only
59
Regardless of the compression technique used, you cannot restore a compressed file and get exactly the same file.
False
True
60
?????
[ ]
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
[1, 6, −4]
[4, 6, −4]
61
?????
B.
C.
D.
A.
62
?????
a.
b.
d.
c.
63
?????
B.
D.
C.
A.
64
?????
37
27
25
20
65
?????
D.
B.
C.
A.
66
Consider the following procedure,
mystery( x, y )
. What is returned by
mystery (1, 2)
?
4
2
10
8
67
Which algorithm calculates average correctly?
Algorithm B calculates average in all cases, while Algorithm A does not.
Neither Algorithm A nor Algorithm B calculates average correctly.
Both Algorithms calculate average correctly, but A is more efficient.
Algorithm A calculates average in all cases, while Algorithm B does not.
68
?????
C.
D.
A.
B.
69
We can convert a number from decimal to octal (base 8) by repeatedly subtracting the largest possible powers of what?
7
8
9
2
70
?????
54.116.188.246
92.11.198.113
174.260.45.144
128.198.232.65
71
What percentage of the time will the program display an even number?
20%
40%
10%
50%
72
Which of the following is true of effective collaboration?
I, III, and IV only
I, II, III, and V only
II, IV, and V only
All of the above
73
?????
How many program statements the program contains
How much memory the program requires to run
The amount of program documentation that should be minimized
The order of the data put into the data set
74
?????
Both I & II
Neither
I only
II only
75
Musicians find digitally saved song quality lower. Why?
The recording was done through the lossless compression technique
The song file was saved with lower bits per second
File relocation led to loss of information.
The song file was saved with higher bits per second
76
?????
Ensure the chosen language supports required arithmetic operators.
Consider the pool's height to calculate its volume: Volume = Area * height.
Pi, being irrational, must be approximated using floating-poin
Include a Boolean expression in the program to check if the pool is open.
77
?????
C.
A.
D.
B.
78
?????
Step 1, Step 5, Step 3, Step 6, Step 2, Step 4
Step 5, Step 1, Step 2,Step 4, Step 6, Step 3
Step 1, Step 5, Step 6, Step 3, Step 4, Step 2
Step 5, Step 1, Step 6, Step 3, Step 2, Step 4
79
?????
A.
B.
D.
C.
80
?????
A.
B.
C.
D.
81
?????
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 easily placed into a slideshow or document, tables cannot
Graphs are able to show all of the detail necessary to understand data.
82
Create a program for various operations; suspect randomization issue in test results.
Using a code visualizer
Using DISPLAY statements at different points of code
Rerunning the code
Code Tracing
83
?????
A.
D.
C.
B.
84
?????
OXXOO
OXXOXXOXX
OOOXX
The program is an infinite loop.
85
?????
00000111 00001111 00000100
00000010 00001111 00000111
00000010 00001111 00000111
00000100 00001111 00000111
86
?????
B.
D.
C.
A.
87
?????
Lossless compression condenses files for storage/tran for full restoration.
Moving music to a digital player compresses it losslessly for smaller size.
Lossy formats compress files effectively, restoring them accurately.
Scanning a picture yields lossy format, offering an interpreted version.
88
?????
296 as many addresses
96 as many IP addresses
22 as many IP addresses
Twice as many IP addresses
89
?????
The vending machine will wait until more quarters are added
The vending machine will give out drinks with change
The vending machine will not give out drink
The vending machine will give out drinks and keep the change
90
?????
Computer science, electronics, remote systems, and biology.
Compsi, mechanical engineering, biology, electronics, and remote systems.
Remote systems, computer science, biology, and mechanical engineering.
Mechanical engineering, biology, and computer science.
91
?????
D.
A.
B.
C.
92
?????
8
512
256
24
93
Which of the following is not a technology that could be used for transferring funds on the Internet?
Online banking
WWW
GPS
SSH
94
What percentage of the time will the following program display a number?
75%
20%
10%
25%
95
?????
C.
D.
A.
B.
96
?????
28 seconds
15 seconds
4 seconds
9 seconds
97
What is data mining?
The data associated with a mining operation.
Find anomalies, pattern/correlations in large data sets for prediction.
The process of sifting through small data sets to find patterns.
The data associated with the ore of a mining operation.
98
?????
Reference grouping
Information filtering
Preference categorization
Statistical probability model
99
?????
REPEAT UNTIL x = 4
REPEAT UNTIL (Goal_Reached)
REPEAT 4 TIMES
FOR EACH item IN list
100
What is the decimal representation of the following binary sequence of bytes?00100100 00010001 00000011 00001011
36 16 3 13
34 15 3 13
36 17 3 11
34 17 3 11