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