stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Silva, Juan Summative Test Project Flashcards | StudBud
Explore
/
Silva, Juan Summative Test Project
Silva, Juan Summative Test Project
100 terms
·
StudBud Administration
·
1 play
Imported from external platform
Flashcards
100 cards
F
Practice quiz
P
Host live
L
Questions
100
Answers
1
Max number of searches in a linear search (2,000 items)?
6
68
445
2000
2
Best method for accessible shared data storage?
Flash Drive
Mainframe
Cloud with version control
Magnetic drive
3
Which fields are key to winning the DARPA Robotics Challenge?
CS, mech eng, bio, electronics, remote
CS, electronics, remote systems, bio
Remote, CS, bio, mech eng
Mech eng, bio, CS
4
What is the code segment displaying?
0
68
34
17
5
What should replace <missing condition> so that the program below display TRUE 10% of the time?
x <= 9
x < 9
x <= 1
x < 1
6
Why use procedures instead of repeating code? (Choose two)
Always works if it worked once
Uses less space
Easier to edit one place
Harder to edit because stored separately
7
Which of the following considerations is likely to affect the ability of the program to process large data sets?
The order of the data put into the data set
The amount of program documentation that should be minimized
How many program statements the program contains
How much memory the program requires to run
8
Which command can replace <Missing Condition> to result in the last column of the table shown below?
a AND (a AND b)
b AND (a AND b)
NOT (a AND b)
a OR b
9
A flowchart is a way to represent an algorithm visually. The flowchart below uses the following building blocks.S
2 8 14
Nothing due to an infinite loop
3 8 0
4 8 8
10
Which factor is least needed in deer study model?
Illness rate
Food supply
Population size
Antler size
11
What affects a program’s ability to handle big data?
Program length
Documentation size
Data order
Memory usage
12
Which of the following is
LEAST
likely to be included with the game?
Location of high-crime areas that should be avoided
What protocols the mobile device uses to connect to the internet
Location of highly trafficked roads and bridges
Information about what types of mobile devices can be used
13
What kind of system suggests movies on streaming sites?
Info filtering
Reference grouping
Preference categorization
Reference grouping
14
What’s key when writing pool area program?
Consider volume calc
Ensure math operators exist
Use boolean for pool check
Approximate pi with float
15
What type of error did the below procedure suffer from?
Runtime error
No error. The program works as intended
Logical error
Syntax error
16
Which statement about compression is NOT true?
Lossless can fully restore data
Scanned pics use lossy
Lossy gives exact original again
Music moved in lossless
17
An algorithm has n number of steps. Which of the following would be considered a reasonable number of steps?
n!
90^n
3^n
100n^4
18
Which of the following best approximates the minimum possible time to run all three processes in series?(1
CPU all free)
9 seconds
15 seconds
28 seconds
4 seconds
19
What’s true about museum using lossless image files?
Compression is risky
Lossless compression exists
Heuristics give decent lossless
Heuristics always efficient
20
Which is not a tool for designing programs?
User testing
Observations
Writing elegant code
Surveys
21
Why do computing innovations tend to lead to legal concerns?
There is no way to hide you.
Lawyers are unfamiliar with the laws governing computing innovations
The speed of innovations has made these laws harder to enforce.
These laws may not cover certain aspects of new technology.
22
What type of error did the procedure below suffer from?
No error. The program works as intended.
Logical error
Syntax error
Runtime error
23
Which search terms help Amelia find wild mustangs?
Mustang NOT car
“Mustang, not the car”
Site: Mustang
Mustang -car
24
Which are required for cybersecurity?
Only software
Only humans
Software, hardware, and humans
Only hardware
25
Which statements are NOT true about scientists using big data?
One scientist can't analyze big data
Diverse teams complicate analysis
Limiting data helps in groups.
Data sharing reduces medical costs
26
Which of the following data is not provided directly by the user
GPS location of user
Location of landmarks used in the game.
User name
Speed traveling
27
Web browsers use IPv4 and page requests for websites' addresses. Which is
NOT
a potential response.
54.116.188.246
174.260.45.144
92.11.198.113
128.198.232.65
28
What error if 1/3 doesn't equal 1/3 on two computers?
Roundoff error
Overflow
Hax error
All computers give same result
29
Why does updating a file require more memory than reading a file?
v
A read file uses only the hard disk
A read file requires the entire file be loaded to memory
A read file requires no memory
30
Why will linear search steps increase with data?
No, code doesn’t change
Yes, unsorted additions
Yes, steps grow with input
No, linear splits data
31
What is the following program returning?
6
3
76
20
32
What virtual guest info helps simulate wait times? (Choose two)
Ride type preference
Ticket type
Walking distance preference
Food preference
33
What is displayed as a result of executing the following code segment?
Dog Waffle Moose Noodles Novack Benji
Moose Benji Novack Waffle Noodles
Dog Waffle Noodles Moose Novack Benji
Waffle Moose Noodles Novack Benji
34
How can a game designer find efficient sort methods?
Start with 1 player, expand
Use known sort methods
Use a big server
Write shortest code
35
What procedure will result in the robot landing on the star?
Select two answers
moveAndSpin(7, 3)
moveAndSpin(6, 3)moveAndSpin(4, 0)
moveAndSpin(4, 1)moveAndSpin(6, 0)
moveAndSpin(0, 7)
36
What is displayed as a result if the user inputs “Karel” to the program?
Hello Karel
What is your name?Hello Karel
What is your name? Hello Karel
Hello Karel
37
What will be the result of the displayed program?
14 6
6 14
7 5 9
9 5 7
38
Why does updating a file use more memory than reading?
Reading only uses RAM
Reading uses full memory
Updating files don't use disk
Must store both original + updated versions in memory
39
What are the possible landing spots for the robot after executing the following program?
nothing
everything
All of middle column
all of middle row and top two of middle column
40
Which metric is least useful for analyzing gerrymandering maps?
County splits
Racial makeup
Third-party wins
Overall district results
41
What will the following code segment display?
6
11
3
Nothing will be displayed due to an error.
42
Which of the following input data is needed by the upgraded game that was
NOT
needed by the original game?
Picture of the player
Event sensing; an event would be the user pushing a button or screen
GPS location
Age of the player
43
Which of these is NOT photo metadata?
Location
Date taken
Color of top-left pixel
File name
44
Procedure isFound(list, item) will return TRUE if an item is found in a list What will the following procedure display?
[4, 6, −4]
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
[ ]
[1, 6, −4]
45
Which of the codes below will correctly swap the frog with the bear?
animal[3] = animal[1]animal[1] = animal[3]
temp = animal[1]animal[1] = animal[2]animal[2] = temp
temp = animal[1]animal[1] = animal[3]animal[3] = temp
animal[1] = animal[2]animal[2] = animal[1]
46
What will be the output of the following program?
9 5 7
14
7 5 9
14 6
47
What should replace so the program below displays TRUE 60% of the time?
x MOD 2 = 0
x MOD 5 = 5
x MOD 5 = 0
x MOD 2 = 1
48
Why is GIF better than BMP for most images?
Table format is lossless
Simpler algorithm
Pixel access ensures lossless
Uses fewer bytes for runs
49
Consider the following code segment. What will the executed code display?
All odd numbers between 3 and 12
All odd numbers between 1 and 12
All even numbers between 1 and 12
All even numbers between 3 and 12
50
What does the following algorithm display?
It always displays “False.”
It always displays “True.”
When B is false, the algorithm displays “False.”
When A is false, the algorithm displays “False.”
51
Which of the following characteristics for the virtual patrons would be most useful?
Select two answers.
Ride preference
Walking preference
Ticket type
Food preference
52
Which of the following would
NOT
be a useful metric with which to analyze the data? for viewing area's goals
Racial makeup
County splits
Overall results
Third-party wins
53
Why is it more effective to put procedures in a program than to repeat code?
Select two answers.
guaranteed to work in every instance they are used if they work once.
makes the program easier to read.
make a program harder to edit
Procedures simplify editing by requiring only one edit to the abstraction
54
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 much time a person spent playing the game
How many locations the player visited
55
Why do scientists use simulations?
All listed reasons
Shows unusual results
Helps form hypotheses
Cheaper than real-world tests
56
Consider the following code segment, which uses the variables x, y, and z. What will the following program display?
12 24 24
12 12 12
24 24 24
6 12 24
57
What type of transformation is the photo-editing software using?
Lossless transformation
Addition transformation
Lossy transformation
58
What is the code below displaying?
2, 4, 6, 8, 10, 12, 14
Nothing will be displayed
3, 6, 9, 12, 15
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
59
Why are graphs used to present project results? (Choose two)
Graphs show more detail than raw data
Show trends not seen in raw data
Easy to read at a glance
Tables can't be put in slides
60
What is the value of sum displayed after this algorithm is run?
6
4
2
7
61
Which of these is not a valid IPv4 address?
128.198.232.65
92.11.198.113
174.260.45.144
54.116.188.246
62
The findings from a project are typically presented using a graph as opposed to table or raw data. Why might this be?(2)
Graphs can show trends that might not be easily seen with raw data.
Graphs are able to show all of the detail necessary to understand data.
Graphs are easier to read and interpret at a glance.
Graphs can be easily placed into a slideshow or document, while tables wont
63
What would be a good use of constants when initializing variables at the beginning of a program?
I, II, and III
I and II only
I and III only
II and III only
64
What is displayed after running the algorithm below?
54
12
133
43
65
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
11
2,000
1,000
1
66
Where would the robot end up after running the following code?
C
B
A
D
67
What should replace
<missing code>
in the following algorithm?
IF(number ≠ randomNumber)
IF(number = true OR randomNumber = true)
IF(number = randomNumber)
IF(number = true AND randomNumber = drawing)
68
Why did a $19.78 total show as $19.77 online?
Signed int error
Rounded price * 3 was used
Round-off error in multiplication
Overflow from bit limits
69
Why were emailed pictures blurry?
Packet error
Files were corrupted
Bad camera quality
Lossy compression used
70
What’s a downside of lossless compression?
Image looks blurry
Lower resolution
Some data gets deleted
File size is large
71
What is a major disadvantage of the internet’s model of trust?
Trusted might download malicious code even if it is blocked by a firewall
Improper trusts can be very damaging if the website is malicious.
Any data sent can be read by an interceptor.
A trusted website has the computer's ROM, leading to potential for malice
72
Which of the following code segments does
NOT
correctly set the value of ticketPrice?
D
C
B
A
73
Sort the list so 13 doesn't appear
item = 13
item ≠ 13
list1 ≠ 13
list1 = 13
74
Why is cryptography essential to cybersecurity?
prevent publicly accessible files on a server from being edited
secures internet communications by ensuring that the files cannot be read
Cryptography does not allow data on a server to be edited
preventing a third party from hijacking a connection.
75
Find the error in the following low-level programming code.
it would be considerably easier to use an upper-level language.
The 34th 0 should be a 1.
The 84th digit should be a 1.
The 17th 1 needs to be changed to a 0.
76
A program counts the first list item twice. What type of error is it?
Location
Time
Date
On/Off light
77
Which of the following shows possible results of running the code segment with any value of p ≥ 0 AND p < 2?(2)
Error. The robot leaves the grid.
facing down at B3
facing up at top left box
Facing right at top left box
78
Which of the following is a potential outcome of this?
this could be used as a basis for further research by scientists.
All of the above are potential outcomes.
a simulation can be used provide the information necessary.
the company could create a simulation with the help of the scientists.
79
What’s a quick solution for delivery routing?
Use software to cluster stops
Write fresh code now
Let drivers decide
Wait to perfect route
80
Which character has the most 0s in binary
K
C
.
p
81
User types “Karel”. What does the program print?
Hello
Hello Karel
What's your name?
What is your name? Hello Karel
82
Why is 120! output wrong if code is fine?
Integer overflow
Float precision limits
Lacks procedures
Factorials are outdated
83
What does the algorithm display?
5
3
7
4
84
Which scenarios raise valid data security concerns?
IT caller asking for password
Hidden SSID at home
Properly erased hard drives
Gov contractor uses cloud storage
85
. What’s the purpose of a digital certificate?
Confirms server’s security was checked by a trusted third party
Verifies site was built by pros
Blocks fake server connections
Checks communication systems
86
Time to run 3 tasks in sequence on 1 CPU (from table)?
28 seconds
7 seconds
90 seconds
9 seconds
87
What type of algorithm would be best used for fraud detection?
Brute force algorithm
Optimization algorithm
Brute force algorithm
Heuristic algorithm
88
Which of the following best approximates the minimum possible time to run all five processes?
18 seconds
7 seconds
8 seconds
10 seconds
89
Why is cryptography important?
It hides data from hackers
It prevents server file edits
It speeds up internet
It stops websites from crashing
90
Why choose one language over another?
Dynamic is trendy
Static for readable vars
Dynamic to skip type worries
Static to reduce runtime
91
The following picture was taken by a smartphone.
The date the photo was taken
The filename
The geographic location where the picture was taken
The Red, Green, and Blue values of the top left pixel
92
What will the following algorithm display after running the code below?
2
6
3
1
93
What might a teacher learn from student word clouds?
Explore further with new clouds
Only frequency of "that"
Find other overused words
Discover related words used
94
To convert to octal, subtract powers of what?
9
7
2
8
95
What type of encryption is a Caesar cipher?
Public-key
Symmetric
Home-key
No-key
96
Which is an effect of the digital appointments rather than the purpose of the digital appointments?
The digital appointments will allow for more testing.
make people who live in cities less likely to get tested.
No appointments online so individuals get more disease
ensure an even distribution of tests on both sides of the digital div
97
What will the following program display?
OOOXX
The program is an infinite loop.
OXXOO
OXXOXXOXX
98
What’s a side effect (not purpose) of digital test appointments?
Allows more total tests
Stops city residents from testing
Ensures equal test access
People without internet might not get tested
99
The Caesar cipher is an example of what type of encryption?
Public key encryption
Symmetric encryption
Home key encryption
No key encryption
100
How does the internet help people collaborate?
Shared cloud editing
Send visuals easily
All of the above
Communicate across distance