stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Zafar, Ilan AP Exam Review Flashcards | StudBud
Explore
/
Zafar, Ilan AP Exam Review
Zafar, Ilan AP Exam Review
90 terms
·
StudBud Administration
Imported from external platform
Flashcards
90 cards
F
Practice quiz
P
Host live
L
Questions
90
Answers
1
Which of the following must be true about the code that she writes?
Selection is necessary, but looping is not.
Neither selection nor looping are necessary.
Both selection and looping are necessary.
Looping is necessary, but selection is not.
2
Which of the following protocol standardization is NOT a function of the IETF (Internet Engineering Task Force)?
Internet Protocol
JavaScript Coding Protocol
Simple Mail Transfer Protocol
Hypertext Transfer Protocol
3
JJ wants to download a 400MB video to her laptop. Her connection speed is 700 kilobytes per sec. How long would it take?
1.75 seconds
57.1 seconds
571 seconds
175 seconds
4
What is the code segment displaying?
0
17
68
34
5
Which of the following statements are true about undecidable problems in computer science?
I only
I and II
I, II, and III
II and III
6
Which of the licenses listed below is
NOT
a Creative Commons' license?
B
D
C
A
7
What does the algorithm display?
3
7
5
4
8
What should replace <missing condition> so that the program below display
TRUE
10% of the time?
x\le1
x<9
x<1
x\le9
9
From the picture below, if a does not equal b, what error has occurred?
Overflow error
Hexadecimal conversion error
a will equal b on all computers
Roundoff error
10
The following picture was taken by a smartphone. Which of the following is
NOT
metadata?
The Red, Green, and Blue values of the top left pixel
The filename
The geographic location where the picture was taken
The date the photo was taken
11
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.
For a large list, linear searches are always faster.
A binary search is always faster with a sorted list.
No, a linear search has a chance of finding the correct number more quickly
12
What protocol below guides the rules about how data are subdivided into packets before transmission?
FTP
TCP
DNS
HTTP
13
Which of the following is
NOT
an investigation tool for designing programs?
Direct observations.
User testing
Collecting data through surveys
Programming the most elegant code
14
What is returned by
mystery (1, 2)
?
4
10
8
2
15
Which of the following is a cause of the digital divide?
Lack of access to the technology due to affordability
All of the above
Lack of knowledge on how to use technology
Lack of access to technology due to location
16
The following program is intended to display the string 789. What type of error will the following procedure cause?
Logic error
No error
Syntax error
Runtime error
17
What type of error did the procedure below suffer from?
Logical error
No error. The program works as intended.
Syntax error
Runtime error
18
What is a major disadvantage of the internet’s model of trust?
A trusted website can still download evil code even if blocked by a firewal
A trusted website has power over the computer’s ROM which can damage it.
Trusted website cannot have encrypted comms. so data could be intercepted
A trusted website can have a great power over a computer.
19
Consider the code segment below. What is displayed as a result if the user inputs “Karel” to the program?
What is your name?HelloKarel
What is your name? Hello Karel
Hello Karel
What is your name?Hello Karel
20
What is a major disadvantage of the internet’s model of trust?
A trusted website can have a great power over a computer leading to damage.
A trusted website cannot have encrypted comms. so data can be intercepted
A trusted website has power over the computer’s ROM which could damage it
A trusted website can still download bad code even the firewall blocks it
21
Which of the following is
NOT
an investigation tool for designing programs?
User testing
Programming the most elegant code
Collecting data through surveys
Direct observations.
22
Which of the following must be true about the code that she writes?
Neither selection nor looping are necessary.
Looping is necessary, but selection is not.
Selection is necessary, but looping is not.
Both selection and looping are necessary.
23
Which of the following is least likely to receive targeted advertisements?
Users who visit only websites with a digital certificate blocking target ad
Users with strong passwords and multifactor authentication
Individuals using the web browser with the Do Not Track setting engaged
Individuals using the web browser without the Do Not Track option
24
Choose the
most likely
possible explanation for the discrepancy.
The program does not handle signed integers.
While multiplying the floating point numbers, there was a round-off error.
Theprogram calculated the rounded price for one product and multiplied by 3
The fixed number of bits used to store values resulted in an overflow error
25
By switching from IPv4, which can store 2
32
IP addresses, to IPv6, which can store 2
128
how many more will be available?
Twice as many IP addresses
296 as many addresses
96 as many IP addresses
22 as many IP addresses
26
Which best describes the role of TCP?
Setting rules for a IP assigned to each device connected to the internet
The set of rules for the path packets taken on the fault-tolerant internet
The foundation of data communication for the World Wide Web
Protocol for encrypting and decrypting data transferring on the internet
27
Why is cryptography essential to cybersecurity?
Cryptography is used to prevent publicly accessible files from being edited
Cryptography ensures that the files cannot be read when intercepted
Cryptography does not allow data on a server to be edited by anyone.
Cryptography prevents third parties from hijacking connection.
28
The streaming site that Zach is watching is using what type of system to make the suggestions?
Preference categorization
Statistical probability model
Reference grouping
Information filtering
29
What role does a compiler have in processing a high-level language?
The compiler checks for updates and installs programs onto the computer.
The complier translates high level language code into machine code.
The compiler speeds up the run time of a program.
The compiler ensures that the program has no runtime errors.
30
If client requests data from Alpha which statement says what will happen if ISP X, Host 3, and Host 11 aren't working.
ISP Y will receive packets and re-route the data to working host
Host 1 will compensate for the outage and route the data accordingly
The Client will not receive any data due to the outage
31
Which of the following is
NOT
an example of using citizen science as a possible solution?
Calculating PSAT scores for a school district
Collecting recordings using ultrasonic microphones and sonograms of bats
The behavior of fireflies during the summer months
The behavior of the mysterious, wonderful jellyfish on the beach or water
32
Which of the following considerations is likely to affect the program to process large data sets in a reasonable time?
The amount of program documentation that should be minimized
How much memory the program requires to run
How many program statements the program contains
The order of the data put into the data set
33
Which of the following is the
MOST
likely data privacy concern of the upgraded game?
How much time a person spent playing the game
The player’s score
How many locations the player visited
Recording whether the player was speeding when driving to a location.
34
Which of the following best describes the type of site that Ripley is using?
Newsgroup
Webopedia
RSS Feed
Wiki
35
Which of the following can be represented by a single binary digit?
Light on / light off
Date
Geographic location
Time
36
Which of the following statements is
NOT
correct:
Hardware is the lowest level of abstraction.
Binary data is processed by physical layers of computing hardware.
Logic gates are modeled by Boolean functions.
Logic gates are used to perform operations such as addition and subtraction
37
Which of the following types of components is necessary for cybersecurity?
I and II only
I, II, and III
I only
III only
38
Word cloud is an image made of words that vary in size based on importance.
Some possible outcomes of this exploration?
I and III
II and III
I and II
I, II, and III
39
What are two aspects of efficiency?
execution time and length of code
memory usage and length of code
execution time and memory usage
wall clock time and CPU time
40
What type of transformation is the photo-editing software using?
Frequency transformation
Addition transformation
Lossy transformation
Lossless transformation
41
What would be a good use of constants when initializing variables at the beginning of a program?
II and III only
I, II, and III
I and III only
I and II only
42
When sending a picture from your phone using a mobile application, what is true about the packets of information sent?
All of the above.
Packets are sent in multiple paths and can be received out of order.
Packets are sent by the quickest path possible in the correct order.
Packets are received in the order that they are sent.
43
Which of the following best describes the type of site that Ripley is using?
Wiki
Webopedia
RSS Feed
Newsgroup
44
Which of the following storage methods below makes accessibility of data easiest for people in multiple locations?
Mainframe Computer, as it can be accessed from many computers.
Magnetic Drive System. as it can handle all data types.
Cloud Drive, as it allows for multiple users and version control.
USB Flash Drive, as it can be copied and handed or mailed to multiple users
45
Which of the examples below does not indicate a system that has been built on a distributive model?
B
A
D
C
46
Which of the licenses listed below is NOT a Creative Commons' license?
B
C
A
D
47
What will the program display?
1
3
4
2
48
She wants to see how illness and population size relate to available food sources. Which factor is not needed?
Population size
Antler size
Food supply
Prevalence of illness in herd
49
Sort the following by levels of abstraction, from
lowest to highest
:
I, IV, II, III
I, IV, III, II
I, II, III, IV
I, III, IV, II
50
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 number and size of pixels will be less.
The image quality will be less and will result in a blurry image.
The file can be difficult to email and can take up lots of memory storage.
51
As many new members are added to the database, will the number of steps taken to solve the problem also increase? Why?
No, the program is written already taking the same number of steps.
Yes, the number of steps changes proportional to the size of the input.
No because the search is linear making dataset split with every repeat.
Yes, because the new members may not be added alphabetically.
52
An algorithm has
n
number of steps. Which of the following would be considered a reasonable number of steps?
3^n
4^n+8n^2
n!
100n^4
53
Why does updating a file require more memory than reading a file?
A read file requires no memory, so updating file would require more memory.
A read file needs some parts loaded to memory but update needs entire file
Updating file needs both the original and the updated version be in memory.
A read file uses hard disk, while an update file needs hard disk and RAM.
54
Which of the following illustrate ways that the internet facilitates collaboration
I, II, and III
II and III only
I only
I and III only
55
What is returned by
cube(cube(2))
?
128
64
512
8
56
A web browser contacts a server using IPv4 and request for a website’s address. Which could NOT be a potential response?
128.198.232.65
174.260.45.144
54.116.188.246
92.11.198.113
57
Which of these is NOT a technology advancement used by police.
D
B
A
C
58
Which of the following types of components is necessary for cybersecurity?
I, II, and III
I only
I and II only
III only
59
Which of the following protocol standardization is NOT a function of the IETF (Internet Engineering Task Force)?
Simple Mail Transfer Protocol
Internet Protocol
JavaScript Coding Protocol
Hypertext Transfer Protocol
60
According to the info from the text below, Bill has been defrauded and is a victim of which e-mail scam?
Phishing
Social Engineering
Denial of Service
Spearing
61
What will y display?
0
20
16
38
62
Review the lists below and select the one that correctly lists each protocol with its function.
C
B
D
A
63
Review the choices below and select the option that would NOT be a valid application of computational science.
A
C
B
D
64
What is the purpose of a digital certificate in secured communications?
D
C
A
B
65
When should a heuristic algorithm be used?
When finding the lifetime batting average of Mookie Wilson
When finding the quickest way to drive.
When determining which files could have malware before checking all files
When calculating the average score for the national SAT test
66
The Caesar cipher is an example of what type of encryption?
Symmetric encryption
No key encryption
Public key encryption
Home key encryption
67
Which of the following is
LEAST
likely to be included with the game?
Location of high-crime areas that should be avoided.
What protocols the mobile device uses to connect to the internet.
Information about what types of mobile devices can be used.
Location of highly trafficked roads and bridges.
68
By switching from IPv4, which can store 2
32
IP addresses, to IPv6, which can store 2
128
how many more will be available?
22 as many IP addresses
96 as many IP addresses
Twice as many IP addresses
296 as many addresses
69
What type of error did the below procedure suffer from?
Syntax error
Runtime error
No error. The program works as intended.
Logical error
70
Which of the following does NOT need to be considered when determining the credibility of a source?
Use of persuasive techniques within the source
Publisher’s reputation and credentials
Author’s reputation and credentials
Sponsorship of the article or publisher
71
Fraud detection algorithms collect massive data from million of customers. What type of algorithm is the best for this?
Heuristic algorithm
Searching algorithm
Optimization algorithm
Brute force algorithm
72
Sort the following by levels of abstraction, from
lowest to highest
:
I, IV, II, III
I, II, III, IV
I, III, IV, II
I, IV, III, II
73
Monica types widgets.cs.fbhs.org, into the browser URL bar. Which of the following events is to happen with DNS servers?
The .org name server will send the IP address of widgets.cs.fbhs.org
The widgets name server will send the IP of the widgets.cs name server.
The widgets.cs.fbhs.org name server will send the IP of widgets.cs.fbhs.org
The .org name server will send the IP address of the fbhs.org name server.
74
What will the following code segment display?
11
Nothing will be displayed due to an error.
3
6
75
What is the minimum number of binary digits needed to store the number 56?
1
3
5
6
76
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
11
1
2,000
1,000
77
Why do computing innovations tend to lead to legal concerns?
C - No way to hide your IP address.
D - Lawyers are unfamiliar with the laws governing computer innovations.
B - These laws may not cover new certain aspects of technology.
A - The speed of these innovations made laws harder to enforce.
78
Which ofthe following precautions will ensure that the others in apartment won't be able to see Noah’s wireless network.
II and IV
I only
II, III, and IV
I, II, III, and IV
79
These drawings depict two fundamental cryptographic concepts. Which of the choices below identify these concepts?
Hash Codes and Key Transfers
Hash Codes and Key Transfers
Asymmetric and Symmetric
Symmetric and Steganography
80
According to the info from the text below, Bill has been defrauded and is a victim of which e-mail scam?
Denial of Service
Spearing
Phishing
Social Engineering
81
Which of the following are benefits to having information be easily accessible and changeable?
II and III only
I and II only
I only
I, II, and III
82
The team wouldlike to be able to answer questions in real time from other teams across the country. What is best option?
B
A
D
C
83
Which of the following is considered a
potential effect
of the mobile game rather than the purpose of the game?
Players are becoming more cultured by visiting artworks.
People are exercising.
Players play the game in their spare time.
People are not watching where they are walking and are getting injured.
84
What type of error did the below procedure suffer from?
Syntax error
Runtime error
Logical error
No error. The program works as intended.
85
The students are technologically savvy but have little business experience.
Best method the students can raise funding?
Create a bulk email campaign that sends emails to all students on campus
Design and create a website in hopes a venture capitalist will come to them
Utilize a crowdsourcing website to raise the needed capital.
Apply for a small business loan through an online bank.
86
What does the following algorithm display?
When A is false, the algorithm displays “False.”
When B is false, the algorithm displays “False.”
It always displays “True.”
It always displays “False.”
87
What is the program returning?
20
25
27
37
88
Find the error in the following low-level programming code.
The 84th digit should be a 1.
This is too difficult. It would be easier to use an upper-level language.
The 34th 0 should be a 1.
The 17th 1 needs to be changed to a 0.
89
Which of the statements below is the most reasonable argument against the amount of surveillance that is being done?
B
C
D
A
90
Which of the following lines of code would cause an error with a robot?
CAN_MOVE (right)
NOT CAN_MOVE (left)
NOT CAN_M0VE (forward)
CAN_MOVE (north)