stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Sembhi, Avneet Summative Test Project Flashcards | StudBud
Explore
/
Sembhi, Avneet Summative Test Project
Sembhi, Avneet 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
Answer the question below
Antler size
Food supply
Prevalence of illness in herd
Population size
2
Colors can be represented by decimal values from 0 to 255
24
8
256
512
3
What is displayed by running the code segment?
3 3 6
8 4 6
11 3 8
3 11 3
4
What does the algorithm display?
4
7
5
3
5
What is the code below displaying?
Nothing will be displayed
2, 4, 6, 8, 10, 12, 14
3, 6, 9, 12, 15
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
6
Which of the following statements is NOT correct:
Logic gates are modeled by Boolean functions.
Hardware is the lowest level of abstraction.
Binary data is processed by physical layers of computing hardware.
Logic gates are used to perform operations such as addition and subtraction
7
A mobile application is used to display local traffic conditions. Which of the following features show crowdsourcing
Users can use the application to avoid heavily congested areas.
Users can submit updates on local traffic conditions in real time.
Users can save an address to be used at a later time.
Users can turn on alerts to be notified about traffic accidents.
8
Which of the following is the MOST likely data privacy concern of the upgraded game?
The player’s score
Recording whether the player was speeding when driving to a location.
How much time a person spent playing the game
How many locations the player visited
9
Answer the following question below using the photograph
10 8 7 5 4 2 1
9 6 3
9 6 3 0
10 8 7 5 4 2 1 0
10
We can convert a number from decimal to octal (base 8) by repeatedly subtracting the largest possible powers of what?
8
2
9
7
11
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
Collecting recordings using ultrasonic microphones, sonograms of bats
The behavior of the mysterious and wonderful jellyfish on the beach or wate
12
Which of the following will correctly replace /*missing code */ ?
NOT CAN_MOVE(forward)
NOT CAN_M0VE (right)
CAN_MOVE(right) OR NOT CAN_MOVE(forward)
CAN_MOVE (right)
13
What will y display?
16
0
15
20
14
What percentage of the time will the program display an even number?
20%
10
40%
50%
15
Which of the following best approximates the minimum possible time to run all five processes?
7 seconds
8 seconds
18 seconds
10 seconds
16
What will the following code segment display?
3
11
6
Nothing will be displayed due to an error
17
Her current connection speed is 700 kilobytes per second. How long will the download take if her video is 400 megabytes
175 seconds
571 seconds
57.1 seconds
1.75 seconds
18
What is the speedup for the parallel solution?
100
1
1000
10
19
If a does not equal b, what error has occurred?
a will equal b on all computers
Overflow error
Roundoff error
Hexadecimal conversion error
20
What will the program above display?
2 7
4 8
3 7
2 8
21
What will the executed code display?
All odd numbers between 1 and 12
All even numbers between 3 and 12
All even numbers between 1 and 12
22
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x > 10
x >= 9
x >= 6
x < 6
23
Debug the above code segment. Which of the following statements is true?
The code does not run as intended. The robot won't reach the end of the maz
The code runs as intended. The robot will reach the end of the maze.
The code runs as intended. The code runs without error.
The code may or may not run as intended. Its purpose is not stated.
24
What is the appropriate name for the procedure?
SPIN()
IS_TRAPPED()
CAN_ESCAPE()
ESCAPE()
25
What is the following program returning?
37
27
25
20
26
What would be a good use of constants when initializing variables at the beginning of a program?
I and II only
I, II, and III
I and III only
II and III only
27
What is the value of sum displayed after this algorithm is run?
6
4
Error
0
28
What will the above program display?
2 8 14
3 8 0
4 8 8
Nothing due to an infinite loop
29
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.”
30
Which data is not provided directly by the user, or their device, but is necessary for the upgraded game to operate
Location of landmarks used in the game.
GPS location of user
User name
Speed traveling
31
What is displayed because of executing the code segment?
1 3 5 7 9
9
1 5 7
3 9
32
What should replace <missing condition> so that the program below display TRUE 10% of the time?
x < 9
x< 1
x <= 1
x <= 9
33
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
1000
2000
11
1
34
Which of the following protocol standardization is NOT a function of the IETF (Internet Engineering Task Force)?
Simple Mail Transfer Protocol
Internet Protocol
Hypertext Transfer Protocol
JavaScript Coding Protocol
35
The procedure is meant to find the average number. The procedure does not work. Which will return the correct average.
numbers[0, 1, 35, 6]
numbers[11, 35, 6]
numbers[1, 1, 35, 6]
numbers[3, 5, 11, 6]
36
Based on their backgrounds, what is the most likely method the students can use to raise funding for their venture?
Ticket type—whether they have a single-day pass, a multiday or annual pass
Walking preference-denotes how far they are willing to walk in between ride
Food preference—the type of food that they prefer to eat (chicken, burgers,
Ride preference—denotes whether prefers roller coasters, other thrill rides
37
What type of algorithm would be best used for fraud detection?
Optimization algorithm
Searching algorithm
Brute force algorithm
Heuristic algorithm
38
The findings from a project are typically presented using a graph as opposed to raw data. Why? Select two answers.
Graphs can be easily placed into a slideshow, while tables cannot
Graphs are easier to read and interpret at a glance.
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.
39
Consider the following code segment, which uses the variables x, y, and z. What will the following program display?
12 12 12
12 24 24
6 12 24
24 24 24
40
Which of the following lists is NOT a candidate for a binary search?
A list of words from a poem about sunshine in order they appear in the poem
A list of numbers from smallest to largest
A list of words in a dictionary
A list of students in order of height
41
Which of the following can be represented by a single binary digit?
Time
Date
Light on / light off
Geographic location
42
What will be the output of the following program?
14 6
9 5 7
14
7 5 9
43
What should replace
<missing code>
in the following algorithm?
IF(number = randomNumber)
IF(number ≠ randomNumber)
IF(number = true AND randomNumber = drawing)
IF(number = true OR randomNumber = true)
44
Which of the following is true about data compression?
Lossy compression cannot be used when sending pictures.
Lossless data compression is the best compression under all conditions.
Data compression used to reduce the size of a file storage, transmission.
Data compression can be used for pictures and video only.
45
Which of the following input data is needed by the upgraded game that was NOT needed by the original game?
GPS location
Event sensing; an event would be the user pushing a button or screen
Picture of the player
Age of the player
46
What is displayed as a result of executing the following code segment?
Moose Benji Novack Waffle Noodles
Waffle Moose Noodles Novack Benji
Dog Waffle Moose Noodles Novack Benji
Dog Waffle Noodles Moose Novack Benji
47
The robot which is initially facing right. Which code can replace to have the robot end up in the gray square two answer
REPEAT 4 TIMES
REPEAT UNTIL x = 4
REPEAT UNTIL (Goal_Reached)
FOR EACH item IN list
48
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
49
Which of the following is NOT metadata for the picture?
The location where the picture was taken
The time the picture was taken
The picture of the dog
The memory space taken up by the picture
50
What will the following code segment display?
30
22
1
10
51
Which of the following must be true about the code that she writes?
Looping is necessary, but selection is not.
Both selection and looping are necessary.
Neither selection nor looping are necessary.
Selection is necessary, but looping is not.
52
Which of the following is a negative trade-off inherent in lossless compression?
The file can be difficult to email and take up lots of memory storage.
The number and size of pixels will be less.
The image quality will be less and will result in a blurry image.
Some of the data will be lost and cannot be recovered.
53
The algorithms shown below, Algorithm A and Algorithm B, meant calculate average. Which algorithm calculates correctly
Algorithm B calculates average in all cases, while Algorithm A does not.
Algorithm A calculates average in all cases, while Algorithm B does not.
Neither Algorithm A nor Algorithm B calculates average correctly.
Both Algorithms calculate average correctly but A more efficient.
54
The procedure isFound(list, item) will return TRUE if an item is found in list What will the following procedure display
[1, 6, −4]
[ ]
[4, 6, −4]
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
55
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
56
These drawings depict two fundamental cryptographic concepts Which of the choices below properly identify these concepts
Lexicographic and Asymmetric
Hash Codes and Key Transfers
Asymmetric and Symmetric
Symmetric and Steganography
57
What percentage of the time will the following program display a number?
75%
25%
20%
10%
58
Which of the following illustrate ways that the internet facilitates collaboration
II and III only
I, II, and III
I only
I and III only
59
Which of the following is NOT an investigation tool for designing programs?
Direct observations.
Collecting data through surveys
Programming the most elegant code
User testing
60
Noah has just purchased a new laptop and a new wireless router for his apartment.
I only
II, III, and IV
II and IV
I, II, III, and IV
61
What type of error did the procedure below suffer from?
Syntax error
Logical error
No error. The program works as intended.
Runtime error
62
Find the error in the following low-level programming code.
This is too difficult. To determine errors
The 34th 0 should be a 1.
The 17th 1 needs to be changed to a 0.
The 84th digit should be a 1.
63
Which of the following is NOT metadata?
The Red, Green, and Blue values of the top left pixel
The date the photo was taken
The filename
The geographic location where the picture was taken
64
If the red value is greater than 255, it saves the red value as 255. What type of transformation is the software using?
Lossy transformation
Lossless transformation
Addition transformation
Frequency transformation
65
What is the code segment displaying?
17
0
34
68
66
Which error is specifically related to the misuse of variable names and case sensitivity?
Logic error
Overflow Error
Runtime Error
Syntax Error
67
A web browser contacts a server using IPv4 and pages a request for a website’s address. Which would NOT be a response
128.198.232.65
54.116.188.246
92.11.198.113
174.260.45.144
68
What is displayed as a result if the user inputs “Karel” to the program?
What is your name? ]Hello Karel
What is your name? Hello Karel
HelloKarel
What is your name?
69
What will the following algorithm display after running the code below?
1
4
2
3
70
What is the minimum number of lines that must be cut to isolate F completely?
4
0
8
6
71
What will be the result of the displayed program?
6 14
9 5 7
14 6
7 5 9
72
Which of the following best approximates the minimum possible time to run all three processes in series/
4 seconds
9 seconds
28 seconds
15 seconds
73
Sort the following by levels of abstraction, from lowest to highest:
I, III, IV, II
I, II, III, IV
I, IV, II, III
I, IV, III, II
74
The procedure below is intended to display the sum of all numbers in the list. There is an error what kind of error?
No error; the program works as intended
Syntax error
Runtime error
Logical error
75
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
76
In the following flowchart, what is the value of RESULT?
True when both A and B are true
Always false
Always true
True when either A or B are true
77
What will the following code segment display?
3
Nothing will be displayed due to an error.
6
11
78
Which of the following statements are true about high-level programming languages? Select two answers.
A high-level programming language often uses natural language elements.
A high-level programming language must be used to execute commands
A high-level programming language allows for code to be re-used.
A high-level programming language does not ensure program reliability.
79
Answer the following question below using the photograph
I , II , and III
II and III
II only
I only
80
Why does program code have to be 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.
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.
81
Which best describes the role of TCP?
Setting the rules for a numerical label assigned to each device
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
82
Using the partial hierarchy shown above, which of the following commands would properly import ThreadLocalRandom?
import java.util.function.ThreadLocalRandom
import java.util.concurrent.ThreadLocalRandom
import java.ThreadLocalRandom
import ThreadLocalRandom.concurrent.util.java
83
What will the following program display?
The program is an infinite loop.
OOOXX
OXXOXXOXX
OXXOO
84
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.
Players are becoming more cultured by visiting artworks.
People are not watching where they are walking and are getting injured.
85
The Caesar cipher is an example of what type of encryption?
Public key encryption
Symmetric encryption
Home key encryption
No key encryption
86
Which of the following is a true statement about data transmitted over the internet?
Packets are received in the same order that they are sent.
Domain name system has been challenged by Digital Millennium Copyright Act
All data traveling over the internet is in binary.
Redundancy of the internet is overseen by companies that set the standards
87
Which of the following types of components is necessary for cybersecurity?
III only
I, II, and III
I only
I and II only
88
In this system, what would be the binary representation of the word dog?
00000100 00001001 00000111
00000100 00001111 00000111
00000010 00001111 00000111
00000111 00001111 00000100
89
The code below is meant to swap the variables a and b using a temporary variable. What can replace so algorithm works
temp to b
a to temp
b to temp
a to b
90
What is displayed as a result of executing the code segment?
Dog Golden Bandicoot Cat Fish
Dog Cat Fish Golden Bandicoot
Dog Cat Fish
Golden Bandicoot Cat Fish
91
Which of the following potential benefits is MOST likely to be provided by the upgraded system?
Increasing the speed in ordering pizza because the page has the users credi
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
92
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
93
What are two aspects of efficiency?
memory usage and length of code
wall clock time and CPU time
execution time and length of code
execution time and memory usage
94
Answer the following question below using the photograph
Social Engineering
Phishing
Denial of Service
Spearing
95
What is displayed after running the algorithm below?
43
145
12
133
96
Select 2 answers
Mustang -car
Mustang NOT car
Site: Mustang
"Mustang, not the car"
97
Which of the following best describes the type of site that Ripley is using?
Webopedia
Newsgroup
RSS Feed
Wiki
98
What will the following code segment display?
Nothing will be displayed due to the error index out of bounds.
9 10 7 4 1
10
1 4 7 10 9
99
The following procedure which is meant to multiply a number by itself three times. What is returned by cube(cube(2))
128
512
64
8
100
If CSList contains the following data [’c’, ’o', ’m’, ’p’, ’u', ’t', ’e’, 'r'] what will be displayed by mystery(CSList)
cmptr cmptr cmptr
computer computer computer
computer computer computer computer computer
cmptr cmptr cmptr cmptr cmptr