stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Nguyen, Grace AP Exam Review Flashcards | StudBud
Explore
/
Nguyen, Grace AP Exam Review
Nguyen, Grace AP Exam Review
100 terms
·
StudBud Administration
·
1 play
Imported from external platform
Flashcards
100 cards
F
Practice quiz
P
Host live
L
Questions
100
Answers
1
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.
A binary search is always faster with a sorted list.
No, the first pass of a linear search may find the right number.
For a large list, binary searches are always faster.
2
Which of the following is an effect that the "digital divide" has on the given group?
A
D
C
B
3
Which of the following is an example of how global positioning systems (GPS) have affected human navigation?
A, B
B, C
A, D
D, C
4
What will be displayed?
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, -4]
[4, 6, -4]
[1, 6, -4]
[ ]
5
What will the following algorithm display?
756
0
48
1,512
6
What could a single binary value represent?
Volume on a radio
Whether a light is on or off
Time
Temperature in Celsius
7
What will be displayed?
2 8
2 7
4 8
3 7
8
Which of the following MUST an algorithm be written or be converted into to be executed by a computer?
Natural language
Low-level machine
Pseudocode
High-level machine
9
The number "1001001" in binary is equivalent to what number when converted to base 10?
73
37
86
45
10
If all variables have the value true, what is displayed as a result of running the segments as shown?
Flu Healthy
Flu Cold Healthy
Flu
Cold
11
A computer can use 5 bits to store a non-negative number. What is the largest number that won't give an overflow error?
32
31
30
33
12
Why are most websites designed to work within the boundaries of current web protocols, even when it limits capabilities?
B
C
A
D
13
What is displayed after running the following algorithm?
-98
0
-76
-1
14
What will the following code display?
7
22
25
10
15
Which protocol identifies a device on the Internet, the source, and the destination of data transmitted with the IP?
Packets
UDP
TCP
IP address
16
Which of the following are examples of collaborations that have been created through crowdsourcing?
B, C
D, C
A, B
A, D
17
A flowchart is a way to represent an algorithm visually. What will this flowchart/algorithm display?
Nothing due to an infinite loop.
10
6
8
18
Which of the following processes will not be affected by the digital divide?
D
C
B
A
19
What will be displayed?
10
100
50
An infinite amount
20
A simulation for a color picker should result in 25% BLUE. Which of the following could replace the missing condition?
A, B
B, C
C, D
A, D
21
How do open standards ensure the security of encrypted data?
D
C
A
B
22
What is the following code displaying?
3, 6, 9, 12
0
3, 6, 9, 12, 15
2, 4, 6, 8, 10, 12, 14
23
What would not be a useful way to filter entries in an online registry of books in a library system?
The author of the book
The library/libraries in the system that have a copy of the book
The number of letters in the book's title
The genre of the book
24
Which of the following is a trade-off inherent in lossless compression?
Loss of image quality will be less and result in a blurry image.
Some of the data will be lost and cannot be recovered.
Ease of use-it can be hard to email and can take up large memory storage.
Loss of number and size of pixels.
25
What device can students use to hide their IP address?
DDoS attacks
DNS
Proxy server
Phishing attack
26
Which of the following is NOT metadata for the following picture of my dog Novack the 3rd taken in front of PETCO field?
The picture of the dog
The time the picture was taken
The location of where the picture was taken
The memory space taken up by the picture
27
What can a series of bits represent?
The number I am thinking about in my head (11,356)
All of these answer choices are correct.
The color puce
High-resolution pictures
28
What is displayed as a result of executing the code segment?
Golden Bandicoot Cat Fish
Dog Golden Bandicoot Cat Fish
Dog Cat Fish
Dog Cat Fish Golden Bandicoot
29
Why is programming code written in a high-level language ran through a compiler before it can be run?
The computer cannot directly understand upper-level programming code.
The computer interfaces with the compiler to figure how to run the program.
The compiler ensures that the program will have no bugs.
The compiler installs the new or updated program onto the computer.
30
What will the following code segment display?
false false
true true
true false
false true
31
What will the following call to the procedure display?
backronym
desserts
stressed
list1
32
Why is it important that online systems with large data sets be scalable?
D
B
C
A
33
Read the question below and pick the correct answer choice.
00000100 00001001 00000111
00000100 00001111 00000111
00000111 00001111 00000100
00000010 00001111 00000111
34
What is the maximum number of searches required if using a linear search on a list containing 2000 numbers?
11
1000
1
2000
35
Where is cloud data stored?
Electrical currents of nimbus clouds
The computer's software
Data centers of computers that can keep your information accesible
The computer's hardware
36
Which of the following concepts pose a problem that cannot be solved with an algorithm?
Asymmetric cryptography
Reinforcing feedback loop
Pointer variable
One-way function
37
What will the below program display if numList contains [5, 11, 35, 6]?
6
62
52
57
38
What should replace so the program below displays TRUE 60% of the time?
X MOD 2 = 1
x MOD 2 = 0
X MOD 5 = 5
x MOD 5 = 0
39
Choose an answer based off the image below.
B
C
D
A
40
Why is it best to use an iterative and incremental process of program development?
A
D
C
B
41
Which of the following lists hardware in order from high-to-low hardware abstraction?
Computer, video card, transistor
Computer, transistor, graphics card
Logic gate, video card, transistor
Logic gate, transistor, graphics card
42
Which encryption process uses the same key to encrypt as to decrypt data?
Symmetric key encryption
Key lock creating
Public key encryption
Asymmetric key encryption
43
What is the output?
7 5 9
14 6
14
9 5 7
44
What is the following program displaying?
25
37
20
27
45
What will the code segment display?
2
1
9
7
46
Which math solution could result in a roundoff error?
3 + 5
1 / 3
2 * 6
6 - 2
47
A program that models the growth of foxes and rabbits is created. What does NOT need to be implemented?
Each rabbit may only have a certain amount of children per litter.
Each fox must eat a rabbit frequently to survive.
A representation of grass that rabbits must eat to frequently survive.
Each rabbit can only live to a certain age, assuming they are not eaten.
48
Which answer best fits the question in the image below?
B
C
A
D
49
What value will be displayed?
12
0
1
10
50
What value is displayed?
7 6 5
1 2 3
4
7 6 5 4
51
Read the question and choose the answer choice that best fits.
C
B
D
A
52
What will the program display if numList contains [0, 11, 35, 6]?
62
41
6
52
53
If a computing solution takes 10s to run a sequential solution but takes 5s to run in parallel, what is the speed up?
2
15
0.5
10
54
A node in the path between the sender and the receiver has broken. Will they still be able to communicate?
Nodes are made to never need maintenance, so communication never breaks.
Once the node is fixed, communications will be restored.
No, the path has been interrupted.
Yes, an alternate route from the sender to the receiver will be found.
55
What percentage of the time will the following program display an even number?DISPLAY(RANDOM(1,10))
50%
10%
0%
40%
56
What percentage of the time will the program display a number?
25%
20%
10%
75%
57
What would be a good use of constants when initializing variables at the beginning of a program?
I, II, and III
I and II only
II and III only
I and III only
58
What will the following program display?
35
16
0
12
59
Which of the following is a cause of the digital divide?
Lack of knowledge on how to use technology
All the answer choices are correct.
Lack of access to technology due to location
Lack of access to technology due to affordability
60
What is the value of sum displayed after this algorithm is run?
6
4
0
Error?
61
Which of the following would be an example of "citizen science" that utilizes technology
People take photos of wildlife using an app that sends info to researchers.
A specially fitted camera records the hair and eye color of people.
An app that sends basic diagnostic info about errors to its developer.
An organization determines how demographics affect reactions through ads.
62
The code is made to find the largest number in list. Does it work as intended? If so, what is the result? If not, why?
No, it does not work as intended. The result never changes and returns -3.
No, it does not work as intended due to a runtime error.
Yes, the program works as intended and returns -200.
Yes, the program works as intended and returns -1.
63
Which of the following is a true statement about data transmitted over the internet?
Redundancy in the design of the internet is overseen by the IETF.
The DNS has been challenged by the DMCA.
All data travelling over the internet is binary.
Packets are recieved in the same order they are sent.
64
Which of the following best characterizes a low-level language?
A language that is easier for computers to interpret but hard for humans
A language that is easier for humans to program
A language that is built for beginner programmers
A language that is easier for humans to debug
65
An algorithm has n number of steps. Which of the following would NOT be considered a reasonable number of steps?
n
4n + 8n2
100n4
3n
66
What will be displayed?
False
2
1
True
67
What will the following code segment display if the user enters 16 for a and 3 for b?
Florida Gators Central Florida Knights
Florida Seminoles
Central Florida Knights
Florida Gators
68
Answer the question correctly.
#398050
#A0503C
#39825A
#38225A
69
What will the following program segment display?
This program will not display due to an index out of bounds error.
5
13
7
70
What will the following algorithm display: a ← 26 MOD 2
13
26
0
1
71
When a new model of airplane is introduced, the airplane manufacturer trains pilots using moving simulators. Why?
A
B
D
C
72
Read the question in the following image.
4
3
1
2
73
Sequencing, selection, and iteration are building blocks of algorithms. Which of the following is considered selection?
The repetition of part of an algorithm until a condition is met
Using a Boolean condition to determine which part of an algorithm is used
Applying each step of an algorithm in the order the statements are given
The selection of proper computer languages to better express algorithms
74
What will the following code segment display?
4
Nothing is displayed due to an infinite loop.
3
0
75
What is the largest number that can be stored using 8 bits?
8
16
256
255
76
Which of the following can be represented by a single binary number?
B and C
C and D
A and B
A and D
77
Which of the following statements correctly describes a procedure?
II and III only
I only
I and II only
I and III only
78
Which command can replace to result in the last column of the table below?
a AND (a AND b)
NOT (a AND b)
b AND (a AND b)
a OR b
79
What is the value displayed after the following code segment is run?
1
3
8
4
80
Look at the question and answers below.
A and B
C and D
A and D
B and C
81
Answer the question presented in the following image.
if (list1 = list1)return "true"
if (list1[0] = list1[LENGTH(list1)-1])return "true"
if (list1[0] = list1[1])return "true"
if (list1[1] = list[LENGTH(list1)]return "true"
82
Two computers calculate the same equation: a ← 1/3. Another calculates : b ← 1/3. If (a ≠ b), what error has occurred?
Overflow error
Roundoff error
DDoS attack
Phishing
83
Convert 1101(BIN) to a decimal number.
1
1101
13
11
84
How many passes using a binary search are needed to find the number 11?
1
3
2
4
85
Which of the following are ways that technology has affected plagiarism?
A and C
C and B
B and A
A and D
86
The program is made to find the lowest number in list. Does it work as intended? If so, what is the result? If not, why?
Yes, the program works as intended; it displays 1.
No, the program does not work as intended; runtime error.
No, the program does not work as intended; result is always list [1].
Yes, the program works as intended; it displays -7.
87
What is the minimum number of other devices that device C must connect with to communicate with E?
2
4
3
1
88
In this serial/parallel computing solution, how much processing time would the problem take?
24 sec
15 sec
9 sec
18 sec
89
Convert A7
HEX
to binary.
01111010BIN
11111BIN
10100111BIN
0111BIN
90
Add the following two binary numbers. 1111
BIN
+ 1011
BIN
= ?
10000BIN
11111BIN
10001BIN
11010BIN
91
Choose the best answer choice.
A
C
B
D
92
Which of the expressions are equivalent to the Boolean expression NOT (num < 13)?
num > 13
num > 13 AND num = 3
num > 13 OR num = 13
num < 13 AND num = 13
93
Read the following scenario and choose the answer choice that best fits the question.
A
D
B
C
94
Read the following question and choose the answer that fits best.
B, C
A, B
B, D
C, D
95
Consider the following code segment, which uses the variables a and c. What is displayed when running the code segment?
3 8
3 11
11 3
3 3
96
The following is a picture of a child feeding a monster. Which of the following is NOT metadata?
The time the picture was taken was 4 PM eastern time.
The monster had teeth.
The picture was taken at Gatorland.
The date the picture was taken was 12/4/10.
97
A computer uses 5 bits to store a number. 2x the space is needed. How many more bits are required to double the space?
10 additional bits
1 additional bit
4 additional bits
5 additional bits
98
Which of the following is an example of a way to improve the transmission of large data sets?
D
A
B
C
99
Which of the following programs will place the robot in the ending grid location?
Line 1: ziz( ) ; Line 2: zag( ) ; Line 3: ziz( ) ; Line 4: ziz( )
Line 3: zag( ) ; Line 1: ziz( ) ; Line 2: ziz( ) ; Line 3: ziz( )
Line 1: zag( ) ; Line 2: zag( )
Line 1: ziz( ) ; Line 2: zag( ) ; Line 3: ziz( )
100
Suppose that a web browser collects information about login information and geolocation. Is this a security concern?
No, because neither is particularly tied to a person's identity.
Only the login information, as geolocation is meaningless on the internet.
Only the geolocation, login information is unrelated to personal info.
Yes, because both of these could be used more malicious purposes.