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