stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Seffen, Mathew Summative Test Project Flashcards | StudBud
Explore
/
Seffen, Mathew Summative Test Project
Seffen, Mathew 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
0,0,0 is what color
Red
Blue
Black
Green
2
What will the executed code display?
All even numbers between 1 and 12
All odd numbers between 3 and 12
All odd numbers between 3 and 12
All odd numbers between 1 and 12
3
What should replace <missing condition> so that the program below display TRUE 10% of the time?
x < 1
x <= 1
x < 9
x <= 9
4
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
5
Diffie-Hellman Key Exchange is an example of
Public Key Cryptography
Translation
Symmetric Encryption
Redundancy
6
A boolean value can contain values other than True and False
True
False
7
IPv6 has this many possible addresses
3.4 X 1038
64 Quadrillion
6.022 x 1023
20 billion
8
What does a selection statement use to determine the flow of a program?
Boolean values
String values
List values
Integer values
9
What is an example of a URL
10010010
<div> content </div>
https://www.example.com
10.60.40.234
10
Which of the following best approximates the minimum possible time to run all five processes?
8 seconds
10 seconds
18 seconds
7 seconds
11
All of the following are true about the User Datagram Protocol (UDP) excep
UDP prioritizes the retransmission of missing packets over speed.
UDP is used when speedismore criticalthanthe reliabilityofdatatransmission.
UDP allows applications to send message withoutchecking for missing packets
UDP does not ensure the delivery of packets in the correct order.
12
Which of the following lists is
NOT
a candidate for a binary search?
A list of words from a poem in the order they appear in the poem
A list of students in order of height
A list of words in a dictionary
A list of numbers from smallest to largest
13
s
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
14
How do nested conditionals enhance decision-making in programming?
By allowing evaluation of additional conditions within an IF statement.
They prevent the execution of any conditional statements.
Nested conditionals reduce the efficiency of decision-making.
By executing all conditions simultaneously for speed.
15
What will be the output of the following program?
14 6
9 5 7
14
7 5 9
16
What is the result of the following list operation? list = [1, 2, 3]; list.append(4);
[4, 1, 2, 3]
[1, 2, 3, 4]
[1, 2, 3]
[2, 3, 4]
17
s
0
6
4
8
18
S
No error; the program works as intended
Logical error
Syntax error
Runtime error
19
s
The location where the picture was taken
The time the picture was taken
The memory space taken up by the picture
The picture of the dog The picture of the dog
20
s
import ThreadLocalRandom.concurrent.util.java
import java.util.concurrent.ThreadLocalRandom
import java.ThreadLocalRandom
import java.util.function.ThreadLocalRandom
21
s
10
9 10 7 4 1
Nothing will be displayed due to the error index out of bounds.
1 4 7 10 9
22
All of the following statements are true about the Internet except:
The Internet is a network of networks.
InternetProtocol (IP)isresponsible foraddressingand routingonline requests.
The Internet is solely software-based with no need for physical components.
Routers are devices that send information to the next stop on the path.
23
s
00000100 00001111 00000111
00000100 00001001 00000111
00000010 00001111 00000111
00000111 00001111 00000100
24
The decimal number for the binary number 100101 is
33
12
37
42
25
s
list1 ≠ 13
list1 = 13
item = 13
item ≠ 13
26
What is the code below displaying?
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
2, 4, 6, 8, 10, 12, 14
Nothing will be displayed
3, 6, 9, 12, 15
27
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 is write-only until it is run through a compiler.
Program code must be debugged by the compiler before it can ever run.
Program code must be translated into a language the computer understands.
28
0,255,255 is what color
Yellow
Magenta
Cyan
Indigo
29
answer the question
Hexadecimal conversion error
Overflow error
Roundoff error
a will equal b on all computers
30
answer the question
IF(number = true OR randomNumber = true)
IF(number ≠ randomNumber)
IF(number = randomNumber)
IF(number = true AND randomNumber = drawing)
31
What does the algorithm display?
3
7
5
4
32
Which of the following is an example of a Boolean value?
"1"
True
"true"
1
33
What will the following algorithm display after running the code below?
2
3
4
1
34
answer the question
Heuristic algorithm
Searching algorithm
Optimization algorithm
Brute force algorithm
35
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 the wonderful jellyfish on the beach or water
Collecting recordings using ultrasonic microphones and sonograms of bats
The behavior of fireflies during the summer months
36
255,0,0 is what color
Red
Blue
Black
Green
37
All of the following are true about digital images as bits except:
Metadata is needed to know the size of an image.
Black and white images can be created using 1 for black and 0 for white.
Digital images are a collection of pixels represented by binary numbers.
Each pixel in a digital image is represented by three bits.
38
45.20.134.73 is an example of
Network Location
IPv6
IP Address
DNS Address
39
What will y display?
15
16
20
0
40
What would be a good use of constants when initializing variables at the beginning of a program?
II and III only
I, II, and III
I and II only
I and III only
41
Rule about the number of transistors on a CPU doubling every two years
Singularity
Nehalem
Moore's Law
Rupert's Law
42
Which of the following is a true statement about data transmitted over the internet?
The domain name system ischallenged by the Digital Millennium Copyright Act
All data traveling over the internet is in binary.
All data traveling over the internet is in binary.
Redundancy in the internet is overseen by companies that set the standards
43
What will the above program display?
Responses
2 8 14
4 8 8
Nothing due to an infinite loop
3 8 0
44
Which of the following input data is needed by the upgraded game that was
NOT
needed by the original game?
Event sensing; an event would be the user pushing a button or screen
Age of the player
Picture of the player
GPS location
45
What is displayed by running the code segment?
3 11 3
3 3 6
11 3 8
8 4 6
46
s
1001 0111
1001 0100
1101 0100
1101 0111
47
255,255,255 is what color
White
Red
Green
Blue
48
An algorithm has n number of steps. Which of the following would be considered a reasonable number of steps?
100n^4
4^n+8^n2
n!
3^n
49
Which of the following test cases will return the correct average using the above procedure
numbers[11, 35, 6]
numbers[1, 1, 35, 6]
numbers[0, 1, 35, 6]
numbers[3, 5, 11, 6]
50
Procedure isFound(list, item) will return TRUE if an item is found in a list What will the following procedure display?
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
[1, 6, −4]
[4, 6, −4]
[ ]
51
s
Always true
True when either A or B are true
True when both A and B are true
Always false
52
What is procedural abstraction?
The act of calling a procedure within another procedure
The process of writing a procedure
Knowing only the procedure's interface to use it
A technique for breaking down a procedure into smaller parts
53
s
6
3
Nothing will be displayed due to an error.
11
54
What percentage of the time will the following program display a number?
75%
25%
10%
20%
55
The following picture was taken by a smartphone. Which of the following is
NOT
metadata?
The filename
The geographic location where the picture was taken
The date the photo was taken
The Red, Green, and Blue values of the top left pixel
56
a
128.198.232.65
174.260.45.144
92.11.198.113
54.116.188.246
57
s
3 9
1 5 7
9
1 3 5 7 9
58
Which command can replace <Missing Condition> to result in the last column of the table shown below?
b AND (a AND b)
a OR b
a AND (a AND b)
NOT (a AND b)
59
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
1,000
1
2,000
11
60
Which of the following is
NOT
an investigation tool for designing programs?
Programming the most elegant code
Collecting data through surveys
Direct observations.
User testing
61
s
Frequency transformation
Addition transformation
Lossy transformation
Lossless transformation
62
;
Visualizes trends over time
Easy comparison
Shows correlation
Represents exact values
63
JPEG and MP3 are examples of this type of data compression
Encrypted
Lossless
Media
Lossy
64
Transmission Control Protocol works with what to make sure packs arrive at their destination
Intellectual Property
Cloud Computing
Internet Protocol
DNS
65
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x < 6
x > 10
x >= 6
x >= 9
66
What will the following program display?
The program is an infinite loop.
OXXOO
OOOXX
OXXOXXOXX
67
What is the code segment displaying?
17
34
0
68
68
Which of the following illustrate ways that the internet facilitates collaboration
I, II, and III
I and III only
II and III only
I only
69
Findings from a project are shown using a graph as opposed to table or raw data. Why might this be?
Select two answers.
Graphs can be easily placed into a slideshow or document, tables cannot
Graphs are easier to read and interpret at a glance.
Graphs can show trends that might not be easily seen with raw data.
Graphs are able to show all of the detail necessary to understand data.
70
Which of the following is true about data compression?
Use data compression to reduce the size of a file for storage/transmission.
Lossy compression cannot be used when sending pictures.
Lossless data compression is the best compression under all conditions.
Data compression can be used for pictures and video only.
71
What is displayed after running the algorithm below?
133
12
145
43
72
Overwhelming a server with requests in order to keep people from accessing it is called
Pwning
Cyber Attack
Denial of Service
Digital Attack
73
s
24
256
8
512
74
Which of the following is the
MOST
likely data privacy concern of the upgraded game?
How much time a person spent playing the game
How many locations the player visited
Recording whether the player was speeding when driving to a location.
The player’s score
75
Which of the data is not provided directly by the user, but is needed for the upgraded game to work as described
User name
Location of landmarks used in the game.
GPS location of user
Speed traveling
76
What will be the result of the displayed program?
6 14
9 5 7
14 6
7 5 9
77
G
I only
I and II only
I, II, and III
III only
78
Which of the following does NOT need to be considered when determining the credibility of a source?
Sponsorship of the article or publisher
Author’s reputation and credentials
Publisher’s reputation and credentials
Use of persuasive techniques within the source
79
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
80
What is the value of sum displayed after this algorithm is run?
Error
4
6
0
81
Which of the following is a negative trade-off inherent in lossless compression?
The number and size of pixels will be less.
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.
82
Consider the following code segment, which uses the variables x, y, and z. What will the following program display?
12 24 24
6 12 24
24 24 24
12 12 12
83
What is displayed as a result of executing the following code segment?
Moose Benji Novack Waffle Noodles
Dog Waffle Noodles Moose Novack Benji
Dog Waffle Moose Noodles Novack Benji
Waffle Moose Noodles Novack Benji
84
Which of the following best approximates the minimum possible time to run all three processes in series?
28 seconds
9 seconds
15 seconds
4 seconds
85
What role do parameters play in the use of procedures?
parameters prevent procedures from executing.
They determine the number of times a procedure can be called.
Parameters rename procedures for better readability.
They allow procedures to receive values when they are called.
86
Which of the following is
LEAST
likely to be included with the game?
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
Information about what types of mobile devices can be used
87
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.
88
DISPLAY (name)What is displayed as a result if the user inputs “Karel” to the program?
What is your name?HelloKarel
What is your name? Hello Karel
What is your name?Hello Karel
Hello Karel
89
Find the error in the following low-level programming code.
This is too difficult To see errors is easier to use upper-level language.
The 17th 1 needs to be changed to a 0.
The 84th digit should be a 1.
The 34th 0 should be a 1.
90
Which of the following types of components is necessary for cybersecurity?
III only
I only
I, II, and III
I and II only
91
s
10%
50%
40%
20%
92
What will the following code segment display?
6
Nothing will be displayed due to an error.
11
3
93
What will the program above display?
2 8
3 7
2 7
4 8
94
s
Symmetric encryption
Home key encryption
Public key encryption
No key encryption
95
Which of the following can be represented by a single binary digit?
Geographic location
Date
Time
Light on / light off
96
What is the following program returning?
20
25
37
27
97
What does the following algorithm display?
When B is false, the algorithm displays “False.”
It always displays “False.”
When A is false, the algorithm displays “False.”
It always displays “True.”
98
s
10
1
100
1,000
99
answer the question
Runtime error
Logical error
No error. The program works as intended.
Syntax error
100
What is the main advantage of using lossy compression over lossless compression?
Higher quality
Easier to implement
Smaller file size
Exact data recovery