stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Summative Test Project Flashcards | StudBud
Explore
/
Summative Test Project
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
Computational science allows for enhanced experimenting and results-based research. Review the choices belowsele
group of geologists are trying to determine rock spread making a simulation
scientist from NOAA use a simulation to see how tsunamis are effected
biologist uses computer simulation to see the relation between animals
chemist creates program that'll help him research many types of materials.
2
intended to display the sum of all numbers in the list.irst element in the list is counted twice. type of error?
Syntax error
Logical error
No error. The program works as intended
Runtime error
3
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
2,000
1,000
1
11
4
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
5
Which of the following illustrate ways that the internet facilitates collaboration
II and III only
I only
I, II, and III
I and III only
6
Which of the above, represented in binary as a byte, contains the most zeros?
.
K
p
C
7
Which of the following is
NOT
an investigation tool for designing programs?
User testing
Direct observations.
Programming the most elegant code
Collecting data through surveys
8
A simulation for a color chooser should result in 25% BLUE. Which of the following could replace <missing condition>?
RANDOM(250, 1000) < 251 RANDOM(1, 2) > 1
RANDOM(1, 4) < 2 RANDOM(5, 8) > 7
RANDOM(1, 2) > 1RANDOM(5, 8) > 7
RANDOM(250, 1000) < 251RANDOM(1, 4) < 2
9
What command can replace <Missing condition> to get the results shown in the fourth column of the table?
NOT(a AND b)
NOT(a OR a)
a OR b
NOT b
10
Which of the following outcomes is most likely to result from this simulation? packets traveling between computers
understanding of how access to the Internet affects developing countries
understanding of how a failed router disrupts flow of packets
Better understanding of how binary is used to represent data in packets
Better understanding of how defend against phishing attacks
11
What will be the values of x and y after this code segment executes?
x is 40, y is 30
x is 30, y is 40
x is 20, y is 20
x is 40, y is 40
12
Which of the following is true about data compression?
Lossless data compression is the best compression under all conditions.
Data compression used to reduce size of a file for storage or transmission.
Data compression can be used for pictures and video only.
Lossy compression cannot be used when sending pictures.
13
the screen splits and Zach is shown a list of movies to watch next. The site is using what to system to make suggestions
Statistical probability model
Preference categorization
Reference grouping
Information filtering
14
What will the program segment display?
34
3
99
2
15
Which of the following best approximates the minimum possible time to run all three processes in series? no dependents
28 seconds
4 seconds
15 seconds
9 seconds
16
Using the partial hierarchy shown above, which of the following commands would properly import ThreadLocalRandom?
import java.util.function.ThreadLocalRandom
import ThreadLocalRandom.concurrent.util.java
import java.util.concurrent.ThreadLocalRandom
import java.ThreadLocalRandom
17
Which of the following test cases will return the correct average using the above procedure
numbers[1, 1, 35, 6]
numbers[3, 5, 11, 6]
numbers[11, 35, 6]
numbers[0, 1, 35, 6]
18
What should replace <missing code> in order to make the following program return True when the first element equal last
( list1[1] = list1[LENGTH(list1)] )
( list1[0] = list1[1] )
( list1[0] = list1[LENGTH(list1) – 1] )
( list1 = list1 )
19
What is an example of a way that a “smart grid” could assist with human capabilities?
grid could control the temperature of an A/C or a heating unit directly.
The grid could distribute power in the best way ensuring all users get it
The grid could prevent blackouts altogether.
The grid could ensure that all computers on it are properly updated.
20
which method can help lessen risk of having personal information get leaked in large data sets
I, II, and IV only
II, IV, and V only
I, II, III, and IV only
All of the above
21
If list
CSList
contains: [’c’, ’o', ’m’, ’p’, ’u', ’t', ’e’, 'r'], what will be displayed by
mystery(CSList)
?
computer computer computer computer computer
cmptr cmptr cmptr
cmptr cmptr cmptr cmptr cmptr
computer computer computer
22
What procedure will result in the robot landing on the star?
Select two answers
(4,1) (6,0)
(0,7)
(0,1), (6,3), (4,0)
(7, 3)
23
Which of the following is NOT metadata for the picture?
The picture of the dog
The time the picture was taken
The location where the picture was taken
The memory space taken up by the picture
24
Which of the following relating to open source software and its licensing are violations and raise ethical/legal issues?
Takes code with licenses, makes minor changes and distributes, no credit.
developer uses open source MPL license and own code for commercial use code
uses open source, GPL-license to create product without OG code
takes code for an open source, GNU-license, renames, share, with no OG code
25
Which of the following is a cause of the digital divide?
Lack of access to technology due to location
Lack of access to the technology due to affordability
Lack of knowledge on how to use technology
All of the above
26
What does the algorithm display?
7
4
3
5
27
number of steps. Which of the following would be considered a reasonable number of steps?
100n^4
n!
4^n+8n^2
3^n
28
Which of the following must be true about the code that she writes?
Selection is necessary, but looping is not.
Looping is necessary, but selection is not.
Neither selection nor looping are necessary.
Both selection and looping are necessary.
29
What does the following algorithm display?
When A is false, the algorithm displays “False.”
It always displays “False.”
When B is false, the algorithm displays “False.”
It always displays “True.”
30
Why is it important to find an efficient solution to a problem?
An efficient solution can always be solved in a reasonable amount of time.
An efficient solution can make it easier to analyze larger data sets.
An efficient solution makes it harder to copy an algorithm.
A solution that uses more resources from the computer to make an answer
31
What is the value of sum displayed after this algorithm is run?
4
0
Error
6
32
When should a heuristic algorithm be used?
When calculating the average score for the national SAT test
when determining what files have been exposed by virus before checking all
finding the quickest way to go from Orlando, Florida, to Cold Foot, Alaska
When finding the lifetime batting average of Mookie Wilson
33
What will the following code segment display?
10
9 10 7 4 1
1 4 7 10 9
Nothing will be displayed due to the error index out of bounds.
34
How many lines need to be cut to completely isolate computer E from computer C?
3
6
0
8
35
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.
36
What is the minimum number of searches for a binary search using an ordered list of 100 numbers?
1
0
100
8
37
Which of the following are benefits to having information be easily accessible and changeable?
I, II, and III
I and II only
I only
II and III only
38
Why do computing innovations tend to lead to legal concerns?
Laws for copyright have been passed but new inventions kick out old laws
invention of computers was too fast for laws to keep up
Laws are enforced since you can not hide your IP address
Layers are still struggling with laws on tech since they differ from states
39
4,000 seconds to check 100 pictures. When running the same program in parallel, 400 seconds to run. What is the speed
1
1,000
100
10
40
Which of the following is the minimum possible time to run all five processes?
four and five must be run in series
18 seconds
10 seconds
8 seconds
7 seconds
41
What protocol below guides the rules about how data
FTP
DNS
HTTP
TCP
42
Monica is surfing the web one day after class. She types widgets.cs.fbhs.org, What is most likely to occur in DNS Server
The .org name server will send the IP address of widgets.cs.fbhs.org
widgets name server will send the IP address of the widgets.cs name server.
widgets.cs.fbhs.name server will send the IP address of widgets.cs.fbhs.
The .org name server will send the IP address of the fbhs.org name server.
43
What is the code segment displaying?
0
17
34
68
44
What will the following code segment display?
22
10
1
30
45
Which algorithm calculates average correctly?
Neither Algorithm A nor Algorithm B calculates average correctly.
Algorithm A calculates average in all cases, while Algorithm B does not.
Both Algorithm A and Algorithm calculate average correctly, A is better
Algorithm B calculates average in all cases, while Algorithm A does not.
46
Which best describes the role of TCP?
The set of rules for the path packets taken on the fault-tolerant internet
A common protocol for encrypting and decrypting data transferring
The foundation of data communication for the World Wide Web
Setting the rules for a numerical label assigned to each device
47
What will be the output of the following program?
9 5 7
7 5 9
14
14 6
48
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]
49
Which of the following best describes the type of site that Ripley is using?
RSS Feed
Webopedia
Newsgroup
Wiki
50
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x >= 6
x < 6
x >= 9
x > 10
51
how many more IP addresses will become available?Responses96 as many IP addresses 2^32 --> 2^128
2^2 as many IP addresses
96 as many IP addresses
Twice as many IP addresses
2^96 as many addresses
52
A lawyer is accessing a database of crimes within a radius of the city center. The database contains the following info
Algorithm I only
Algorithm II only
Both Algorithm I and Algorithm II
Neither Algorithm I nor Algorithm II
53
adds 40 to red pixels. red is greater than 255, it saves it as 255. What type of editing software is being using
Lossy transformation
Addition transformation
Frequency transformation
Lossless transformation
54
Which of the statements below is the most reasonable argument against the amount of surveillance that is being done?
The amount of video surveillance equipment is too costly compared to safety
The amount of video surveillance is making it harder for law enforcement
people aren't seeing enough benefit to give up privacy for surveillance
Laws regarding the use of video dramatically lags behind the tech in use
55
What is the minimum number of binary digits needed to store the number 56?
1
6
5
3
56
lf that server has incorrect information, a poisoning of the DNS can occur. correctly identify DNS cache poisonings
DNS Key Distribution
DNS BINDing
Masquerading
Rogue Servers
57
a product advertised at 10.99 She has 40% off, making price to 6.594 each. She purchase 3. total is 19.78 not 19.77 why?
the program calculated the total for one rounded then multiplied by 3
While multiplying the floating point numbers, there was a round-off error.
The program does not handle signed integers.
number of bits used to store the values resulted in an overflow error.
58
What is displayed as a result of executing the code segment?
Dog Golden Bandicoot Cat Fish
Dog Cat Fish Golden Bandicoot
Golden Bandicoot Cat Fish
Dog Cat Fish
59
Which of the following is
NOT
metadata?
The geographic location where the picture was taken
The date the photo was taken
The Red, Green, and Blue values of the top left pixel
The filename
60
What will be the result of the displayed program?
6 14
14 6
9 5 7
7 5 9
61
Sort the following by levels of abstraction, from lowest to highest:
I, IV, II, III
I, II, III, IV
I, IV, III, II
I, III, IV, II
62
What could a single binary value represent?
If a light is on or off
Volume on a radio
Temperature in degrees Celsius
Time
63
a teacher creates a word cloud for her students to see their frequency with "the", what else might she see?
II and III
I, II, and III
I and III
I and II
64
what is true about packets when information is sent
Packets are sent in multiple paths and can be received out of order.
Packets are sent by the quickest path possible in the correct order.
Packets are received in the order that they are sent.
All of the above.
65
Which of the following test cases will NOT find the maximum number in the list?
list1[−23, −67, −3, −7]
list1[4]
list1[23, 67, 3]
list1[0, 0, 0, 0]
66
some coding languages, the above code will result in an error. Why?
the number of bits used to represent characters limits the range of values
The multiple levels of abstraction used oversimplified the coded.
the number of bits as floating-point integers limit the range of FPN values
The value of the product will always be 0.
67
What should replace so the program below displays TRUE 60% of the time?
x MOD 2 = 1
x MOD 2 = 0
x MOD 5 = 0
x MOD 5 = 5
68
Her current connection speed is 700 (KilobytesPS) how long will the download take if her video is 400 megabytes?
175 seconds
1.75 seconds
571 seconds
57.1 seconds
69
Which of the following types of components is necessary for cybersecurity?
I.
Software
II.
Hardware
III.
Human
I and II only
I, II, and III
III only
I only
70
What is the following program returning?
37
25
20
27
71
which of the following is true about redundancy:
II and III only
I, II, and III
I only
I and II only
72
What binary number is equal to 10001BIN + 3DEC
11100
10011
10100
11110
73
company collaborates with scientists by creating simulations for scientific research. What is a possible outcome
experiments that would be too expensive can be done in a simulation
simulation can help scientist create a hypothesis
abnormal results could lead to further research into the outcome
All of the above are potential outcomes.
74
Which of the following best approximates the minimum possible time to run all three processes in series?
8 seconds
20 seconds
38 seconds
10 seconds
75
What is returned by
cube(cube(2))
?
128
8
64
512
76
while running the first element in the list is counted twice. What type of error was suffered
Runtime error
Syntax error
Logical error
No error. The program works as intended.
77
What will the following code segment display?
11
3
6
Nothing will be displayed due to an error.
78
Which of the following is
NOT
indicative of a phishing attack?
email with user personal info pops up and ask the user to input their SSN
an email ask the user to call the phone number on the back of their card
a member of an org sends an email to click on to rectify a problem
virus pops up on the computer asking the user to make a call to protect IP
79
What is returned by
mystery (1, 2)
?
2
8
10
4
80
What will the executed code display?
All even numbers between 1 and 12
All even numbers between 3 and 12
All odd numbers between 3 and 12
All odd numbers between 1 and 12
81
China is one of the most known censors of the Internet. Review the list below and select the
two
known forms of cens
government gets people to post pro-government post and looking for protest
government embeds cookies on the machines of Internet users to track sites
government gives its ISPs a lists of keywords that they block access to
government has hackers create viruses through Chinese ISPs as spyware
82
Instead, it records an error when trying to display the total value contained in the list. What type of error
No error; the program works as intended
Runtime error
Syntax error
Logical error
83
pcik
8
0
4
6
84
Which of the following does NOT need to be considered when determining the credibility of a source?
Publisher’s reputation and credentials
Author’s reputation and credentials
Sponsorship of the article or publisher
Use of persuasive techniques within the source
85
Which of the following statements are true about undecidable problems in computer science?
I only
I, II, and III
II and III
I and II
86
A browser contacts a server and pages a request for a website’s address. Which of the following could
NOT
be a response
174.260.45.144
128.198.232.65
54.116.188.246
92.11.198.113
87
approximate the minimum possible time to run processes in parallel?
Processes four and five must be ran is series
9 seconds
11 second
13 seconds
15 seconds
88
What will the above program display?
4 8 8
3 8 0
Nothing due to an infinite loop
2 8 14
89
What is displayed after running the algorithm below?
12
133
43
145
90
Is a binary search always the fastest search when searching for a number in a sorted list?
A binary search is always faster with a sorted list.
For a large list, linear searches are always faster.
the first pass of a linear search can find a number quicker than a binary
For a large list, binary searches are always faster.
91
Which format is more efficient for storing and representing most images and why?
BMP. Having access to the data at every pixel ensures losslessness.
GIF allows us to use only 3 bytes for each color set by storing in pairs
BMP. The algorithm for storing a BMP file has fewer steps.
GIF. Storing information in a table format ensures losslessness.
92
What will the program above display?
2 8
4 8
2 7
3 7
93
If each pixel in a photo is a combination of three color values, what is the minimum number of bits needed for a pixel
8
256
24
512
94
What will the following program display?
OXXOO
OXXOXXOXX
OOOXX
The program is an infinite loop.
95
The following program is intended to display the string 789. What type of error will the following procedure cause?
Syntax error
Logic error
Runtime error
No error
96
Which of the following statements is
NOT
correct:
Logic gates are modeled by Boolean functions
Binary data is processed by physical layers of computing hardware
Hardware is the lowest level of abstraction
Logic gates are used to perform operations such as addition and subtraction
97
pick the right answer choice
I , II , and III
I only
II only
II and III
98
^^^
If(num/10 =3) DISPLAY(3)
If(num / 3 = 0) DISPLAY(3) If(num MOD 10) DISPLAY (num MID 10)
if(num MOD 10) DISPLAY (num MID 10) if(novack = 3) DISPLAY(3)
if(novack = 3) DISPLAY(3) If(num/10 =3) DISPLAY(3)
99
What is displayed because of executing the code segment?
1 5 7
1 3 5 7 9
9
3 9
100
. Fraud detection algorithms collect massive amounts of data What type of algorithm would be best used
Brute force algorithm
Optimization algorithm
Searching algorithm
Heuristic algorithm