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