stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
AP Computer Science Flashcards | StudBud
Explore
/
AP Computer Science
AP Computer Science
46 terms
·
StudBud Administration
·
517 plays
Practice Exam
Flashcards
46 cards
F
Practice quiz
P
Host live
L
Questions
46
Answers
1
Which of the following activities poses the greatest personal cybersecurity risk?
B
D
C
A
2
What is displayed as a result of executing the algorithm in the flowchart?
5
15
1 2 3 4
1 2 3 4 5
3
Which of the following programs is most likely to benefit from the use of a heuristic?
D
A
B
C
4
Which must be added so that an algorithm computes only the sum of even integers in a list?
Selection
Searching
Sequencing
Iteration
5
35.
A
D
B
C
6
Look at the image.
j ≥ 6
j>7
j=6
j=7
7
Look at the picture.
b
a
d
c
8
Which best describes the contents of resultList after the code segment is executed?
A
C
D
B
9
Which pairs of values indicates that a student is eligible to receive an academic award?
(D) numberOfAbsences = 6, gradePointAverage = 3.6
(B) numberOfAbsences = 5, gradePointAverage = 3.8
(C) numberOfAbsences = 6, gradePointAverage = 3.4
(A) numberOfAbsences = 3, gradePointAverage = 3.5
10
Question 47
C
A
B
D
11
Which of the following best describes the behavior of the two programs?
D
B
C
A
12
Using only the database, which of the following can be determined?
Which items listed in the database are not in the store
The total number of shoes sold in a particular month
Which type of footwear is most popular among adults
Which colors are more popular among men than women
13
31.
D
A
B
C
14
Which question could be answered by analyzing only information in the data set?
A
D
C
B
15
Which of the following statements about security in the network is true?
A and d need to communicate with atleast two other computers
Neither are correct
Both are correct
B and c can communicate directly
16
Pick an answer.
A
C
D
B
17
Question 46
B
D
A
C
18
Look at picture.
d
b
a
c
19
Which of the following statements best describes the behavior of the two algorithms?
B
C
A
D
20
Question 48
A
C
D
B
21
Look at the image
flip_counter = 2
heads_counter = 2
flip_counter = 1
coin_flip = 1
22
Look at picture.
(B) (num MOD 1) = 1
(A) (num MOD 1) = 0
(D) (num MOD 2) = 1
(C) (num MOD 2) = 0
23
Which of the following is true about program documentation?
Useful when programmers collaborate
Useful during program development and when code is modified
It should not be changed after it is first written
Only needed for programs in development and not afterwards
24
Image
Letter D
Letter A
Letter B
Letter C
25
Image
Letter A
Letter D
Letter C
Letter B
26
Image
A
D
B
C
27
Image
A
B
D
C
28
Question 49
B
A
C
D
29
Which is true?
B
C
A
D
30
Image
B
A
D
C
31
Look at picture.
d
c
a
b
32
32.
Privacy of users might be negatively affected.
Storage requirements for the servers might increase.
Average response time for user requests might decrease.
Web sites that are not visited frequently.
33
Which best explains what happens when a new device is connected to the Internet?
A Web site is assigned to the device.
An Internet Protocol (IP) address is assigned to the device.
A packet number is assigned to the device.
A device driver is assigned to the device.
34
Which of the following is LEAST likely to indicate a phishing attack?
A
C
B
D
35
50
C
B
D
A
36
1. Consider the following code segment, which uses the variables r, s, and t.
3 2
1 1
1 2
2 3
37
Which of the following lists the numbers in order from least to greatest?
Decimal 11, Binary 1100, Hexadecimal D
Binary 1100, Decimal 11, Hexadecimal D
Hexadecimal D, Decimal 11, Binary 1100
Decimal 11, Hexadecimal D, Binary 1100
38
What ASCII character is represented by the binary (base 2) number 1001010 ?
I
J
K
H
39
Which of the following questions is LEAST likely to be answerable using the trends feature?
In which political candidates are people interested?
What part of the country has the most searchers for opera?
What is the cost of a certain electronics product?
In what month does a certain sport get the most searches?
40
Which of the following is true about cloud computing?
A
B
D
C
41
Image
Letter A
Letter B
Letter C
Letter D
42
Which of the following considerations is LEAST likely to affect the ability of the program?
C
A
D
B
43
Question 51
C
D
A
B
44
The robot is the triangle, which starts in thebottom-left square and facing the top of the grid
Letter D
Letter C
Letter A
Letter B
45
34.
A
D
B
C
46
Which is a characteristic of the fault-tolerant nature of routing on the Internet?
C
D
B
A