stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Quaderi, Taseen Summative Test Project Flashcards | StudBud
Explore
/
Quaderi, Taseen Summative Test Project
Quaderi, Taseen Summative Test Project
101 terms
·
StudBud Administration
·
2 plays
Imported from external platform
Flashcards
101 cards
F
Practice quiz
P
Host live
L
Questions
101
Answers
1
What is the value of sum displayed after this algorithm is run?
4
Error
0
6
2
Which of the following statements are true about high-level programming languages? Select
two
answers.
A high-level programming language does not ensure program reliability.
A high-level programming language often uses natural language elements.
A high-level programming language allows for code to be re-used.
A high-level programming language is used to execute arithmetic operations.
3
What is the appropriate name for the procedure?
ESCAPE()
SPIN()
IS_TRAPPED()
CAN_ESCAPE()
4
Which of the statements below are true?
All of the above
II, III, and IV only
I only
I, II, and IV only
5
In the following flowchart, what is the value of RESULT?
Always true
True when both A and B are true
True when either A or B are true
Always false
6
Which of the following is considered a potential effect of the mobile game rather than the purpose of the game?
Players are becoming more cultured by visiting artworks.
Players play the game in their spare time.
People are not watching where they are walking and are getting injured.
People are exercising.
7
The streaming site below that Zach is watching is using what type of system to make the suggestions?
Statistical probability model
Preference categorization
Reference grouping
Information filtering
8
Which of the following is a true statement about data transmitted over the internet?
DNA is challenged by the Digital Millennium Copyright Act.
Large companies oversee redundancy in the internet's design.
Packets are received in the same order that they are sent.
All data traveling over the internet is in binary.
9
Convert 88
DEC
to a binary number.
1011000BIN
1010101BIN
1111000BIN
1000001BIN
10
Which of the items below is NOT a technology advancement in law enforcement that is being used by officers in the field?
Software that allows for predictive policing and efficiency.
Police cars that are connected to suspect information and the station.
Facial recognition software allowing for quick checks on potential suspects
The use of drones to surveil in dangerous areas for police.
11
Which of the following can be represented by a single binary digit?
Geographic location
Light on / light off
Date
Time
12
Why is it important to find an efficient solution to a problem?
An efficient solution can make it easier to analyze larger data sets.
An efficient solution can always be solved in a reasonable amount of time.
An efficient solution uses more resources, meaning the results are correct.
An efficient solution makes it harder to copy an algorithm.
13
What is the purpose of a digital certificate in secured communications?
It ensures that the security features use encryption & are examined.
It ensures that the server contacted in the connection is the real server.
It proves that the code has been made by a professional.
It ensures that the system has been examined by a third party.
14
What will the following procedure display?
[ ]
[1, 6, −4]
[4, 6, −4]
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
15
What is the minimum number of binary digits needed to store the number 56?
5
6
1
3
16
What is an example of a way that a “smart grid” could assist with human capabilities?
The grid could ensure that all computers on it are properly updated.
The grid could distribute power in the most efficient manner possible.
The grid could prevent blackouts altogether.
The grid could control the temperature of an A/C unit directly.
17
Researchers have developed a simulation of packets traveling between computers in a network. What might result in this?
Better understanding of how binary is used to represent data in packets
Better understanding of how to defend against phishing attacks
Better understanding of how the Internet affects developing countries
Better understanding of how a failed router affects the flow of packets.
18
Bill has been defrauded and is a victim of which e-mail scam?
Phishing
Social Engineering
Denial of Service
Spearing
19
Which of the following factors most likely does
not
need to be included in her program?
Population size
Food supply
Antler size
Prevalence of illness in herd
20
Why is it more effective to put procedures in a program than to repeat code? (2 answers)
Procedures save every extraction in a distinct file, making editing harder.
Procedures take up less space, making the program easier to read.
Procedures require only one edit, unlike repeating code.
Procedures are guaranteed to work in every instance if they work once.
21
Consider the following code segment, which uses the variables x, y, and z. What will the following program display?
12 12 12
24 24 24
6 12 24
12 24 24
22
What role does a compiler have in processing a high-level language?
The compiler checks for updates and installs programs onto the computer.
The compiler speeds up the run time of a program.
Compilers translate code into machine code, so computers can understand.
The compiler ensures that the program has no runtime errors.
23
What will the following code segment display?
6
3
Nothing will be displayed due to an error.
11
24
If a does not equal b, what error has occurred?
Roundoff error
Hexadecimal conversion error
Overflow error
a will equal b on all computers
25
What percentage of the time will the program display an even number?
40%
50%
10%
20%
26
What should replace
<missing code>
in the following algorithm?
IF(number = randNumber)
IF(number = true AND randNumber = drawing)
IF(number ≠ randNumber)
IF(number = true OR randNumber = true)
27
Which of the following could be a possible explanation for the blurry pictures?
Every time you email a picture, some data will be lost in transmission.
The file was broken down into packets and then reassembled.
Lossless compression was used to make the file small enough to be emailed.
Lossy compression was used to make the file small enough to be emailed.
28
Which command can replace <Missing Condition> to result in the last column of the table shown below?
b AND (a AND b)
NOT (a AND b)
a AND (a AND b)
a OR b
29
What will the following code segment display?
Nothing will be displayed due to an error.
3
11
6
30
Which of the following is NOT an example of using citizen science as a possible solution?
Calculating PSAT scores for a school district
The behavior of fireflies during the summer months
The behavior of the mysterious & wonderful jellyfish on the beach or water
Collecting recordings using ultrasonic microphones and sonograms of bats
31
An algorithm has n number of steps. Which of the following would be considered a reasonable number of steps?
n!
3n
100n4
4n + 8n2
32
What will y display?
15
20
16
0
33
Which of the following would
NOT
be a useful metric with which to analyze the data?Responses
Overall results - the makeup of Congress based on the likely winner.
County splits - the number of districts within a county.
Racial makeup - The number of districts that are a majority of a race.
Third-party wins - number of districts that might be won by a third-party.
34
What will the following program display?
OXXOO
The program is an infinite loop.
OXXOXXOXX
OOOXX
35
What is displayed by running the code segment?
3 3 6
3 11 3
8 4 6
11 3 8
36
Which of the following protocol standardization is NOT a function of the IETF (Internet Engineering Task Force)?
Hypertext Transfer Protocol
JavaScript Coding Protocol
Internet Protocol
Simple Mail Transfer Protocol
37
Which of the following is
LEAST
likely to be included with the game?
Location of highly trafficked roads and bridges
What protocols the mobile device uses to connect to the internet
Location of high-crime areas that should be avoided
Information about what types of mobile devices can be used
38
What is displayed because of executing the code segment?
9
3 9
1 5 7
1 3 5 7 9
39
What is displayed as a result of executing the following code segment?
Waffle Moose Noodles Novack Benji
Dog Waffle Moose Noodles Novack Benji
Dog Waffle Noodles Moose Novack Benji
Moose Benji Novack Waffle Noodles
40
What type of algorithm would be best used for fraud detection?
Searching algorithm
Heuristic algorithm
Optimization algorithm
Brute force algorithm
41
Which of the following lines of code would cause an error with a robot?
NOT CAN_MOVE (left)
NOT CAN_M0VE (forward)
CAN_MOVE (right)
CAN_MOVE (north)
42
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
2,000
1
11
1,000
43
Which of the following lists is
NOT
a candidate for a binary search?
A list of students in order of height
A list of words in a dictionary
A list of words from a poem about sunshine in the order they appear in.
A list of numbers from smallest to largest
44
What type of transformation is the photo-editing software using?
Lossless transformation
Frequency transformation
Lossy transformation
Addition transformation
45
What could be an outcome of a company collaborating with scientists to make simulations for research?
If it is too expensive to perform in real life, they can make a simulation.
If a simulation keeps giving an abnormal result, it can be used as a basis.
All of the above are potential outcomes.
If scientists need info for a hypothesis, a simulation can give the info.
46
Find the error in the following low-level programming code.
This is too difficult. A upper-level language would be much easier.
The 17th 1 needs to be changed to a 0.
The 84th digit should be a 1.
The 34th 0 should be a 1.
47
Which of the following commands would properly import ThreadLocalRandom?
import java.util.function.ThreadLocalRandom
import java.ThreadLocalRandom
import java.util.concurrent.ThreadLocalRandom
import ThreadLocalRandom.concurrent.util.java
48
Which best describes the role of TCP?
Setting the rules for a label assigned to each device on to the internet
The set of rules for the path packets taken on the fault-tolerant internet
The foundation of data communication for the World Wide Web
A protocol for encrypting and decrypting data transferring on the internet
49
Why does updating a file require more memory than reading a file?
A read file needs some parts in memory while updating needs all parts.
An updating file needs both the hard disk and the RAM, unlike reading files
A read file doesn't need memory, while the updating file does.
An update file needs both the original & updated versions to be in memory.
50
Which of the following test cases will return the correct average using the above procedure?
numbers[11, 35, 6]
numbers[0, 1, 35, 6]
numbers[3, 5, 11, 6]
numbers[1, 1, 35, 6]
51
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
How much memory the program requires to run
How many program statements the program contains
The amount of program documentation that should be minimized
52
Why do computing innovations tend to lead to legal concerns?
These laws were made before computers, so they may not cover new technology
The speed of innovations makes laws harder to enforce.
There's no way to hide your IP on the internet, so laws are easily enforced
Laws involve multiple states, making lawyers unfamiliar with them.
53
Which of the following precautions ensures that the other residents will not be able to see Noah’s wireless network?
II, III, and IV
I only
II and IV
I, II, III, and IV
54
Is a binary search always the fastest search when searching for a number in a sorted list?
For a large list, binary searches are always faster.
For a large list, linear searches are always faster.
No, a linear search might find the correct number on the first pass.
A binary search is always faster with a sorted list.
55
Which of the following can be represented by a single binary number?
Select two answers
What is the position of an object in a two-dimensional array?
Do you have a puppy?
Is your puppy named “Waffles”?
What is the speed of a puppy chasing a squirrel?
56
Why are internet protocols used?
Select two answers.
Internet protocols ensure the internet can work and transmit information.
Internet protocols are needed to slow the growth of the internet.
Internet protocols make the internet scalable and encourage growth.
Internet protocols are specific to the hardware attached to the internet.
57
Which of the following potential benefits is
MOST
likely to be provided by the upgraded system?
Offering products and services that are more relevant to the user
A pizza webpage making ordering pizza faster by remembering the user's info
A weather site's info changing due to the user's location without asking
Limiting the information about the sites and stores that the user visits
58
Which code can replace to have the robot end up in the gray square?
Select two answers.
REPEAT UNTIL (Goal_Reached)
FOR EACH item IN list
REPEAT 4 TIMES
REPEAT UNTIL x = 4
59
What will the following code segment display?
Nothing will be displayed due to the error index out of bounds.
1 4 7 10 9
9 10 7 4 1
10
60
The first element in the list is counted twice, resulting in an incorrect total. What type of error occurred?
Logical error
Syntax error
No error. The program works as intended
Runtime error
61
Which of the following, represented in binary as a byte, contains the most zeros?
.
K
p
C
62
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x > 10
x < 6
x >= 6
x >= 9
63
Which of the following is a negative trade-off inherent in lossless compression?
The number and size of pixels will be less.
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 file can be difficult to email and can take up lots of memory storage.
64
Which of the following statements is
NOT
correct?
Logic gates are used to perform operations such as addition and subtraction
Binary data is processed by physical layers of computing hardware.
Hardware is the lowest level of abstraction.
Logic gates are modeled by Boolean functions.
65
Which algorithm calculates average correctly?
Algorithm B calculates average in all cases, while Algorithm A does not.
Both work, but Algorithm A is more efficient.
Neither algorithms work.
Algorithm A calculates average in all cases, while Algorithm B does not.
66
What would be a good use of constants when initializing variables at the beginning of a program?
I, II, and III
I and III only
II and III only
I and II only
67
What is the minimum number of lines that must be cut to isolate F completely?
6
0
8
4
68
Which of the following is
NOT
metadata?
The geographic location where the picture was taken
The filename
The Red, Green, and Blue values of the top left pixel
The date the photo was taken
69
Which of the following must be true about the code that the student government president writes?
Both selection and looping are necessary.
Looping is necessary, but selection is not.
Neither selection nor looping are necessary.
Selection is necessary, but looping is not.
70
What will the above program display?
3 8 0
4 8 8
Nothing due to an infinite loop
2 8 14
71
Approximately how long will the download take if Maddie's video is 400 megabytes in size?
175 seconds
1.75 seconds
571 seconds
57.1 seconds
72
A web browser uses IPv4 and pages a request for a website's address. Which could
NOT
be a potential response?
128.198.232.65
92.11.198.113
174.260.45.144
54.116.188.246
73
Put the steps of the algorithm in order. Select
two
answers.
5, 1, 2, 4, 6, 3
5, 1, 6, 3, 2, 4
1, 5, 6, 3, 4, 2
1, 5, 3, 6, 2, 4
74
What is the minimum number of searches for a binary search using an ordered list of 100 numbers?
0
1
8
100
75
When sending a picture from to your friend using a mobile app, what is true about the packets sent?
All of the above.
Packets are received in the order that they are sent.
Packets are sent by the quickest path possible in the correct order.
Packets are sent in multiple paths and can be received out of order.
76
Which of the following types of components is necessary for cybersecurity?
I and II only
I only
I, II, and III
III only
77
Project findings are typically presented using a graph instead of a table or raw data. Why might this be?
(2 answers)
Graphs are easier to read and interpret at a glance.
Graphs can be easily placed into a slideshow or document, but tables can't.
Graphs are able to show all of the detail necessary to understand data.
Graphs can show trends that might not be easily seen with raw data.
78
What could have been the reason for the failure below?
The simulation worked as intended.
The simulation had considered all variables.
The simulation worked as intended.
The simulation didn't consider that humans might prefer from humans.
79
What is the code segment displaying?
68
34
0
17
80
Which of the following is
NOT
an investigation tool for designing programs?
Collecting data through surveys
Programming the most elegant code
Direct observations.
User testing
81
What will the following algorithm display after running the code below?
2
1
4
3
82
Which of the following does NOT need to be considered when determining the credibility of a source?
Use of persuasive techniques within the source
Sponsorship of the article or publisher
Author’s reputation and credentials
Publisher’s reputation and credentials
83
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
84
Which of the following test cases will NOT find the maximum number in the list?
list1[4]
list1[−23, −67, −3, −7]
list1[0, 0, 0, 0]
list1[23, 67, 3]
85
Which of the following best approximates the minimum possible time to run all five processes in parallel?
9 seconds
11 seconds
15 seconds
13 seconds
86
When should a heuristic algorithm be used?
When guessing which files are affected by a virus before really checking.
When finding the best way to drive from Houston to San Antonio
When finding the lifetime batting average of Mookie Wilson
When calculating the average score for the national SAT test
87
What can replace so the algorithm works as intended?
temp <- b
b <- a
b <- temp
temp <- a
88
What is the speedup for the parallel solution?
1,000
1
10
100
89
What is displayed as a result of executing the code segment?
Dog Cat Fish
Dog Cat Fish Golden Bandicoot
Golden Bandicoot Cat Fish
Dog Golden Bandicoot Cat Fish
90
Which of the following is NOT metadata for the picture?
The picture of the dog
The memory space taken up by the picture
The location where the picture was taken
The time the picture was taken
91
What will be the values of x and y after this code segment executes?
x is 40, y is 40
x is 30, y is 40
x is 20, y is 20
x is 40, y is 30
92
Colors can be represented by values from 0 to 255. What is the minimum number of bits needed to store a single pixel?
8
24
512
256
93
What is a benefit of using a simulation?
A simulation can account for everything affecting supply and demand.
A simulation is more cheaper and efficient to make than a real experiment.
Simulations have as much of an effect as an actual experiment.
Simulations can be only run once, proving that it's close to reality.
94
What type of algorithm would be best used for fraud detection?
Brute force algorithm
Heuristic algorithm
Optimization algorithm
Searching algorithm
95
Which of the following is least likely to receive targeted advertisements?
Individuals using the web browser without the Do Not Track option
Individuals using the web browser with the Do Not Track setting engaged
Users who visit websites with digital certificates that block targeted ads.
Users with strong passwords and multifactor authentication
96
Based on their backgrounds, what is the most likely method the students can use to raise funding for their venture?
Create a bulk email campaign that asks students for support in an email.
Apply for a small business loan through an online bank.
Design and create a website in hopes a venture capitalist will come to them
Utilize a crowdsourcing website to raise the needed capital.
97
Which of the following events is most likely to take place among the DNS servers?
The .org name server will send the IP address of widgets.cs.fbhs.org
The .org name server will send the IP address of the fbhs.org name server.
The .org name server will send the IP address of widgets.cs.fbhs.org
The widgets name server will send the IP address of the widgets.cs server.
98
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.”
99
Which of the choices below properly identify these concepts?
Lexicographic and Asymmetric
Asymmetric and Symmetric
Hash Codes and Key Transfers
Symmetric and Steganography
100
What type of error could this procedure suffer from?
Syntax error
Logical error
No error; the program works as intended.
Runtime error
101
Which of the following is a cause of the digital divide?
All of the above
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