stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Lee, Daryl Summative Test Project Flashcards | StudBud
Explore
/
Lee, Daryl Summative Test Project
Lee, Daryl Summative Test Project
100 terms
·
StudBud Administration
Imported from external platform
Flashcards
100 cards
F
Practice quiz
P
Host live
L
Questions
100
Answers
1
Which of the following statements are true about the Internet? Select two answers.
The Internet only connects devices in North America, Europe, and Asia.
Devices connecting to the Internet are identified by IP addresses.
Google currently owns the Internet.
The Internet connects computers from all across the world.
2
Which of the following reasons is NOT a benefit of including comments & documentation during the development of programs
Writing longer code
Developing correct programs
Maintaining correct programs
Testing programs to ensure correctness
3
Which of the following programs or values is written in the most high-level language?
num1 <- 3num2 <- 4result <- num1 + num2
00000111
7
add 3 4
4
Which two binary numbers when added together equal decimal number 15? Select two answers.
Binary 1110
Binary 0101
Binary 1010
Binary 0011
5
This procedure does binary search. Which of the following method calls is NOT appropriate given the algorithm?
BinarySearch ( [5,9,2,1,3] , 3 )
BinarySearch ( [1,8,11,15,17] , 9 )
BinarySearch ( [2,7,7,8,9,10,12] , 9 )
BinarySearch ( [3,5,7] , 3 )
6
Consider the binary sequence 00010101. Which of the below interpretations of this sequence are plausible?
The encoding of an integer value that is between 0 and 255
The encoding of an IPv4 address
The encoding of a full file name
A signal that is 260 bits
7
What will the following algorithm display after running the code below?
1
3
2
4
8
Which of the following problems cannot be solved in a reasonable time?
Using a heuristic to approximate the solution to an undecidable problem
Searching an unordered list of 10,000 entries to find the number of entries
Alphabetically sorting 10,000 names
Discovering the exact solution to an undecidable problem
9
Which of the following scenarios describes a downside of converting information from analog to digital?
Ability to search for information on the web and find it quickly
Ability to easily edit the narrative of a story that you a writing
Ability to copy and instantly duplicate copyrighted material
Ability to store thousands of documents on a single hard drive
10
Which of the following reasons is NOT a benefit of including comments & documentation during the development of programs
Maintaining correct programs
Testing programs to ensure correctness
Writing longer code
Developing correct programs
11
An app crashes whenever a specific action is performed. What type of error is causing the app to crash?
Logic Error
Syntax Error
Runtime Error
Overflow Error
12
When Sue transferred the image from one end to another. What is the reason of why the image is distorted?
Sue ran out of memory on her smartphone or computer.
Sue saved the image using a lossy compression image format.
Sue saved the image using a lossless compression image format.
image had not fully downloaded
13
What does the following algorithm display?
It always displays “True.”
When A is false, the algorithm displays “False.”
It always displays “False.”
When B is false, the algorithm displays “False.”
14
What is a potential negative impact of targeted advertising?
Improved search results
Privacy concerns
Enhanced user experience
Faster internet speeds
15
If a original video is 1GB and the compressed video is 500MB, what is the compression ratio?
2:1
4:1
1:1
1:2
16
Which goal requires the analysis of data rather than metadata?
Incorrect OptionA.Calculating the ratio of public-to-private posts
Search the text of all posts to identify those that discuss specific topics
Discovering which day of the work week that employees post the most
Finding the most active user of the system
17
What should replace <missing condition> so that the program below displays TRUE 40% of the time?
x <= 9
x >= 9
x >= 10
x < 7
18
Consider the following problem:
Algorithm A is more efficient than Algorithm B for all possible input
Given the same input, Algorithm A and B would produce the same output.
Algorithm B will not run in a reasonable time.
Algorithm B is not correct.
19
Alice is on the Internet viewing the social media profile webpage of Bob. Which protocols of the Internet are being used
Transmission Control Protocol and Internet Protocol
Open Source Websites
Internet Protocol
Transmission Control Protocol
20
Consider the following.
import java.util.concurrent.ThreadLocalRandom
import java.ThreadLocalRandom
import ThreadLocalRandom.concurrent.util.java
import java.util.function.ThreadLocalRandom
21
This circuit is composed of two logic gates. The input of the circuit is shown. What is the output of the circuit?
The circuit does not output anything
The output of the circuit cannot be determined
False
True
22
In a data analysis project, what is the first step in the process of extracting and analyzing data?
Clean the data
Decide the tools needed
Analyze the data sources
Know the analysis outcome
23
Which type of cyberattack involves overwhelming a server with traffic to make it unavaliable?
MITM
Phishing
SQL Injection
DDoS
24
Which collaboration method involves students working in pairs or small groups to discuss concepts?
Group debugging
Peer instruction
Collective design
Team programming
25
What will the following code segment display?
11
6
3
Nothing will be displayed due to an error.
26
Consider the following problem:
An infinite loop
A floating-point representation error
A variable error
An overflow error
27
Which of the following is an example of an optimization problem?
Finding the shortest path in a graph
Checking if a list is sorted
Determining if a number is prime
Finding a specific value in a list
28
Which of the following statements is true about the Internet and the Web?
The Internet & the Web have impacted productivity positively in many areas
The Internet & the Web have impacted productivity negatively in many areas
The Internet & the Web don't help communication or collaboration.
Both A & C are TRUE
29
Which of the following is an example of UDP's advantage?
Storing large amounts of data efficiently
Encrypting data for secure comunication
Sending messages without checking for missing packets.
Routing message through multiple networks.
30
Which of the following is NOT metadata for the picture?
The picture of the dog
The memory space taken up by the picture
The location where the picture was taken
The time the picture was taken
31
Which of the following is
NOT
an investigation tool for designing programs?
Direct observations.
User testing
Programming the most elegant code
Collecting data through surveys
32
What is the smallest unit of information in a computer, consisting of either a zero or a one?
Bit
Byte
Megabyte
Gigabyte
33
Which of the following best describes a property of open source projects?
Practice of developing a program in collaboration with other individuals
Ability to freely download and modify a program’s source code
Ability to download a program free of charge
Ability to find support for a program on a website
34
The following picture was taken by a smartphone. Which of the following is
NOT
metadata?
The date the photo was taken
The geographic location where the picture was taken
The filename
The Red, Green, and Blue values of the top left pixel
35
What will the below program display?
4 8 8
Nothing due to an infinite loop
2 8 14
3 8 0
36
Which of the following most closely describes the role of a certificate authority (CA) in terms of cybersecurity?
Certificate authorities help prevent DDoS (denial-of-service) attacks.
Certificate authorities validate and verify the owner of encrypted keys.
Certificate authorities register domain names with the DNS.
Certificate authorities validate the password of public WiFi networks.
37
In the following flowchart, what is the value of RESULT?
True when both A and B are true
True when either A or B are true
Always true
Always false
38
The Internet Protocol is currently switching from the IPv4 to the IPv6 standard. Which reasons are responsible for this?
IPv6 addresses are more easily memorable than IPv4 addresses.
IPv6 is cheaper software to license than IPv4.
IPv6:potentially faster data transmission speeds by handling packets faster
IPv4 IP addresses are limited in modern times.
39
Which of the following is true for the below pseudocode?
The code is an algorithmic solution to an undecidable problem.
The code is an algorithmic solution to a decidable problem.
The code will not execute in a reasonable amount of time.
The code will not execute in a reasonable amount of time.
40
In a data visualization project, which graph type would be most appropriate to show the change in stock prices over time
Line graph
Scatter plot
Picture graph
Bar Graph
41
Which of the following input data is needed by the upgraded game that was
NOT
needed by the original game?
Age of the player
Event sensing; an event would be the user pushing a button or screen
GPS location
Picture of the player
42
Every algorithm can be constructed using only
iteration or repetition loops
selection or conditional statements
sequential execution, conditionals, and repetition
sequential statements
43
Which of the following descriptions best defines the purpose and role of using a heuristic to solve a problem?
Heuristics always provide a solution to undecidable problems.
A heuristic is used to find approximate rather than exact solution problem.
Heuristics allow for shorter code.
Heuristics are programs that been mathematically proven for correctness.
44
Which of the following is an example of a return statement in a procedure?
def calculateTotal():
total = 0
calculateTotal()
return total
45
Such __________ technology is made freely available and may be redistributed and modified by others.
patented
corporately developed
open-source
research grant
46
Which of the following would NOT be considered a large data set?
A collection of transactions at a local grocery store for the past month
Current bandwidth of your Internet connection
Information about every car present in a dealership’s inventory
Grades and course selections for all students in a university with 20,000p
47
What happens if we remove the last line of the code.
The program would stop in 3 rounds.
It would crash.
Infinite Loop.
Nothing will happen.
48
A video streaming service uses data compression for its videos. What is a primary benefit of this practice?
Increase data size
Reduces data transmission time
Improves video quality
Decreases server load
49
At which stage(s) can collaboration occur in the software development process?
Planning, designing, and testing
Only during the designing phase
Only during the planning phase.
Only during the testing phase
50
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x > 10
x < 6
x >= 6
x >= 9
51
Which of the following is least likely to receive targeted advertisements?
Users who visit websites with a digital certificate that block ADS
Users with strong passwords and multifactor authentication
Individuals using the web browser without the Do Not Track option
Individuals using the web browser with the Do Not Track setting engaged
52
Which technology has most positively affected how individuals travel?
Sengines
Large-screen displays
GPS devices
High-speed Internet connections
53
Which of the following is a negative trade-off inherent in lossless compression?
The number and size of pixels will be less.
Some of the data will be lost and cannot be recovered.
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.
54
Which of the following examples of data shows the lowest level of abstraction?
The assignment of a value into a variable in code: numTimes <- 101
A coded list of binary numbers: aList <- [0, 1, 10, 11]
The ASCII character A and its ASCII decimal value 65
RGB value in binary: 10000001110000011010000
55
What will be the output of the following algorithm?
No output will be generated
1,2,3,4,5,6
1,3,5
1,2,3
56
What will the following code segment display?
Nothing will be displayed due to the error index out of bounds.
9 10 7 4 1
10
1 4 7 10 9
57
Which of the following lists is
NOT
a candidate for a binary search?
A list of words in a dictionary
A list of students in order of height
A list of words from a poem in the order they appear in the poem
A list of numbers from smallest to largest
58
What procedure will result in the robot landing on the star?
Select two answers
moveAndSpin(0, 1) moveAndSpin(6, 3) moveAndSpin(4, 0)
moveAndSpin(7, 3)
moveAnd Spin(4, 1)moveAndSpin(6, 0)
moveAndSpin(0, 7)
59
Which of the following types of components is necessary for cybersecurity?
I, II, and III
I only
I and II only
III only
60
What does this algorithm display?
7
4
2
3
61
Which TWO common internet protocols are best represented by the above flowchart?
HTTPS
DNS
TCP
IP
62
The following data is about weather in Philadelphia. Which of the following ideas is communicated from the table?
The warmest months in Philadelphia span from June to August.
Philly been experiencing rain more often during May in recent years.
Weather in Philadelphia is cooler than weather in Miami
The coldest month of the year in Philadelphia is December.
63
One computer calculates this equation: a ← 1/3 | A second computer also calculates the same equation: b ← 1/3
Roundoff error
a will equal b on all computers
Hexadecimal conversion error
Overflow error
64
Which of the following information could NOT be recorded precisely with binary numbers?
An analog signal
A decimal number
A shade of color
A point on a map
65
Which of the following scenarios requires iteration but not selection to solve?
A program that inputs three grades and calculates their average
An algorithm that counts the number of even numbers in a list
A program that allows a user to change his or her password and validates it
A web server that responds to client requests for a web page
66
Which of the following is true about data compression?
Data compression is used to reduce size of a file for storage.
Lossy compression cannot be used when sending pictures.
Data compression can be used for pictures and video only.
Lossless data compression is the best compression under all conditions.
67
Which of the following can be represented by a single binary digit?
Light on / light off
Geographic location
Date
Time
68
What does Creative Commons aim to provide?
A cloud storage device
A peer-to-peer network.
A way to share creations with permissions
A platform for selling digital art
69
What would be a good use of constants when initializing variables at the beginning of a program?
I and II only
I and III only
II and III only
I, II, and III
70
Internet routing is fault tolerant and redundant. Which of the following examples best demonstrates this characteristic?
Packets will be re-routed to any part of the Internet that is not down.
A web browser will be unable to connect to a web page that does not exist.
The router stops working once the connection is down.
No two devices can share the same IP address.
71
What is displayed as a result of executing the following code segment?SS
Dog Waffle Noodles Moose Novack Benji
Moose Benji Novack Waffle Noodles
Waffle Moose Noodles Novack Benji
Dog Waffle Moose Noodles Novack Benji
72
Consider the following code segment, which uses the variables a, b, and c.
What is displayed by running the code segment
3 11 3
3 3 6
11 3 8
8 4 6
73
Which of the following descriptions best defines the purpose and role of using a heuristic to solve a problem?
Heuristics are programs that have been mathmatically proven for correctness
heuristic can be used to find an approximate rather than an exact solution
Heuristics always provide a solution to undecidable problems
Heuristics allow for shorter code.
74
When running the program, the first element in the list is counted twice, displaying the wrong thing. What error is this
Syntax error
No error. The program works as intended.
Runtime error
Logical error
75
What is the significance of Boolean values in programming?
Boolean values area used to store large amounts of data.
They represent complex mathematical calculations.
They are primarily used for string manipulation
They are used to make decisions based on true or false conditions.
76
Which of the following best describes procedural abstraction?
Changing the sequence of execution in a program
The process of writing detailed instructions for a procedure
Breaking down a procedure into smaller parts
Knowing only what a procedure does, not how it does it
77
In the program, which of the named identifiers is considered a constant?
REPEAT
NUM_LAPS
MOVE_FORWARD()
<-
78
Which of the following lines in the program contains the error?
Line 6
Line 9
Line 4
Line 7
79
In the following flowchart, which statement is NOT guaranteed to be executed at least once?
1 Prompt Name
6 Display Invalid Age
4 Input Age
5 Age < 0
80
In a digital image with a metadata of 5x5 pixels, how many bits are needed to represent a black and white image?
100
50
25
75
81
Which of the following potential harmful effects of computing does NOT raise privacy or security concerns?
The ease of accessing digital government public records
The posting of information on social media websites
The power usage necessary to process large data sets
The collection of geolocation data through widespread use of electronics.
82
What is the significance of digital certificates in securing the Internet?
They are optional for websites that handle sensitive information.
They decrease the reliability of online transactions
They increase the vulnerability of websites to cyber attacks.
They verify the ownership of encryption keys to enable secure transactions.
83
Convert the binary number 101101 to decimal. What is the correct decimal value
43
46
45
44
84
Which of the following is a requirement in order to engage in online collaboration?
Familiarity with databases
Open source software
A network connection
A computer with eight or more CPU cores
85
Which of the following is a benefit of using pseudocode to describe algorithms ?
The algorithm requires less memory usage.
The algorithm doesn't use a heuristic. It will have the exact solution.
The algorithm runs quicker because it's written in lower-level abstraction.
The algorithm is more easily understood by humans.
86
Which of the following is the most likely data privacy concern for the original browser?
Information collected about your preferences might be for negative use.
Cookies are text files that keep track of such things as website visits.
Cookies are used to acquire users’ private encryption keys.
Cookies are responsible for spam and create pop-up advertisements.
87
Consider the following problem:
Twice as many IP addresses
2^96 as many IP addresses
96 as many IP addresses
2^2 as many IP addresses
88
Which of the following is considered a potential effect of the mobile game rather than the purpose of the game?
Players play the game in their spare time.
People are not watching where they are walking and are getting injured.
Players are becoming more cultured by visiting artworks.
People are exercising.
89
Which of the following is the
MOST
likely data privacy concern of the upgraded game?
Recording whether the player was speeding when driving to a location.
The player’s score
How many locations the player visited
How much time a person spent playing the game
90
What is the code below displaying?
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
3, 6, 9, 12, 15
2, 4, 6, 8, 10, 12, 14
Nothing will be displayed
91
Which command can replace <Missing Condition> to result in the last column of the table shown below?
a OR b
a AND (a AND b)
NOT (a AND b)
b AND (a AND b)
92
Which of the forecasts or information outputs would require the most time for the simulation to generate or lookup?
Sunrise and sunset data
Detailed hourly forecast
Historical record high temperature
High and low predicted temperatures
93
A web browser contacts a server using IPv4 and pages a request for a website’s address. Which is NOT
54.116.188.246
92.11.198.113
128.198.232.65
174.260.45.144
94
Consider the following problem.
Lossy transformation
Addition transformation
Frequency transformation
Lossless transformation
95
Which of the following scenarios describes an iterative software design process?
Employing the waterfall model of software development
First documenting all procedures & then writing the code for each procedure
Writing test cases only after the software development phase has concluded
Repeatedly testing a program during development and requesting feedback
96
All of the following are common algorithms except:
Determining the color of an object by its shape.
Finding the maximum or minimum number from a set.
Calculating the sum and average of a group of numbers.
Comparing two numbers and storing the larger or smaller as needed.
97
Consider the following problem:
software piracy.
freeware.
treason.
plagiarism.
98
Consider the following code segment, which uses the variables x, y, and z. What will the following program display?
12 12 12
12 24 24
24 24 24
6 12 24
99
Consider the following code.
What is displayed because of executing the code segment?
9
1 5 7
3 9
1 3 5 7 9
100
All of the following are steps in converting decimal to binary except:
Subtract the largest power of 2 from the decimal number.
Find the largest power of 2 less than the decimal number.
Divide the decimal number by 3 an record the remainder.
Repeat the process until you reach 0.