stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Anil Ayan Summative Test Project Flashcards | StudBud
Explore
/
Anil Ayan Summative Test Project
Anil Ayan 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
The procedure will return TRUE if an item is found in a list. What will the following procedure display?
[4, 6, −4]
[1, 6, −4]
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
[ ]
2
Which of the following is not an investigation tool for designing programs?
Programming the most elegant code
User testing
Direct observations.
Collecting data through surveys
3
The findings from a project are typically presented using a graph as opposed to table or raw data. Why might this be?
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.
4
Find the error in the following low-level programming code.
The 17th 1 needs to be changed to a 0.
The 84th digit should be a 1.
This is too hard, It will be easier to use a higher level program language.
The 34th 0 should be a 1
5
An algorithm has N number of steps. Which of the following would be considered a reasonable number of steps?
100n4
4n+8n2
n!
3n
6
What is displayed as a result of executing the following code segment?
Moose Benji Novack Waffle Noodles
Dog Waffle Noodles Moose Novack Benji
Waffle Moose Noodles Novack Benji
Dog Waffle Moose Noodles Novack Benji
7
What will the following code segment display?
1 4 7 10 9
9 10 7 4 1
Nothing will be displayed due to the error index out of bounds.
10
8
The code shown is intended to show the sum of a list, But the first item is counted twice. What kind of error is this?
Runtime error
No error. The program works as intended.
Logical error
Syntax error
9
Which of the following can be represented by a single binary digit?
Light on / light off
Time
Geographic location
Date
10
What type of algorithm would be best used for fraud detection?
Searching algorithm
Brute force algorithm
Heuristic algorithm
Optimization algorithm
11
Which of the following test cases will return the correct average using the above procedure
numbers[3, 5, 11, 6]
numbers[1, 1, 35, 6]
numbers[0, 1, 35, 6]
numbers[11, 35, 6]
12
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x >= 6
x > 10
x < 6
x >= 9
13
Which of the following does NOT need to be considered when determining the credibility of a source?
Author’s reputation and credentials
Use of persuasive techniques within the source
Sponsorship of the article or publisher
Publisher’s reputation and credentials
14
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
100
1000
11
2,000
15
What is the minimum number of lines that must be cut to isolate F completely?
All of them
6
5
4
16
Which of the following considerations is likely to affect the ability of a 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 much memory the program requires to run
How many program statements the program contains
17
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)
a OR b
NOT (a AND b)
18
Read the image.
00000100 00001001 00000111
00000100 00001111 00000111
00000010 00001111 00000111
00000111 00001111 00000100
19
What is the purpose of a digital certificate in secured communications?
A digital certificate ensures that the website’s was made by a professional
A digital certificate ensures the website has been checked by a third party
20
What is the code below displaying?
3, 6, 9, 12, 15
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
2, 4, 6, 8, 10, 12, 14
Nothing will be displayed
21
A web browser contacts a server using IPv4 and requests their address. Which of the following is not a possible response
92.11.198.113
54.116.188.246
174.260.45.144
128.198.232.65
22
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
23
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
24
Why is it more effective to put procedures in a program than to repeat code?
Procedures simplify editing by requiring only one edit to the abstraction.
Procedures are guaranteed to work in every instance they are used.
Procedures make a program harder to edit because every extraction is saved.
25
What will the program segment display?
2
34
99
3
26
What percentage of the time will the following program display a number?
75%
10%
25%
20%
27
The Caesar cipher is a substitution cipher that shifts letters by three. The Caesar cipher is what type of encryption?
Public key encryption
Symmetric encryption
Home key encryption
No key encryption
28
What is the minimum number of binary digits needed to store the number 56?
1
6
3
5
29
What will the above program display?
Nothing due to an infinite loop
2 8 14
3 8 0
4 8 8
30
When sending a picture to your friend using a mobile application, what is true about the packets of information 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.
All of the above.
Packets are received in the order that they are sent.
31
What should replace <missing code> in order to make the program return True when the first element is equal to the last.
( list1[0] = list1[1] )
( list1 = list1 )
( list1[1] = list1[LENGTH(list1)] )
( list1[0] = list1[LENGTH(list1) – 1] )
32
Which of the following is a negative trade-off inherent in lossless compression?
The number and size of pixels will be less.
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.
Some of the data will be lost and cannot be recovered.
33
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 devices and sonograms of bats.
Calculating PSAT scores for a school district
The behavior of the mysterious and wonderful jellyfish on the beach.
34
Which of the following data is not provided directly by the user's device, but is necessary for the game to operate.
Speed traveling
Location of landmarks used in the game.
GPS location of user
User name
35
Which of the following is a cause of the digital divide?
Lack of access to technology due to location
Lack of knowledge on how to use technology
Lack of access to the technology due to affordability
All of the above
36
What is the following program returning?
25
20
27
37
37
What is displayed after running the algorithm below?
12
43
145
133
38
What will be the result of the displayed program?
6 14
14 6
7 5 9
9 5 7
39
What is the code segment displaying?
17
34
0
68
40
How many lines need to be cut to completely isolate computer E from computer C?
3
8
6
0
41
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
42
Which of the following is not metadata for this picture?
The Red, Green, and Blue values of the top left pixel
The filename
The date the photo was taken
The geographic location where the picture was taken
43
What does the following algorithm display?
When B is false, the algorithm displays “False.”
It always displays “False.”
It always displays “True.”
When A is false, the algorithm displays “False.”
44
What will the following algorithm display after running the code below?
4
3
2
1
45
If you have one processor, which of the following shows the fastest possible time to run all three processes in series?
8 seconds
38 seconds
20 seconds
10 seconds
46
Why does program code have to be run through a compiler?
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.
Program code must be translated into a language the computer understands.
It doesn’t, as the new program could be run directly from the code.
47
What will y display?
0
15
20
16
48
What should replace so the program below displays TRUE 60% of the time?
x MOD 2 = 0
x MOD 2 = 1
x MOD 5 = 0
x MOD 5 = 5
49
What percentage of the time will the following program display a number?
10%
20%
25%
75%
50
Which of the following illustrate ways that the internet facilitates collaboration?
II and III only
I only
I and III only
I, II, and III
51
Which of the following lists is
NOT
a candidate for a binary search?
A list of words from a poem about sunshine in the same order as in the poem
A list of words in a dictionary
A list of students in order of height
A list of numbers from smallest to largest
52
Why are internet protocols used?
Internet protocols make the internet scalable and encourage growth.
Internet protocols are needed to slow the growth of the internet.
Internet protocols are specific to the hardware attached to the internet.
53
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
54
Why do computing innovations tend to lead to legal concerns?
Laws about the internet have been passed, but new innovations stop this.
There is no way to hide your IP address online, so laws are easily enforced
Laws involved in these concerns were often created before computers.
Lawyers are unfamiliar with the laws governing computing innovations.
55
A computer has two parallel processors. If processes 4 and 5 are run in a series, how fast can all the processes be run.
18 seconds
8 seconds
10 seconds
7 seconds
56
What will be the output of the following program?
9 5 7
14 6
14
7 5 9
57
What will the following code segment display?
10
30
22
1
58
Why does updating a file require more memory than reading a file?
A read file needs only some parts loaded but an update needs the whole file
A read file requires no memory, so updating will always take more memory.
A read file requires the old file, but a update needs the new and old files
A read file uses only the hard disk, while an updating file also uses RAM.
59
Two algorithms are shown that both calculate average, which works correctly?
Algorithm A calculates average in all cases, while B does not.
They both calculate average correctly, but Algorithm A more efficient.
Neither Algorithm A nor Algorithm B calculates average correctly.
Algorithm B calculates average in all cases, while Algorithm A does not.
60
An economist wants to understand how changes in supply and demand effect inflation. What is a benefit of a simulation.
It only happens once making it more accurate.
Simulations have as much of an effect on the real world as an actual event.
A simulation would be able to account for every variable
A simulation would be cheaper and easier to make.
61
Which best describes the role of TCP?
The foundation of data communication for the World Wide Web
Setting the rules for numerical labels assigned to each device.
common protocol for encrypting and decrypting data transfer on the internet
The set of rules for the path packets taken on the fault-tolerant internet
62
What will the executed code display?
All odd numbers between 3 and 12
All even numbers between 3 and 12
All odd numbers between 1 and 12
All even numbers between 1 and 12
63
Which of the following is considered a potential effect of the mobile game rather than the purpose of the game?
Players play the game in their spare time.
People are exercising.
People are not watching where they are walking and are getting injured.
Players are becoming more cultured by visiting artworks.
64
Which of the following types of components is necessary for cybersecurity?
I and II only
III only
I only
I, II, and III
65
What will the following program display?
The program is an infinite loop.
OXXOO
OXXOXXOXX
OOOXX
66
Which of the following is NOT metadata for the picture?
The memory space taken up by the picture
The picture of the dog
The location where the picture was taken
The time the picture was taken
67
What will the following code segment display?
Nothing will be displayed due to an error.
11
3
6
68
If a pixels color is stored using 3 decimal values what's the minimum amount of bits needed?
3
24
256
8
69
The code segment is intended to swap a and b using a temp variable. Which should replace missing code so the code works?
temp ---> b
Temp <--- a
b <-- temp
b <--- a
70
If you have two parallel processors and 4 and 5 are a series, how long will it take to run all processes.
15
13
9
11
71
What does the algorithm display?
4
7
3
5
72
What is displayed when executing the following code segment?
1 3 5 7 9
3 9
9
1 5 7
73
Researchers have developed a simulation of packets traveling between computers in a network. Which is a likely result?
Better understanding of how a failed router can affect the flow of packets
Understanding of how access to the Internet affects developing countries
Better understanding of how defend against phishing attacks
Better understanding of how binary is used to represent data in packets
74
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 uses more computer resources, to gurante accuracy.
An efficient solution can always be solved in a reasonable amount of time.
An efficient solution makes it harder to copy an algorithm.
75
What is a major disadvantage of the internet’s model of trust?
A trusted website can have a large amount of power over a computer.
A trusted website cannot have encrypted communications.
A trusted website can still download malicious code even if it is blocked.
A trusted website has power over the computer’s ROM.
76
Which of the following can be answered by a single binary number?
how old is your puppy?
Is your puppy named “Waffles”?
What is the speed of a puppy chasing a squirrel?
What is the position of an object in a grid of squares.
77
Which of the following input data is needed by the upgraded game that was
NOT
needed by the original game?
Event sensing; an event would be the user pushing a button or screen
GPS location
Picture of the player
Age of the player
78
Which of the following potential benefits is
MOST
likely to be provided by the upgraded system?
Limiting the information about the sites and stores that the user visits
Offering products and services that are more relevant to the user
Weather websites customizing site information based on the user’s location.
Increasing online delivery speed because they will remember your address.
79
Read Image
1000
10
1
100
80
What is the minimum number of searches for a binary search using an ordered list of 100 numbers?
1
8
0
100
81
Which of the following test cases will NOT find the maximum number in the list?
list1[4]
list1[23, 67, 3]
list1[−23, −67, −3, −7]
list1[0, 0, 0, 0]
82
What should replace <missing condition> so that the program below display TRUE 10% of the time?
x <= 1
x < 1
x <= 9
x < 9
83
A theme park wants to create a simulation to determine a ride's wait time. What factors should be considered?
Peoples prefered food type.
What type of ticket people have.
How far people are willing to walk.
84
What command can replace <Missing condition> to get the results shown in the fourth column of the table?
NOT b
NOT(a OR a)
NOT(a AND b)
a OR b
85
An algorithm compares a user-inputted number to a random number. What should replace
<missing code>
in the algorithm?
IF(number ≠ randomNumber)
IF(number = randomNumber)
IF(number = true OR randomNumber = true)
IF(number = true AND randomNumber = drawing)
86
IPv6 is intended to eventually replace IPv4
False
True
87
Which of the following is least likely to receive targeted advertisements?
Users with strong passwords and multifactor authentication
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 only websites that block targeted advertisements
88
Does the following image prove that if privacy laws are ignored. data can be easily exploited by commercial groups.
True
False
89
What will the following code segment display?
11
6
3
Nothing will be displayed due to an error.
90
What would be a good use of constants when initializing variables at the beginning of a program?
I and II only
II and III only
I, II, and III
I and III only
91
During a disease out break people are required to schedule online appointments. What is a possible effect of this?
Digital appointments will make people in cities less likely to get tested.
People without internet can't make appointments and will spread the disease
Digital appointments will ensure even distribution of tests for all people.
The digital appointments will allow for more testing.
92
Why is cryptography essential to cybersecurity?
Cryptography secures internet communications by preventing hijacking
Cryptography secures internet privacy by ensuring that files can't be read
Cryptography does not allow data on a server to be edited by anyone
Cryptography is used to stop public files on a server from being edited.
93
Suppose that the programmer wants to access the class ThreadLocalRandom. Using hierarchy bellow find the correct path.
import java.util.function.ThreadLocalRandom
import java.util.concurrent.ThreadLocalRandom
import java.ThreadLocalRandom
import ThreadLocalRandom.concurrent.util.java
94
Which of the following is true about redundancy on the internet?
I only
II and III only
I and II only
I, II, and III
95
What role does a compiler have in processing a high-level language?
The compiler checks for updates and installs programs onto the computer.
The computer cant understand high-level languages. So a compiler translates
The compiler speeds up the run time of a program.
The compiler ensures that the program has no runtime errors.
96
What is the value of sum displayed after this algorithm is run?
6
4
Error
0
97
When should a heuristic algorithm be used?
When finding the quickest way to drive from Orlando, Florida, to Alaska
When calculating the average score for the national SAT test
When finding the lifetime batting average of Mookie Wilson
98
A computer has one processing unit. How much time will it take to run the following non-dependant programs?
9 seconds
28 seconds
4 seconds
15 seconds
99
What is displayed by running the code segment?
11 3 8
3 3 6
8 4 6
3 11 3
100
A company collaborates with scientists by testing simulations. Which of the following is a potential outcome of this?
All of the above
If scientists need information to for a hypothesis a simulation can be used
If a simulation keeps giving an abnormal result, this could be used further
If a concept is too expensive a simulation can be used.