stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Kim, Brandon Summative Test Project Flashcards | StudBud
Explore
/
Kim, Brandon Summative Test Project
Kim, Brandon Summative Test Project
103 terms
·
StudBud Administration
Imported from external platform
Flashcards
103 cards
F
Practice quiz
P
Host live
L
Questions
103
Answers
1
What is the minimum number of lines that must be cut to isolate F completely?
4
6
0
8
2
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.
3
.
V
L
A
Y
4
What will be the output of the following program?
7 5 9
9 5 7
14 6
14
5
.
Better late than never.
Hello. Is anyone there?
Is anyone there?
Hello. Better late than never.
6
What should replace so the program below displays TRUE 60% of the time?
x MOD 5 = 5
x MOD 5 = 0
x MOD 2 = 0
x MOD 2 = 1
7
These drawings depict two fundamental cryptographic concepts. Which of the choices below properly identify these concept
Asymmetric and Symmetric
Hash Codes and Key Transfers
Lexicographic and Asymmetric
Symmetric and Steganography
8
Which are valid replacements
I only
II and III
II only
I , II , and III
9
700 kilobytes per second. Approximately how long will the download take if her video is 400 megabytes in size?
571 seconds
1.75 seconds
175 seconds
57.1 seconds
10
Convert 100001BIN to a decimal
29
63
31
33
11
What will the above program display?
2 8 14
Nothing due to an infinite loop
3 8 0
4 8 8
12
Find the error in the following low-level programming code.10111001 11010010 0000011 100001001 00001110 00000000
The 84th digit should be a 1.
The 17th 1 needs to be changed to a 0.
The 34th 0 should be a 1.
This is too difficult. To determine errors, it would be easier
13
Convert 111111BIN to a decimal
33
29
31
63
14
What is the minimum number of binary digits needed to store the number 56?
1
3
6
5
15
What will the executed code display?
All odd numbers between 1 and 12
All odd numbers between 3 and 12
All even numbers between 1 and 12
All even numbers between 3 and 12
16
What is a major disadvantage of the internet’s model of trust?
A website can still download malicious code even if blocked by a firewall.
A trusted website has power over the computer’s ROM
A trusted website can have a large amount of power over a computer
A trusted website cannot have encrypted communications
17
What type of algorithm would be best used for fraud detection?
Optimization algorithm
Brute force algorithm
Heuristic algorithm
Searching algorithm
18
Which of the following is a true statement about data transmitted over the internet?
All data traveling over the internet is in binary.
The domain name system has been challenged by the Digital Copyright Act
Redundancy is overseen by large companies that set the standards
Packets are received in the same order that they are sent
19
What is the 4-bit number for the decimal number ten (10)?
0010
0110
1010
0101
20
Which of the following lists is
NOT
a candidate for a binary search?
A list of numbers from smallest to largest
A list of students in order of height
A list of words from a poem about sunshine in order they appear in the poem
A list of words in a dictionary
21
What will the following algorithm display after running the code below?
1
3
2
4
22
If red value is more than 255 it saves the red value as 255 What type of transformation is the photo software using?
Lossy transformation
Addition transformation
Lossless transformation
Frequency transformation
23
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
1000
2000
1
11
24
What will the following code segment display?
22
10
30
1
25
DISPLAY ("What is your name?") name ← INPUT () DISPLAY ("Hello") DISPLAY (name)What is result if the user inputs “Karel”
What is your name?HelloKarel
What is your name?Hello Karel
Hello Karel
What is your name? Hello Karel
26
What are the benefits of using abstractions in programming?
A. Hiding or removing irrelevant data so that a program is easier to code
C. Increasing the level of complexity of code
D. None of the following
B. Increasing creativity when collaborating
27
Which of the following best approximates the minimum possible time to run all five processes?
8
7
10
18
28
What type of error did the procedure below suffer from when intended to display the sum of all numbers in the list.
Syntax error
No error. The program works as intended.
Runtime error
Logical error
29
Which command can replace <Missing Condition> to result in the last column of the table shown below?
NOT (a AND b)
a OR b
a AND (a AND b)
b AND (a AND b)
30
What command can replace <Missing condition> to get the results shown in the fourth column of the table?
NOT(a OR a)
NOT(a AND b)
NOT b
a OR b
31
We can convert a number from decimal to octal (base 8) by repeatedly subtracting the largest possible powers of what?
8
2
7
9
32
At least how many connections must be damaged to prevent the client and server from communicating?
3
1
4
2
33
What does the following algorithm display?
It always displays “True.”
When B is false, the algorithm displays “False.”
When A is false, the algorithm displays “False.”
It always displays “False.”
34
What will the following code segment display?
11
Nothing will be displayed due to an error.
6
3
35
What is the value of sum displayed after this algorithm is run?
0
6
Error
4
36
How many lines need to be cut to completely isolate computer E from computer C?
3
8
0
6
37
Sort by levels of abstraction lowest to highest: I. logic gates II. operating systems III. programming language IV. mach
I, IV, II, III
I, IV, III, II
I, II, III, IV
I, III, IV, II
38
What is the minimum number of connections that need to be broken to completely isolate computer A from computer L?
1
3
4
2
39
What will the program above display?
2 7
2 8
4 8
3 7
40
Which of the following would
NOT
be a useful metric with which to analyze the data?
Third-party wins
Racial makeup
County splits
Overall results
41
Convert 1101BIN to a decimal number.
1
13
11
1101
42
Which of the following can be represented by a single binary digit?
Date
Geographic location
Time
Light on / light off
43
8 bits is enough to represent 256 different numbers. How many total bits do you need to represent 512 numbers?
17
10
9
16
44
Which of the following does NOT need to be considered when determining the credibility of a source?
Use of persuasive techniques within the source
Author’s reputation and credentials
Publisher’s reputation and credentials
Sponsorship of the article or publisher
45
What will the following code segment display?
6
Nothing due to an error
3
11
46
What is displayed as a result of executing the following code segment?
Dog Waffle Noodles Moose Novack Benji
Moose Benji Novack Waffle Noodles
Waffle Moose Noodles Novack Benji
Dog Waffle Moose Noodles Novack Benji
47
Which of the following best approximates the minimum possible time to run all three processes in series?
4
15
9
28
48
.
Deleting entries from data
Searching through data
Backing up data
Sorting data
49
.
C. The number 0 is displayed.
D. The number 10 is displayed.
B. The number 6 is displayed.
A. Nothing is displayed; the program results in an infinite loop.
50
What is a benefit of using a simulation?
A simulation would be able to account for every variable
Easier and cost effective
Simulations have as much of an effect on the real world
Simulations can be run only once
51
What is the speedup of the parallel solution?
1. 48 to 6 minutes
6
1/8
8
42
52
Which of the following is
LEAST
likely to be included with the game?
Information about what types of mobile devices can be used
Location of highly trafficked roads and bridges
Location of high-crime areas that should be avoided
What protocols the mobile device uses to connect to the internet
53
Consider the following code segment, which uses the variables x, y, and z. What will the following program display?
6 12 24
12 24 24
24 24 24
12 12 12
54
.
Input A must be true.
There is no possible value of Input A that will make the circuit have true.
Input A must be false
input A can be either true or false.
55
Which of the codes below will correctly swap the frog with the bear?
animal[1] = animal[2] animal[2] = animal[1]
animal[3] = animal[1] animal[1] = animal[3]
temp = animal[1] animal[1] = animal[2] animal[2] = temp
temp = animal[1] animal[1] = animal[3] animal[3] = temp
56
Which of the following is NOT metadata for the picture?
The picture of the dog
The time the picture was taken
The location where the picture was taken
The memory space taken up by the picture
57
Convert 48DEC to a binary
111111
110111
110001
110000
58
Which of the following Boolean expressions can be used in a selection statement to cause the elevator to move?
A. (onFloor1 OR callTo2) AND (onFloor2 OR callTo1)
D. (onFloor1 AND callTo2) OR (onFloor2 AND callTo1)
C. (onFloor1 OR callTo2) OR (onFloor2 OR callTo1)
B. (onFloor1 AND callTo2) AND (onFloor2 AND callTo1)
59
Which of the following characteristics for the virtual patrons would be most useful?
Select two answers.
Ticket/Ride preference
Walking/Ride preference
Walking/food preference
Food/Ticket Preference
60
Approximately how much bigger (how many more bytes) is a megabyte than a kilobyte?
1000x
1000000x
1000000000x
100000x
61
The procedure isFound will return TRUE if an item is found in a list What will the following procedure display?
[ ]
[4, 6, −4]
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
[1, 6, −4]
62
What is displayed after running the algorithm below?
133
12
145
43
63
Which of the following values for x, y, and z can be used to show that the code segment does not work as intended?
x = 1, y = 2, z = 3
x = 1, y = 3, z = 2
x = 3, y = 2, z = 1
x = 2, y = 3, z = 1
64
Which of the following protocol standardization is NOT a function of the IETF (Internet Engineering Task Force)?
JavaScript Coding Protocol
Hypertext Transfer Protocol
Simple Mail Transfer Protocol
Internet Protocol
65
What will be the result of the displayed program?
6 14
14 6
9 5 7
7 5 9
66
In this system, what would be the binary representation of the word dog?
00000100 00001001 00000111
00000100 00001111 00000111
00000111 00001111 00000100
00000010 00001111 00000111
67
Which of the following statements is
NOT
correct:
Binary data is processed by physical layers of computing hardware.
Hardware is the lowest level of abstraction.
Logic gates are used to perform operations such as addition and subtraction
Logic gates are modeled by Boolean functions.
68
What is displayed as a result of executing the code segment?
Dog Cat Fish
Dog Golden Bandicoot Cat Fish
Dog Cat Fish Golden Bandicoot
Golden Bandicoot Cat Fish
69
What should replace <missing condition> so that the program below display TRUE 10% of the time?
x <= 9
x < 9
x <= 1
x < 1
70
a ← 1/3b ← 1/3
If a does not equal b, what error has occurred?
Overflow error
Roundoff error
a will equal b on all computers
Hexadecimal conversion error
71
What is the following program returning?
25
20
27
37
72
What type of error did the below procedure suffer from when intended to display the sum of all numbers in the list
Runtime error
Logical error
Syntax error
No error. The program works as intended
73
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
74
Which of the following is true about data compression?
Lossy compression cannot be used when sending pictures.
Data compression can be used to reduce the size of a file for storage
Lossless data compression is the best compression under all conditions.
Data compression can be used for pictures and video only.
75
What line of code can replace <missing code> so the algorithm will work as intended?
item = 13
list1 = 13
item ≠ 13
list1 ≠ 13
76
What are two aspects of efficiency?
memory usage and length of code
execution time and memory usage
wall clock time and CPU time
execution time and length of code
77
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
78
What will this display
68
0
17
34
79
Convert 88 DEC to a binary number.
1010101
1000001
1111000
1011000
80
In the following flowchart, what is the value of RESULT?
Always false
True when either A or B are true
True when both A and B are true
Always true
81
Debug the above code segment. Which of the following statements is true?
The code runs as intended. The robot will reach the end of the maze.
The code does not run as intended.
The code may or may not run as intended.
The code runs as intended. The code runs without error.
82
What is the best term for "data about the data"
metadata
megadata
superdata
predata
83
Which of the following is the MOST likely data privacy concern for the original browser?
Cookies are text files that keep track of such things as website visits
Personal Information about might be used to brand you as members of a group
Cookies are responsible for spam and create pop-up advertisements.
Cookies are used to acquire users' private encryption keys
84
which of the statements below BEST describes what will happen if ISP X, Host 3, and Host 11 are not working?
The Client will not receive any data due to the outage
Host 1 will compensate for the outage and route the data accordingly
ISP Y receive packets of a failure to 3 and route the data to working hosts
85
Which of the following types of components is necessary for cybersecurity?
I.
Software
II.
Hardware
III.
Human
I only
I and II only
I, II, and III
III only
86
The following program is intended to display the string 789. What type of error will the following procedure cause?
Syntax error
No error
Runtime error
Logic error
87
Which of the following concepts does this demonstrate?
Security:the curation of data by government programs can be exploited.
Privacy:the curation of data by government programs can be exploited.
Privacy:the curation of data by commercial groups can be exploited.
Security:the curation of data by commercial groups can be exploited.
88
What should replace
<missing code>
in the following algorithm?
IF(number = true OR randomNumber = true)
IF(number = randomNumber)
IF(number ≠ randomNumber)
IF(number = true AND randomNumber = drawing)
89
What is displayed because of executing the code segment?
1 3 5 7 9
9
1 5 7
3 9
90
What does the algorithm display?
5
7
3
4
91
What is the speedup for the parallel solution? 4000->400
100
1
10
1000
92
What is the minimum number of searches for a binary search using an ordered list of 100 numbers?
1
8
0
100
93
Which of the following input data is needed by the upgraded game that was
NOT
needed by the original game?
Age of the player
GPS location
Picture of the player
Event sensing; an event would be the user pushing a button or screen
94
Which best describes the role of TCP?
Common protocol for encrypting/decrypting data transferring on the internet
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
95
According to the domain name system (DNS), which of the following is a subdomain of the domain example.com?
example.co.uk
example.com.org
about.example.com
example.org
96
Which of the following is
NOT
an investigation tool for designing programs?
Direct observations.
User testing
Collecting data through surveys
Programming the most elegant code
97
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
98
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]
99
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.
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.
100
Which of the following is considered a potential effect of the mobile game rather than the purpose of the game?
People are exercising.
Players play the game in their spare time.
Players are becoming more cultured by visiting artworks.
People are not watching where they are walking and are getting injured.
101
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
The order of the data put into the data set
How much memory the program requires to run
The amount of program documentation that should be minimized
102
What will the following program display?
OOOXX
The program is an infinite loop.
OXXOO
OXXOXXOXX
103
Which of the following lines of code would cause an error with a robot?
NOT CAN_M0VE (forward)
NOT CAN_MOVE (left)
CAN_MOVE (right)
CAN_MOVE (north)