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