stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Bulliqi, Artin Summative Test Project Flashcards | StudBud
Explore
/
Bulliqi, Artin Summative Test Project
Bulliqi, Artin 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 the following algorithm display? a ← 26 MOD 13DISPLAY (a)
0
13
8
26
2
what will the following code display?
0
1
98
-98
3
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
1,000
11
1
2,000
4
Which of the following test cases will return the correct average using the above procedure.
numbers[0, 1, 35, 6]
numbers[3, 5, 11, 6]
numbers[1, 1, 35, 6]
numbers[11, 35, 6]
5
what will the following code display?
[6, 76, 4, 98]
[1, 1, 35, 6, 76, 4, 98]
[ ]
6
Despite a simulation predicting faster drive-thru times with touchscreen orders reducing wait time sales dropped 40% Why
All variables considered in simulation.
Direct proportionality of wait time and sales proves simulation's accuracy.
Simulation performed as expected.
Simulation might've overlooked preference for human ordering.
7
What should replace <missing condition> so that the program below display TRUE 10% of the time?
x < 1
x <= 1
x < 9
x <= 9
8
In this serial/parallel computing solution, how much processing time would the problem take?
15 seconds
24 seconds
18 seconds
9 seconds
9
Which is NOT a feature of Creative Commons?
Add the first number's value to totalEvan.
The procedure will provide the correct answer only if the first number is 0
The program works as intended for all test cases.
More test cases are needed to determine if the procedure works as intended.
10
What is the value of sum displayed after this algorithm is run?
5
Error
4
78
11
What will the following program display?
[1, 1, 35]
[6, 76, 4, 98]
[1, 1, 35, 6, 76, 4, 98]
[ ]
12
What is the value displayed after the algorithm is run?
Nothing will be displayed.
ODD ODD ODD
EVEN EVEN EVEN EVEN
2 4 6
13
What will the following algorithm display?a ← 26 MOD 3b ← 7 MOD aDISPLAY (b)
1
13
0
26
14
What percentage of the time will the following program display an even number?DISPLAY(RANDOM(1,10))
0%
10%
40%
50%
15
What will the following program display?
[0]
[ ]
[-35]
[-11]
16
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
11
1,000
2,000
1
17
5G offers higher bandwidth than 4G. What's the benefit? Need help with anything else related to your future plans?
Higher bandwidth would increase latency.
Higher bandwidth would increase security.
Higher bandwidth would result in higher data transfer.
Higher bandwidth would increase packet redundancy in the fault tolerant.
18
What will be the result of the displayed program?
14 6
7 5 9
9 5 7
6 14
19
When should a heuristic algorithm be used?
Finding the quickest way to drive from Orlando Florida to Cold Foot Alaska.
Calculating the average score for the national SAT test.
Finding the lifetime batting average for Mookie Wilson.
When determining which files could have been exposed to a virus.
20
We can convert a number from decimal to octal (base 8) by repeatedly subtracting the largest possible powers of what?
8
9
7
2
21
What is displayed after running the following algorithm?
44
43
54
0
22
Which data type is unnecessary for an app predicting college acceptance from 'Not Likely' to 'Likely'?
class rank
GPA
Geolocation of where the App was accessed
List of extracurricular activities
23
What is the following program returning?
25
27
20
37
24
These drawings depict two fundamental cryptographic concepts Which of the choices below properly identify these concepts
Symmetric and Steganography
Lexicographic and Asymmetric
Asymmetric and Symmetric
Hash Codes and Key Transfers
25
What is the percentage that this algorithm displays true? DISPLAY(RANDOM(1, 10) ≤ 6)
60%
9%
100%
10%
26
Where is cloud data stored?
Data centers of computers that can keep your information accessible
The computer's software
Electrical currents of nimbus clouds
The computer's hardware
27
If a node breaks in the sender-receiver path, is communication still possible?
Once the node is fixed, communications will be restored.
Yes, an alternate route from the sender to the receiver will be found.
Nodes are built to not need maintenance so communication will not be broken
No, the path has been interrupted.
28
Convert 100001BIN to a decimal number.
31
63
33
29
29
The diagram shows a circuit of logic gates Each gate takes two inputs and produces a single output What is the output
none of the above
false
true
30
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
31
Which of the expressions are equivalent to the Boolean expression NOT (num < 13)?
num < 13 AND num = 13
num > 13 OR num = 13
num > 13 AND num = 13
num > 13
32
Replace "< missing statement >" to display "BINGO" for numbers divisible by 3, positive, and < 9.
item = 3 OR item = 6 OR item = 9
item MOD 3 = 1 AND item MOD 5 = 1
item > 3 AND item < 9
item MOD 3 = 0 AND item > 0 AND item < 9
33
What will be the output of the following program?
14 6
14
9 5 7
7 5 9
34
What is the percentage that this algorithm displays true?DISPLAY(RANDOM(1, 5) = 5 OR RANDOM(1, 5) = 9)
20%
10%
1000%
40%
35
What is the value displayed after the following algorithm is run?
0
9
8
1
36
What does the above algorithm display?
False Always.
When A is false, the algorithm is false
When B is false, the algorithm is false.
True Always.
37
Which of the following lines of code would cause an error with a robot?
CAN_MOVE (right)
NOT CAN_MOVE (left)
CAN_MOVE (north)
NOT CAN_M0VE (forward)
38
What will the following program display?
OXXOO
OXXOXXOXX
OOOXX
The program is an infinite loop.
39
What is the percentage that this algorithm displays true?DISPLAY(RANDOM(5, 9) > 9)
60%
0%
20%
100%
40
What will the executed code display?
All even numbers between 3 and 12
All odd numbers between 3 and 12
All even numbers between 1 and 12
All odd numbers between 1 and 12
41
What is the value displayed after the algorithm is run?
nothing is printed due to a infinite loop.
0
10
1
42
What is the percentage that this algorithm displays true?DISPLAY(RANDOM(5, 9) > 9)
0%
100%
60%
20%
43
What will the following program display?
OXXOO
The program is an infinite loop.
OOOXX
OXXOXXOXX
44
What is the value displayed after the algorithm is run?
2 4 6
6
8
0 2 4 6
45
What is the benefit of program development using an iterative and incremental process?
It decreases the time needed to program an algorithmic solution.
It decreases the need for programming documentation.
It obviates the conversion of programming language to machine code.
Helps programmers pinpoint errors by adding code to a functioning program.
46
The algorithm below displays TRUE 60% of the time. What is the missing condition?
x ≥ 10
x > 10
x < 10
x ≤ 10
47
Which of the following code segments can replace MISSING CODE to make the procedure work as intended?
max = item
max >= item
item > max
max > item
48
What does the following program display?
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, -4]
[-4]
[1, 6, -4]
[-4, -98]
49
What does the algorithm display?
2
6
4
5
50
What will the following algorithm display?a ← 13 MOD 26DISPLAY (a)
8
13
26
0
51
What will the following program display?
0
13
35
4
52
What should replace so that the program below displays TRUE 10% of the time?
x < = 1
x < 9
x < 1
x <= 9
53
What is the fewest number of devices C must connect with to communicate with E in this redundant internet web?
2
4
3
1
54
What is displayed because of executing the code segment?
3 9
9
1 3 5 7 9
1 5 7
55
What will y display?
x ← 7y ← 8temp ← x + yx ← yy ← xtemp ← x + yy ← temp + 4DISPLAY (y)
9
20
7
5
56
What is displayed after running the following algorithm?
0
-98
-1
-76
57
Which internet design lets a developing country maximize usage control by routing all data through one server?
Decentralized internet
UDP
TCP
Centralized internet
58
A spinner is divided into two sections. ¾ of the spinner will return False while ¼ of the spinner will return True.
. RANDOM(1, 4) ≤ 2
RANDOM(5, 8) = 6
RANDOM(5, 9) = 6
59
Which of the following is MOST likely to be a harmful effect of storing all posts?
The site enhances artistry using cell phone pictures.
A user can connect and rekindle old friendships.
A user can become social media famous and get sponsored by a makeup brand.
A post made at 16 can impact college acceptance.
60
What is the code segment displaying?
0
34
68
17
61
What should replace so the program below displays TRUE 60% of the time?
x MOD 2 = 0
x MOD 5 = 0
x MOD 5 = 5
x MOD 2 = 1
62
Order the numbers from lowest to highest.ACHEX82DEC110111BIN
I, III, and II
III, II, and I
I, II, and III
II, III, and I
63
Which of the following best approximates the minimum possible time to run all five processes?
2 seconds
8 seconds
10 seconds
5 seconds
64
What will the following code segment display?
6
11
Nothing will be displayed due to an error.
3
65
Which of the codes below will correctly swap the frog with the bear?
temp = animal[1]animal[1] = animal[3]animal[3] = temp
temp = animal[1]animal[1] = animal[2]animal[2] = temp
animal[3] = animal[1]animal[1] = animal[3]
animal[1] = animal[2]animal[2] = animal[1]
66
Which of the following is a cause of the digital divide?
Lack of knowledge on how to use technology.
Lack of access to the technology due to affordability.
Lack of access to technology due to location.
All of the above.
67
What is the value displayed after the algorithm is run?
10
0
1
12
68
Answer this question using the picture.
I , II , and III
II only
II and III
I only
69
What will the following program display?
12
0
35
16
70
What is the code segment displaying?
17
0
34
68
71
What is displayed after running the algorithm below?
240
146
435
0
72
Which of the following statements is NOT correct:
Logic gates are modeled by Boolean functions.
Logic gates are used to perform operations such as addition and subtraction
Hardware is the lowest level of abstraction.
Binary data is processed by physical layers of computing hardware.
73
What are the values displayed after the following program is run?
–1 –4 6
–4 6 9
5 4 –1
3 –4 6
74
A student couldn't connect via URL but could with IP. Which system likely failed?
FTP
DNS
DSN
HTTP
75
What would the following programming statement display?
0
1
11
10
76
Which of the following types of components is necessary for cybersecurity?
I.
Software
II.
Hardware
III.
Human
I only
I and II only
III only
I, II, and IIII, II, and III - correct
77
Which of the following lists is
NOT
a candidate for a binary search?
A list of words in a dictionary
A list of students in order of height
words from a poem about sunshine in the order they appear in the poem
A list of numbers from smallest to largest
78
What is the following program returning?
20
12
25
22
79
What does the algorithm display?
2
6
4
1
80
Which of the following types of components is necessary for cybersecurity?
I.
Software
II.
Hardware
III.
Human
I, II, and III
III only
I and II only
I only
81
what will the following code display?
98
76
0
1
82
What's the fewest connections to remove for G to lose communication with A in this internet web?
2
3
4
1
83
What will the following code segment display?
3
6
11
Nothing will be displayed due to an error.
84
A content producer wants to use a Creative Commons license. Which is NOT a feature?
It allows users to attribute the work as their own.
It allows users to build upon the work.
It allows users to share work.
85
Redirected to a fake site. Which system is compromised? Need assistance with anything else?thumb_upthumb_down
The IP address of the user is infected.
Facebook's IP address could have switched from IPv4 to IPv6.
The fault-tolerant nature of the internet disabled the connection.
The domain name server (DNS) is infected.
86
Which of the following processes will not be affected by the digital divide?
Releasing official government policy via Twitter
Reducing wait time in doctors offices by requiring appointments made online
Requiring virtual school classes as a requirement for graduation
Scheduling vaccines via calls, visits, billboards, and more.
87
Using the table in question 44, convert the ASCII character "M" to a binary
1001100
1001101
1010000
1001110
88
What will be the result of the displayed program?
9 5 7
14 6
7 5 9
6 14
89
What are two aspects of efficiency?
execution time and length of code
execution time and memory usage
wall clock time and CPU time
memory usage and length of code
90
What is displayed after running the following algorithm?
35
73
54
43
91
What is the value of sum displayed after this algorithm is run?
0
Error
6
4
92
What is displayed after running the algorithm below?
133
43
145
12
93
Which of the following statements are true about high-level programming languages?
A high-level programming language often uses natural language elements.
A high-level programming language does not ensure program reliability.
A high-level programming language allows for code to be re-used.
A high-level programming language must be used to execute commands
94
The procedure isFoundlist, item 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]
95
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
96
Which of the following groups is LEAST likely to receive targeted advertisements?
The browser without the Do Not Track optionwww.crackap.com
The browser with the Do Not Track setting engaged
Visiting certified sites only can block targeted ads.
Users with strong passwords and multifactor authentication
97
Consider the following code segment. What will the executed code display?
All even numbers between 3 and 12
All odd numbers between 3 and 12
All odd numbers between 1 and 12
All even numbers between 1 and 12
98
The algorithm below displays TRUE 60% of the time What is the missing condition?
x < 10
x ≥ 10
x > 10
x ≤ 10
99
What will the following program segment display?
The red blue is not
The red is not blue
a + c + b
acb
100
What factors contribute to the digital divide? Cost, access for disabled, education, or lower-performance computers?
none of the above
I, II, III, and IV
I and II only
I, II, and III only