stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Barsoum, Joseph Summative Test Project Flashcards | StudBud
Explore
/
Barsoum, Joseph Summative Test Project
Barsoum, Joseph 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 are good uses for a constant? I. Max theater capacity II. Football game score III. Value of pi
1 only
3 only
1 and 3
2 and 3
2
What are the values displayed after the following program is run?
3 -4 6
-1 -1 -2
5 4 -1
-4 6 9
3
Which of the following is NOT an example of using citizen science as a possible solution?
Collecting recordings using ultrasonic mics and sonograms of bats
The behavior of the mysterious and wonderful jellyfish on the beach
The behavior of fireflies during the summer months
Calculating PSAT scores for a school district
4
What is the code segment displaying?
34
0
68
18
5
Which statement is NOT true about executing algorithms?
Clarity matters in writing algorithms
All problems can be solved in a reasonable time
All use sequence, selection, iteration
Some languages suit some algos better
6
What will this string display? print(I love CS!")
I love
I love CS!
Nothing, string is incomplete.
CS!
7
What is the value displayed after the program is run?
11 8
a c
a 9
2 5
8
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
1
2,000
1,000
11
9
Which best describes the role of TCP?
The set of rules for the path packets taken on the fault-tolerant internet
How packets communicate in public computers
A common protocol for encrypting and decrypting data
The foundation of data communication for the World Wide Web
10
Which of the following digital sample rates would more accurately represent the analog signal?
Higher sample rate
Same results
Digital signals cannot represent analog signal.
Lower sample rate
11
What internet design for a developing country would centralize all data traffic through one server for maximum control?
Centralized internet
Decentralized internet
TPC
UPD
12
Why can adding two large numbers in a small data type give an incorrect result?
Because the list index is out of bounds
Because multiplication is required instead
Because the numbers round up incorrectly
Because memory overflows and wraps around
13
In a sequential computing solution how much processing time would the problem take?
5 seconds
6 seconds
1 second
11 seconds
14
. Which of the following can be represented by a group of bits?
All of the above
A high-definition picture
A number
Program code
15
What happens if a packet is lost in TCP communication?
It gets ignored
The rest are canceled
The packet is resent
TCP restarts connection
16
What will the following code segment display?
9 10 7 4 1
10
1 4 7 10 9
Nothing will be displayed due to the error index out of bounds.
17
What is NOT considered metadata in SMS?
Content of the SMS
Phone numbers of sender and receiver
Time of sending and receiving
Geographic location of sender and receiver
18
Which of the following is NOT considered an analog signal?
Human Speech
Temperature
Light
Boolean values
19
What is the following program returning?
27
20
25
37
20
Convert 88DEC to a binary number.
100001BIN
111100BIN
1010101BIN
101100BIN
21
What is the value of sum displayed after this algorithm is run?
4
Error
0
6
22
Which of the following is a true statement about data transmitted over the internet?Responses
The domain name system (DNS) has been challenged
Packets are received in the same order that they are sent.
All data traveling over the internet is in binary.
Redundancy in the design of the internet is overseen.
23
Analytica exploited a Facebook loophole to collect data without users' consent. What concept does this demonstrate?
Ignored privacy allows commercial data exploitation.
Ignored security leads to commercial data exploitation
Ignored privacy leads to government data exploitation.
Ignored security allows data exploitation by government.
24
Convert 100001BIN to a decimal number
29
33
63
31
25
Are Boolean functions, like AND and OR, abstractions in logic gates?
Yes, representation of physical gates.
Yes, codable representation of gate activities.
No, visualizations of processor actions.
No, not abstractions as they operate at bit level.
26
Which of the following is NOT a result of documenting programs?
Can be used during programming
Is useful after the program is finished
Can be used to facilitate collaboration
Increases run time
27
A computer can use 6 bits to store non-negative numbers. Which of the following will NOT give an overflow error?
89
64
54
63
28
Why does the FAA use simulators instead of real planes for crash investigations?
Pilot failure in an easier simulator means any pilot would fail.
Replacing a simulator after a crash is costlier.
Avoids putting pilots in mortal danger if crash is unavoidable.
Success in a clumsier simulator proves an amateur could succeed.
29
Which of the following is NOT a predicting algorithm?
Online store suggesting products based on customer's past purchases.
Social media sites targeting ads based on user's viewing habits.
A school calculating grades to determine the valedictorian.
Credit company's fraud detection and credit extension.
30
What type of data does a social site process for editing, sharing photos, videos, and messages?
All of the above
Videos
Text
Pictures
31
What can a series of bits represent?
All of the above
The number I am thinking of in my head (11,356)
High-resolution pictures
The color puce
32
Why use a simulation to study invasive species spread instead of real-life observation?
Simulate many species at once.
All of the above.
Run simulation faster than real life.
Test species in multiple environments quickly.
33
A node in the path between the sender and the receiver has broken. Will the sender and receiver still be able to talk?
Yes, an alternate route from the sender to the receiver will be found
No, the path has been interrupted
Nodes are built to never need maintenance so communication will never break
Once the node is fixed, communications will be restored
34
What should you do first when your program runs but gives the wrong output?
Restart the computer or web browser
Add print statements to trace variable values
Check if the IDE needs updates
Reinstall the entire program from scratch
35
What can a student use to hide their IP and appear in a different time zone?
Proxy server
Phishing attack
DDoS attack
Domain name server
36
What data would help an algorithm match people to ads, using social media data?
Person's video-watching preferences
Person's liked and followed sites
Person's liked and followed sites
All of the above.
37
The procedure isFound(list, item) will return TRUE if an item is found in a list. What will the procedure display?
[ ]
[1, 6, −4]
[4, 6, −4]
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
38
In the following flowchart, what is the value of RESULT?
Always true
Always false
True when both A and B are true
True when either A or B are true
39
What will the program display?
OXXOO
OXXOXXOXX
The program is an infinite loop.
OOOXX
40
What's the speedup if a task takes 10 seconds sequentially but 5 seconds in parallel?
2
0.5
15
10
41
What needs to replace missing code for a successful variable swap?
temp <-- a
temp <-- b
b <-- temp
b <-- a
42
Why does program code have to be run through a compiler?
Program code is write-only until it is run through a compiler.
Program code must be debugged by the compiler before it can ever run.
It doesn’t, as the new program could be run directly from the code.
Program code must be translated into a language the computer understands.
43
Which of the following is NOT metadata for the picture?
The location where the picture was taken
The picture of the dog
The time the picture was taken
The memory space taken up by the picture
44
What two virtual patron traits would best assist in simulating ride wait times?
Walking preference: how far patrons walk between rides.
Ride preference: patron's favorite type of ride.
Ticket type: single-day, multi-day, or annual pass.
Food preference: patron's preferred food type.
45
What will the program display?
0
1
10
11
46
Which of the following may be an unintended effect of the use of the professional filters?
The filters allow users to visually connect their brand to their customers
They can cause body dysmorphia when users try to live up to filtered images
The filters allow users to look their best while documenting their life
They generate interest and allow users to accumulate followers
47
Find the error in the following low-level programming code.10111001 11010010 0000011 100001001 00001110 00000000 0000000
To difficult to determine errors.
The 12th 1 needs to be changed to a 0
The 3rd 0 should be a 1.
All of it is correct, and spells Computer Science Rocks
48
Large data sets are useful in finding patterns in the data. Which of the following is used to predict future data usage?
Identifying the time at which most purchases are made
Identifying the largest spending addresses
Calculating the monthly bill charged
Using past purchases to recommend products for possible purchase
49
Why does the procedure error when trying to display the sum of all numbers in a list?
No error
Logical error
Syntax error
Runtime error
50
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x > 10
x >= 6
x >= 9
x < 6
51
What is the minimum bits to store a pixel with colors valued from 0 to 255?
256
512
24
8
52
A spinner is divided into two sections. ¾ of the spinner will return False and ¼ of the spinner will return True 25%!
RANDOM(5, 9) = 6
RANDOM(5, 8) = 6
RANDOM(1, 4) ≤ 2
RANDOM(1, 8) ≤ 2
53
What does this code output?
5
20
15
18
54
What will the following code segment display?
3
4
Nothing will be displayed due to an error.
6
55
What is the purpose of a digital certificate in secured communications?
Digital certificate verifies system inspection by third party.
Digital certificate verifies server authenticity in secure connection.
Digital certificate confirms code creation by professional programmer.
Digital certificate confirms server security, public key encryption.
56
What is the average number of times the REPEAT UNTIL segment will run if the user inputted the number 0?
50 times
0 times
100 times
Infinite
57
What's the benefit of creating an abstraction with names, areas, and images as parameters for identical properties?
Allows objects to hold properties without separate coding
Increases code security against theft and editing
Accounts for differences in object behavior
Ensures editability of each object's files
58
What does the algorithm display?
7
5
4
3
59
Which of the following computer languages have the highest level of abstractions?
COBOL
Machine code
All of the above
Python/JAVA
60
A puppy-check program takes 4,000 seconds for 100 pictures in series, but 400 seconds in parallel. What's the speedup?
1,000
10
1
100
61
What should replace so the program below displays TRUE 60% of the time?
x MOD 5 = 0
x MOD 5 = 5
x MOD 2 = 0
x MOD 2 = 1
62
Consider the following code.
What is displayed because of executing the code segment?
3 9
9
1 3 5 7 9
1 5 7
63
Why do computing innovations tend to lead to legal concerns?
Unable to hide IP address, so laws are easily applied
Rapid innovation makes internet copyright laws hard to enforce
Pre-existing laws may not cover new tech aspects
Lawyers struggle with multi-state computer laws.
64
What error will occur when trying to store the number 76 using 1 byte of memory?
Logical Error
The number 76 can be stored using 1 byte without error
Roundoff Error
Overflow Error
65
Two computers calculate the same equation: a <-- 1/3 , b <-- 1/3 . If a ≠ b what happened?
DDoS attack
Phishing
Overflow error
Roundoff error
66
Which is the largest number that will NOT result in an overflow error in a five-bit system?
33
32
34
30
67
How many passes using a binary search are needed to find the number 11?
3
2
4
1
68
What is the value displayed after the following algorithm is run?
6
4
1
0
69
What is the minimum number of lines that must be cut to isolate F completely?
8
0
4
6
70
Which of the following test cases will return the correct average using the below procedure
numbers[3, 5, 11, 6]
numbers[1, 1, 35, 6]
numbers[11, 35, 6]
numbers[0, 1, 35, 6]
71
What will be the result of the displayed program?
9 5 7
14 6
7 5 9
6 14
72
A web browser contacts a server using IPv4 and pages a request for a website’s address. Which is
NOT
a response?
174.260.45.144
54.116.188.246
128.198.232.65
92.11.198.113
73
Using a binary search, how many passes are needed to find the number 13?
2
4
Does not work unless list is sorted
1
74
What could be an outcome of a company creating scientific simulations?
Abnormal simulation results could prompt further research.
Simulations can replace expensive real-life concepts
All are potential outcomes.
Simulations can provide hypothesis information.
75
In this parallel computing solution, how much processing time would the problem take?
6 seconds
9 seconds
7 seconds
16 seconds
76
What is the primary benefit of parallel computing?
Fewer bugs occur in code
Tasks are completed more efficiently
Programs use less RAM
Data is automatically encrypted
77
Findings from a project are presented using a graph as opposed to table or raw data. Why might this be? Pick 2 answers!
Graphs fit easily into slideshows/documents, unlike tables.
Graphs reveal trends not easily seen in raw data.
Graphs are clearer and quicker to interpret.
Graphs display all necessary data detail.
78
What is the percentage that this algorithm displays true?DISPLAY(RANDOM(1, 10) = 6)
60%
40%
20%
10%
79
Hardware is built using levels of abstractions. Which of the following hardware are listed in order from high to low?
Logic gate, transistor, computer
Computer, motherboard, transistor
Logic gate, motherboard, transistor
Computers, transistors, motherboards
80
Which of the following is true about data compression?
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.
Data compression can be used to reduce the size of a file.
81
What is displayed after the program is ran below?
Syntax Error
150
169
240
82
What useful info could a simulation of the ozone hole's growth provide?
Approximate time until the hole refills.
Exact size of the hole at any time.
Exact size of the hole at any time.
Exact size of the hole at any time.
83
What is displayed after the program runs?
124
45
43
133
84
Which of the following does NOT contribute to the digital divide?
Infrastructure. There are parts of the world without internet
Indifference. A person can access the internet but choose not to use it.
All of the above contribute to the digital divide
Education. Can access the internet but not have the education to use it.
85
What is the output of this code? if y = 2
10
5
7
3
86
What does the following program display?
True if the input value is the last element in the data structure or false
True if the input value is contained in the data structure or false
False always
True always
87
Which math solution could result in a roundoff error?
6 - 2
3 + 5
1/3
2 * 6
88
Which of the following processes will not be affected by the digital divide?
Reducing wait times by requiring appointments to be made online
Requiring virtual school classes as a requirement for graduation
Releasing official government policy via Twitter
Scheduling an appointment in a populated city with internet.
89
What's NOT required in a program simulating fox and rabbit growth?
Each fox must eat a rabbit frequently to survive.
Each rabbit may only have a certain amount of children per litter.
A representation of grass that rabbits must eat frequently to survive.
Each rabbit can only live to a certain age assuming that they are not eaten
90
What question is Google Trends data most likely to answer?
Public concern about incoming weather.
Cost of a gas-powered chainsaw
Length of the Iditarod
Cheapest date to book a hotel room
91
Which of the following does NOT need to be considered when determining the credibility of a source?
Publisher’s reputation and credentials
Sponsorship of the article or publisher
Use of persuasive techniques within the source
Author’s reputation and credentials
92
Which of the following is MOST likely to be a harmful effect of storing all posts?
A user posts something that can affect the persons college acceptance
The site can increase a user's artistic ability by taking pictures.
A user can connect and rekindle old friendships
A user can become social media famous and get sponsored by a makeup brand
93
What is a benefit of using a simulation to study inflation rate changes due to supply and demand?
Simulations run once, mimicking a one-time real-life experiment.
Simulations can account for all variables affecting supply and demand.
Simulations are cost-effective and easier to create than global experiments
Simulations impact the real world as much as large-scale experiments.
94
Which best explains how packets help with Internet communication?
They prevent copyright issues
Data is sent in small chunks
Packets ensure anonymity
They eliminate all data loss
95
Why is using procedures in a program more effective than repeating code? Select two.
Procedures use less space, making programs easier to read.
Procedures simplify editing by only needing one edit.
Procedures complicate editing as each extraction is in a distinct file.
If procedures work once, they'll work in every instance.
96
What is displayed after the algorithm us run?
8
2 4 6
5 3 7 5
0 246
97
Consider the following code segment.
What is displayed as a result of executing the code segment?
Dog Cat Fish Golden Bandicoot
Dog Golden Bandicoot Cat Fish
Dog Cat Fish
Golden Bandicoot Cat Fish
98
What will the following program display?
1
2
6
35
99
Which situation shows a harmful impact of computing?
A site suggests songs by mood
Biased data in hiring AI system
A GPS app gives fastest route
School uses tablets for reading
100
What is the value displayed after the algorithm is run?
1
0
9
10