stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Kuo, Mason Summative Test Project Flashcards | StudBud
Explore
/
Kuo, Mason Summative Test Project
Kuo, Mason 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
What will ensure nobody else sees Noah's network?
II and IV
I only
II, III, and IV
I, II, III, and IV
2
Data compression can be used to reduce the size of a file for storage or transmission.
Sponsorship of the article or publisher
Sponsorship of the article or publisher - no response given
Publisher’s reputation and credentials
Use of persuasive techniques within the source
3
Based on their backgrounds, what is the most likely method the students can use to raise funding for their venture?
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.
4
Using the partial hierarchy shown above, which of the following commands would properly import ThreadLocalRandom?
import java.ThreadLocalRandom
import ThreadLocalRandom.concurrent.util.java
import java.util.concurrent.ThreadLocalRandom
import java.util.function.ThreadLocalRandom
5
What is the code segment displaying?
69
0
17
34
6
What does the following algorithm display?
It always displays “True.”
It always displays “False.”
When B is false, the algorithm displays “False.”
7
What should replace
<missing code>
in the following algorithm?
IF(number = true OR randomNumber = true)
IF(number = true AND randomNumber = drawing)
IF(number ≠ randomNumber)
IF(number = randomNumber)
8
Which of these values can be stored in a single bit?
10
1
[1,0]
4
9
What type of error did the procedure below suffer from?
Logical errorLogical error - correctSyntax error
No error. The program works as intended.
Logical error
10
.
Sorting data
Deleting entries from data
Backing up data
11
What would be a good use of constants when initializing variables at the beginning of a program?
II and III only
I and II only
I and III only
I, II, and III
12
Which of the following initial values for x, y, and z can be used to show that the code segment doesn't work as intended
x = 2, y = 3, z = 1
x = 1, y = 3, z = 2
x = 1, y = 2, z = 3
13
Why does program code have to be run through a compiler?
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.
Program code must be translated into a language the computer understands.
Program code must be debugged by the compiler before it can ever run.
14
Consider the following code segment, which uses the variables a, b, and c.
8 4 6
3 11 3
3 3 6
11 3 8
15
Which of the following best approximates the minimum possible time to run all three processes in series?
4 seconds - no response given
15 seconds
4 seconds
28 seconds
16
What will the above program display?
Nothing due to an infinite loop
2 8 14
3 8 0
17
Which of the following is NOT an example of using citizen science as a possible solution?
The behavior of the mysterious jellyfish on the beach or water
Calculating PSAT scores for a school district
The behavior of fireflies during the summer months
Collecting recordings using ultrasonic microphones and sonograms of bats
18
For which of the following goals would it be more useful to analyze the data instead of the metadata?
To determine the topics that many users are posting about
To determine the time of day that the site is most active
To determine the users who post messages most frequently
19
These drawings depict two fundamental cryptographic conceptsWhich of the choices below properly identify these concepts?
Asymmetric and Symmetric
Hash Codes and Key Transfers
Symmetric and Steganography
20
In the following flowchart, what is the value of RESULT?
True when both A and B are true
Always true
Always false
True when either A or B are true
21
What type of error did the procedure suffer from?
Syntax error
Logical error
Runtime error
No error; the program works as intended
22
Which of the following best approximates the minimum possible time to run all five proceses
(4 & 5 must be run in series)
10 seconds
7 seconds
8 seconds
18 seconds
23
What is the following program returning?
37
27
20
25
24
Sort the following by levels of abstraction, from lowest to highest:
I, II, III, IV
I, IV, II, III
I, IV, III, II
I, III, IV, II
25
What will y display?
16
20
15
0
26
Which of the following is
NOT
metadata?
The Red, Green, and Blue values of the top left pixel
The filename
The geographic location where the picture was taken
The filenameThe filename - no response givenThe date the photo was taken
27
What will the following code segment display?
3
Nothing will be displayed due to an error
11
6
28
Select the answer that lists the units of bytes in ascending order (from smallest to largest)
kilobyte, gigabyte, terabyte
megabyte, terabyte, kilobyte
gigabyte, terabyte, megabyte
gigabyte, megabyte, terabyte
29
If the variables onTime and absent both have the value false, what is displayed as a result of running the code segment?
Is anyone there?
Is anyone there?
Better late than never.
30
What will the following code segment display?
6
Nothing will be displayed due to an error.
5
3
31
.
Wiki
Webopedia
Newsgroup
32
Which best describes the role of TCP?
The foundation of data communication for the World Wide Web
The set of rules for the path packets taken on the fault-tolerant internet
33
Which of the statements below are true.
II, III, and IV only
I only
All of the above
I, II, and IV only
34
Debug the above code segment. Which of the following statements is true?Responses
The code may or may not run as intended. The code’s purpose is not stated.
The code runs as intended. The robot will reach the end of the maze.
The code runs as intended. The code runs without error.
35
What will the executed code display?Responses
All even numbers between 1 and 12
All odd numbers between 1 and 12
All even numbers between 3 and 12
All odd numbers between 3 and 12
36
What is the minimum number of bits you would need to encode the 26 letters of the alphabet plus a space?
2
6
5
3
37
What type of error did the below procedure suffer from?
Syntax error
Logical error
No error. The program works as intended
38
8 bits is enough to represent 256 different numbers. How many total bits do you need to represent 512 numbers?
16
10
9
17
39
Which of the following school policies is most likely to have a positive impact on the digital divide?
A school lets students to bring a devicer to class every day to do grades
A school provides a device to all students enrolled at the school.
40
What is displayed as a result of executing the following code segment?
Dog Waffle Noodles Moose Novack Benji
Dog Waffle Moose Noodles Novack Benji
Waffle Moose Noodles Novack Benji
Moose Benji Novack Waffle Noodles
41
Which of the following could
NOT
be a potential response for IPv4?
92.11.198.113
54.116.188.246
128.198.232.65
174.260.45.144
42
What is the appropriate name for the procedure?
SPIN()
CAN_ESCAPE()
IS_TRAPPED()
43
What is displayed as a result of executing the code segment?
Golden Bandicoot Cat FishGolden Bandicoot Cat Fish - correct
Dog Golden Bandicoot Cat Fish
Dog Cat Fish
Dog Cat Fish Golden Bandicoot
44
What type of algorithm would be best used for fraud detection?
Heuristic algorithm
Searching algorithm
Optimization algorithm
Brute force algorithm
45
Which command can replace <Missing Condition> to result in the last column of the table shown below?
b AND (a AND b)
a AND (a AND b)
NOT (a AND b)
46
Which algorithm calculates average correctly?
Both Algorithm A and Algorithm calculate average 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.
47
What will be the result of the displayed program?
14 6
9 5 7
7 5 9
6 14
48
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x < 6
x >= 9
x < 6 - no response given
x > 10
49
Her current connection speed is 700 kilobytes per second. How long will the download take if her video is 400 megabytes
1.75 seconds
175 seconds
571 seconds
57.1 seconds
50
What will the following code segment display?
9 10 7 4 1
Nothing will be displayed due to the error index out of bounds.
1 4 7 10 9
10
51
If a does not equal b, what error has occurred?
a will equal b on all computers
Roundoff error
Hexadecimal conversion error
Overflow error
52
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 from a poem about sunshine in the order appear in the poem
A list of words in a dictionary
A list of numbers from smallest to largest
53
What will the following code segment display?
6
Nothing will be displayed due to an error.
11
54
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.
used to reduce the size of a file for storage or transmission.
55
What will the following algorithm display after running the code below?
5
3
1
2
56
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
11
1
1000
2000
57
Which of the following illustrate ways that the internet facilitates collaboration
I and III only
I, II, and III
II and III only
I only
58
Which of the following types of components is necessary for cybersecurity?
III only
I, II, and III
I only
I and II only
59
What will the following program display?
OOOXX
OXXOO
OXXOXXOXX
The program is an infinite loop.
60
If client wants data from Server Alpha, which below shows what will happen if ISP X, Host 3, and Host 11 are not working
Host 1 will compensate for the outage and route the data accordingly
The Client will not receive any data due to the outage
ISP Y will receive packets indicating a failure to Host 3 and go to working
61
Which of the following considerations is likely to affect the ability of the program to process large data sets?
How many program statements the program contains
How much memory the program requires to run
The amount of program documentation that should be minimized
The order of the data put into the data set
62
What is the minimum number of lines that must be cut to isolate F completely?
6
9
4
0
63
What percentage of the time will the program display an even number?
40%
50%
10%
20%
64
Which of the following Boolean expressions can be used in a selection statement to cause the elevator to move?
(onFloor1 AND callTo2) OR (onFloor2 AND callTo1)
(onFloor1 AND callTo2) AND (onFloor2 AND callTo1)
(onFloor1 OR callTo2) AND (onFloor2 OR callTo1)
65
.
I only
I , II , and III
II only
66
Your programmer friend told you that they just turned 11110 years old, in binary.
How old are they in decimal?
30
19
56
24
67
Consider the following code segment, which uses the variables x, y, and z. What will the following program display?
24 24 24
6 12 24
12 12 12
68
What is the minimum number of bits that can represent those 3 options?
6
3
2
4
69
Which of the following is most likely to be part of a phishing attack?
A computer program that overloads a Web server with requests for resources
A computer program that overloads a Web server with requests for resources
An e-mail request for personal information from a user
70
Which of the following statements is
NOT
correct:
Hardware is the lowest level of abstraction.
Binary data is processed by physical layers of computing hardware.
Logic gates are modeled by Boolean functions.
Logic gates are used to perform operations such as addition and subtraction
71
Which of the following will correctly replace /*missing code */ ?
CAN_MOVE (right)
CAN_MOVE(right) OR NOT CAN_MOVE(forward)
NOT CAN_M0VE (right)
NOT CAN_MOVE(forward)
72
Which of the following best describes the result of running the program code
The number 6 is displayed.
The number 0 is displayed.
Nothing is displayed; the program results in an infinite loop.
73
The procedure isFound(list, item)will return TRUE if an item is found in a list What will the folowing procedure display
[4, 6, −4]
[1, 6, −4]
[ ]
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
74
Which of the following characteristics for the virtual patrons would be most useful?
Select two answers.
Walking preference— how far a patron is willing to walk in between rides
Food preference—the type of food that a patron prefers to eat
Ticket type— what type of ticket the patron has
Ride preference—whether a patron prefers some rides over the other
75
Which of the following is NOT metadata for the picture?
The picture of the dog
The memory space taken up by the picture
The time the picture was taken
The location where the picture was taken
76
Choose one
v
Y
L
A
77
What will the program above display?
2 7
2 8
3 7
4 8
78
What should replace so the program below displays TRUE 60% of the time?
x MOD 2 = 1
x MOD 5 = 0
x MOD 2 = 0
x MOD 5 = 5
79
Which of the following statements are true about high-level programming languages?
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.
80
Which of the following protocol standardization is NOT a function of the IETF (Internet Engineering Task Force)?
Simple Mail Transfer Protocol
JavaScript Coding Protocol
Internet Protocol
81
What will be the output of the following program?
7 5 9
7 5 9 - no response given
14
14 6
82
What line of code can replace <missing code> so the algorithm will work as intended?
item = 13
list1 ≠ 13
item ≠ 13
list1 = 13
83
What is displayed after running the algorithm below?
145
43
133
84
What is displayed because of executing the code segment?
1 5 7
1 3 5 7 9
3 9
9
85
According to the domain name system (DNS), which of the following is a subdomain of the domain example.com?
example.co.uk
about.example.com
example.com.org
86
What should replace <missing condition> so that the program below display TRUE 10% of the time?
x <= 9
x <= 1
x < 9
87
.
Input A must be false.
Input A can be either true or false.
Input A must be true.
88
The robot is represented by a triangle. Which code can replace to have the robot end up in the gray square
REPEAT UNTIL x = 4
REPEAT UNTIL (Goal_Reached)
REPEAT 4 TIMES
FOR EACH item IN list
89
Which of the following can be represented by a single binary digit?
Date
Geographic location
Light on / light off
90
Which of the following lines of code would cause an error with a robot?
CAN_MOVE (north)
NOT CAN_MOVE (left)
CAN_MOVE (right)
91
Which of the following must be true about the code that she writes?
Both selection and looping are necessary.
Selection is necessary, but looping is not.
Neither selection nor looping are necessary.
92
What is the value of sum displayed after this algorithm is run?
6
0
4
Error
93
What is displayed as a result if the user inputs “Karel” to the program?
What is your name? Hello Karel
What is your name?HelloKarel
Hello Karel
94
What will be the values of x and y after this code segment executes?
x is 20, y is 20
x is 30, y is 40
x is 40, y is 40
95
Which of the following test cases will return the correct average using the below procedure
numbers[11, 35, 6]
numbers[3, 5, 11, 6]
numbers[0, 1, 35, 6]
numbers[1, 1, 35, 6]
96
What percentage of the time will the following program display a number?
25%
20%
10%
75%
97
If list
CSList
contains the following data: [’c’, ’o', ’m’, ’p’, ’u', ’t', ’e’, 'r'], what will be displayed?
cmptr cmptr cmptr
cmptr cmptr cmptr cmptr cmptr
computer computer computer computer computer
98
Which of the following is a negative trade-off inherent in lossless compression?
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.
The image quality will be less and will result in a blurry image
The number and size of pixels will be less.
99
.
Rogue Servers
DNS BINDing
Masquerading
DNS Key Distribution
100
What does the algorithm display?
4
7
6
3