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