stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Jimenez-Moreno, Briana AP Exam Review Flashcards | StudBud
Explore
/
Jimenez-Moreno, Briana AP Exam Review
Jimenez-Moreno, Briana 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
Which of the following best describes the result of using 64-bit instead of 32-bit integers?
2^32 times as many values
2 times as many values
32 times as many values
32^2 times as many values
2
Which of the following has the greatest potential for compromising a user's personal privacy?
user's e-mail address
user's public key used for encryption
group of cookies stored by the user's Web browser
Internet Protocol (IP) address of the user's computer
3
What is the code that made this image?
for(var i=0; i < 8; i++){ moveForward(25); turnRight(45);}
for(var i=0; i < 3; i++){ moveForward(25); turnRight(90);}
4
consider the image below
overall brightness of all pixels in the resulting image will be darkened
The resulting image will be completely white.
All of the colors
The resulting image will be a grayscale version of the original image.
5
Why is there a need to find different algorithms for problems that already have a solution?
Different algorithms could use heuristics rather than precise values
Different algorithms could provide intractability
Different algorithms could be more efficient
Different algorithms could use frequency analysis
6
What is defined as “the official procedure of rules”?
algorithm
decimal
protocol
hexadecimal
7
IPv6 addresses have a size of:
64 bits
256 bits
32 bits
128 bits
8
which of the statements below BEST describes what will happen if ISP X, Host 3, and Host 11 are not working
Host 1 will compensate for the outage and route the data accordingly
The Client will not receive any data due to the outage
ISP Y will receive packets indicating a failure to Host 3
9
Which of the following will correctly replace /*missing code */ ?
CAN_MOVE(right) OR NOT CAN_MOVE(forward)
CAN_MOVE (right)
NOT CAN_MOVE(forward)
NOT CAN_M0VE (right)
10
Working together to facilitate application of multiple perspectives and diverse talents and skills is the definition of
visualtion
crowdsourcing
reCAPTCHA
collaboration
11
What is DDoS & explain it
Distributed Digits on Sites
Distributed Denial of Service
12
How do APIs simplify writing programs?
providing documentation on how to code the needed functionality
connecting prewritten and tested software to a new program
providing step-by-step instructions on how to use the programming language
importing the newly written software to the API for others to use
13
You need to record 20 hours of audio as MP3. How many GB is that? (an MP3 file is ~1MB/min)
1.2
10
5.3
14
Which of the following best describes the behavior of the find procedure?
Displays the positions of all occurrences of target in list
Displays the position of the first occurrence of target in list
Displays each item in list that is equal to target
Displays the position of the last occurrence of target in list
15
What is the appropriate name for the procedure?
ESCAPE()
CAN_ESCAPE()
SPIN()
IS_TRAPPED()
16
Using the arcRight function to make a smiley face is an example abstraction
True
False
17
Large structured and unstructured data can potentially be mined examined, and used by organizations is the definition of
useable data
big data
data collection
data set
18
How is analog data converted to digital data?
Samples of the analog data are taken and converted to bits
analog data values are converted precisely to digital data
analog curve is extrapolated and converted into x, y coordinate values
Samples of the analog data are approximated to mimic the smooth curve
19
Which of the following protocol standardization is NOT a function of the IETF (Internet Engineering Task Force)?
Hypertext Transfer Protocol
JavaScript Coding Protocol
Simple Mail Transfer Protocol
Internet Protocol
20
Look below
II and III
I , II , and III
I only
II only
21
A website loads immediately, but takes a long time to completely load pictures. This is:
High bandwidth, high latency
Low bandwidth, high latency
High bandwidth, low latency
Low bandwidth, low latency
22
How many more numbers can be expressed if I have 5 bits instead of 4?
16
8
4
32
23
Which relies on what?
Binary relies on Decimal
IP Packets rely on a specific Router
IP Packets rely on DNS
HTTP relies on TCP/IP
24
What is the User Interface
An interface with options
Elements of which the user controls
Elements of which the coder controls
An interface with code
25
Which of the following would be the most appropriate name for a variable?
t
time_left
amountOfTimeRemainingInTheGame
variable1
26
Which command can replace <Missing Condition> to result in the last column of the table shown below?
a AND (a AND b)
a OR b
NOT (a AND b)
b AND (a AND b)
27
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
28
What will the following code segment display?
Nothing will be displayed due to an error.
11
3
6
29
Which of the following statements are true about using highlevel programming language instead of a lower-level language?
I only
II and III only
I, II, and III
I and III only
30
To draw a scene with many 8-pointed snowflakes you would need which of the following?
Function
Loop
Both
None
31
Select the answer that lists the units of bytes in ascending order (from smallest to largest)
Megabyte, terabyte, kilobyte
Kilobyte, gigabyte, terabyte
Gigabyte, megabyte, terabyte
Kilobyte, megabyte, terabyte
32
What color would the following binary number produce: 10001
Something mostly green
Something mostly blue
Something mostly red
Black
33
What will the program display?
2 8 14
4 8 8
Nothing due to an infinite loop
3 8 0
34
Which of the following will call the function drawCake?
function drawCake();
function drawCake;
drawCake();
drawCake;
35
Using ASCII, which of the letters is represented by the hexadecimal (base 16) number 56?
V
X
W
U
36
While algorithms can be analyzed mathematically, what information does the testing process provide?
The maximum size dataset the algorithm can handle
The validity of the algorithm
The clarity of the algorithm
How often program statements execute
37
We can convert a number from decimal to octal (base 8) by repeatedly subtracting the largest possible powers of what?
8
7
2
9
38
What is displayed as a result of executing the following code segment?
Dog Waffle Noodles Moose Novack Benji
Dog Waffle Moose Noodles Novack Benji
Waffle Moose Noodles Novack Benji
Moose Benji Novack Waffle Noodles
39
Wireless transmission can be done via
all of the mentioned
infrared
radio waves
microwaves
40
Which of the following is
NOT
metadata?
The Red, Green, and Blue values of the top left pixel
The geographic location where the picture was taken
The date the photo was taken
The filename
41
What's a pivot table?
Used by spreadsheet programs to create summary tables.
Graphs the horizontal or vertical data, pivoting at a point.
42
What does DNS stand for?
Domain Name Steps
Domain Number System
Domain Name System
Domain Number Step
43
Which of the following statements are true about high-level programming languages?
two
answers.
A high-level programming language does not ensure program reliability.
A high-level programming language often uses natural language elements.
A high-level programming language allows for code to be re-used.
44
Which of the following algorithms can he use to find all crimes that occurred in a certain neighborhood on a certain day
Algorithm II only
Algorithm I only
Neither Algorithm I nor Algorithm II
Both Algorithm I and Algorithm II
45
A packet is a small chunk of info that has been carefully formed from larger chunks of info.
True
False
46
What is the Internet?
None of the mentioned
A single network
A vast collection of different networks
Interconnection of local area networks
47
If a does not equal b, what error has occurred?
a will equal b on all computers
Roundoff error
Overflow error
Hexadecimal conversion error
48
Many bits transferred to a computer from a server in a fast amount of time is an example of:
Low bandwidth, low latency
High bandwidth, low latency
Low bandwidth, high latency
High bandwidth, high latency
49
What should replace <missing condition> so that the program below display TRUE 10% of the time?
x < 9
x <= 9
x <= 1
x < 1
50
What's the biggest decimal number I can express with 4 bits?
16
15
8
17
51
What condition will make the below an infinite loop?
y ≥ 8
y≠-3
y < -53
y = -108
52
URL stands for
Uniform Reference Label
Unique Reference Lagel
Uniform Resource Locator
Unique Resource Locator
53
Give an example of an abstraction
moveForward();
a for loop
a coded rocket ship
turnLeft();
54
What’s the highest number that can be represented by a 4-digit binary number?
16
15
8
4
55
Which of the following lists is
NOT
a candidate for a binary search?
A list of numbers from smallest to largest
A list of students in order of height
A list of words from a poem about sunshine in the order they appear
A list of words in a dictionary
56
What value does the above code segment display?
76
17
53
No value is displayed
57
Which is a higher level language, HTTP or binary?
binary
HTTP
58
Convert 52 into binary.
011 010
101 101
110 010
110 100
59
Convert the following number to decimal: 8F
96
143
152
142
60
Which is the lowest level?
TCP
DNS
HTTP
IP
61
MP3 compression removes data to reduce file size w/o changing how it sounds to humans. This is:
Parallel compression
Lossy compression
Multiband compression
Lossless compression
62
Which of the following is a negative trade-off inherent in lossless compression?
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.
The number and size of pixels will be less.
Some of the data will be lost and cannot be recovered.
63
myList
contains the following data:
[10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
What will be displayed by
mystery( 3, myList)
?
9 6 3 0
10 8 7 5 4 2 1
9 6 3
10 8 7 5 4 2 1 0
64
The device that fwds packets btwn networks by processing routing info included in the packet:
Bridge
Firewall
All of the mentioned
Router
65
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.”
66
A set of rules that governs data communication
Standards
RFCs
None of the mentioned
Protocol
67
Consider routers & the Internet. What are some reasons you might not receive a sent message?
The connections between devices fails
A router fails
You turn off your device
68
Which of the following can be represented by a single binary digit?
Date
Location
Light on/off
Time
69
What is an Event?
An action that causes something to happen
An action that doesn’t do anything in the App
Something that is happening in the calendar
An action that will allow you to look up and event
70
What is TCP?
Talking Computer Party
Traffic Control Panel
Transportation Center for Packets
Transmission Control Protocol
71
Transmission delay does not depend on
Packet length
Transmission rate
Distance between the routers
None of the mentioned
72
What are two aspects of efficiency?
memory usage and length of code
execution time and length of code
wall clock time and CPU time
execution time and memory usage
73
user types in True True False True as their answers for four questions on a quiz, what should their overall score be?
75%
50%
25%
100%
74
Which is an example of a binary question?
What's your favorite color?
Do you like red, blue, yellow, or green best?
Which do you like better: red or blue?
75
What does IETF stand for?
Internet Electrical Tracking Force
Internet Engineering Task Force
Internal Electric Transferring Function
Idaho Eating Turkey Festival
76
Which one of these is NOT a method in which you represent numbers?
alphabet
decimal
binary
hexadecimal
77
Which of the following lines of code would cause an error with a robot?
NOT CAN_MOVE (left)
CAN_MOVE (north)
CAN_MOVE (right)
NOT CAN_M0VE (forward)
78
levels of access to technological devices and the Internet due to economic or geographic reasons is referred to as
binary split
digital divide
demographic division
Technology rift
79
The representation of information using a chart, diagram, image, etc. is the definition of
analytics
extraction
indexing
visualization(s)
80
Which of the following best describes the result of running the code segment?
Nothing is displayed; the program results in an infinite loop.
The number 4 is displayed.
The number 0 is displayed.
The number 10 is displayed.
81
Using DNS, which of the following is a subdomain of the domain youtube.com?
about.youtube.com
youtube.com.org
youtube.co.uk
youtube.org
82
What is displayed after running the algorithm below?
43
12
133
42
83
Assuming that before this code is run, x = 1. What would be displayed at the end?
1
16
8
210
84
Which of the following statements is
NOT
correct:
Binary data is processed by physical layers of computing hardware.
Hardware is the lowest level of abstraction.
Logic gates are used to perform operations such as addition and subtraction
Logic gates are modeled by Boolean functions.
85
Which of the choices below properly identify these concepts?
Lexicographic and Asymmetric
Asymmetric and Symmetric
Hash Codes and Key Transfers
Symmetric and Steganography
86
Which of the following best defines confidentiality in context with information and data?
The confirmation that a company will not sell your information to others
The certainty that information is accurate
The reliability of access to information
The ability to limit access to information to a certain set of users
87
Which of the following changes will NOT affect the results when the code segment is executed?
Changing line 7 to a ← b + 10
Changing line 3 to a ← b + 10
Changing line 7 to b ← 20
Changing line 3 to b ← 10
88
What will the following algorithm display after running the code below?
3
2
4
1
89
Which of the following activities poses the greatest personal cybersecurity risk?
Paying a bill using a secure electronic payment system
Making purchase at an online store that uses public key encryption
Withdrawing money from a bank account using ATM
Reserving a hotel room by emailing a credit card number to a hotel
90
Convert 12
14
to base 10
(1*12) + (1*14)=26
(12^14)= 1283918464548
(12*14)= 168
(1*14) +2 = 16
91
What is one important naming convention of functions?
Should indicate what the function does
Should begin with #s to indicate the order of execution.
Should share a name to show relationship btwn 2 similar fns
Should indicate how long the function takes to run.
92
The data link layer takes the packets from ________
application layer
physical layer
network layer
transport layer
93
Define Bandwidth
Expressed in bits per second, it is the connection speed.
The time between when a packet starts and when it arrives.
94
Network congestion occurs...
None of the mentioned
When a system terminates
In case of traffic overloading
When connection between two nodes terminates
95
Which of the following decimal (base-10) values is equivalent to the binary (base-2) value 101001?
37
82
41
22
96
What is the most common way computer viruses are spread?
random botnet attacks
rough access point
phising attacks
people clicking on an infected file
97
Heuristics: strategy where finding the exact answer is more important than "good enough"
False
True
98
Given the below code segment, what would be displayed if age were initialized with a value of 18?
nothing will be displayed
group 1
group 1 group 2
group 2
99
Which is bigger: 4 minute MP3 or 3000 words ASCII? (MP3 is 1MB/min, 3000 words is 100 KB).
MP3 has more
They are equal
MP3 has less
100
Who develops and promotes Internet standards?
CIA
RIP
the legislative branch
IETF