stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Sosa, Isabella, Summative test project Flashcards | StudBud
Explore
/
Sosa, Isabella, Summative test project
Sosa, Isabella, 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
look at the question below:
00000111 00001111 00000100
00000100 00001111 00000111
00000100 00001001 00000111
00000010 00001111 00000111
2
Which of the following input data is needed by the upgraded game that was
NOT
needed by the original game?
Picture of the player
Age of the player
Event sensing; an event would be the user pushing a button or screen
GPS location
3
Which of the following are benefits to having information be easily accessible and changeable?
I, II, and III
II and III only
I and II only
I only
4
What will the following code segment display?
9 10 7 4 1
1 4 7 10 9
10
Nothing will be displayed due to the error index out of bounds.
5
Which of the following statements are true about undecidable problems in computer science?
I, II, and III
I and II
I only
II and III
6
Which of the following best approximates the minimum possible time to run all five processes in parallel?
9 seconds
13 seconds
15 seconds
11 second
7
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
8
What protocol below guides the rules about how data are subdivided into packets before transmission?
TCP
DNS
HTTP
FTP
9
A simulation for a color chooser should result in 25% BLUE. Which of the following could replace <missing condition>?
RANDOM(5, 8) > 7
RANDOM(1, 2) > 1
RANDOM(250, 1000) < 251
10
Which of the following types of components is necessary for cybersecurity?
I.
Software
II.
Hardware
III.
Human
I only
I, II, and III
I and II only
III only
11
what is true about the packets of information sent?
Packets are received in the order that they are sent.
All of the above.
Packets are sent by the quickest path possible in the correct order.
Packets are sent in multiple paths and can be received out of order.
12
The procedure below is intended to display the sum of all numbers in the list. Instead, it records an error
Syntax error
Runtime error
Logical error
No error; the program works as intended
13
Consider the following code segment, which uses the variables a, b, and c.
What is displayed by running the code segment?
8 4 6
11 3 8
3 3 6
3 11 3
14
What should replace so the program below displays TRUE 60% of the time?
x MOD 5 = 0
x MOD 2 = 0
x MOD 5 = 5
x MOD 2 = 1
15
Which of the following lists is
NOT
a candidate for a binary search?
A list of words in a dictionary
list words from a poem about sunshine in the order they appear in the poem
A list of numbers from smallest to largest
A list of students in order of height
16
Which of the following is
LEAST
likely to be included with the game?Responses
What protocols the mobile device uses to connect to the internet
Location of high-crime areas that should be avoided
Location of highly trafficked roads and bridges
Information about what types of mobile devices can be used
17
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)
a OR b
18
What does the algorithm display?
5
7
3
4
19
What will y display?
16
20
0
15
20
Consider the code segment below. What is displayed as a result if the user inputs “Karel” to the program?
What is your name? Hello Karel
What is your name? Hello Karel
What is your name? Hello Karel
Hello Karel
21
Consider the following question:
10011 bin
10100 bin
11110 bin
11100 bin
22
Which of the following is least likely to receive targeted advertisements?
Individuals using the web browser without the Do Not Track option
Users with strong passwords and multifactor authentication
Individuals using the web browser with the Do Not Track setting engaged
23
What does the following algorithm display?
It always displays “False.”
When A is false, the algorithm displays “False.”
When B is false, the algorithm displays “False.”
It always displays “True.”
24
What is the minimum number of binary digits needed to store the number 56?
1
5
3
6
25
Which of the following best approximates the minimum possible time to run all three processes in series?
8 seconds
20 seconds
38 seconds
10 seconds
26
What will be the result of the displayed program?
6 14
14 6
9 5 7
7 5 9
27
Which of the following is
NOT
indicative of a phishing attack?
An email asks the user to call the phone number on the back of their card
Email directs user to confirm if their social security is accurate
A virus pops up on your computer asking the user to call a phone number
28
Which of the following protocol standardization is NOT a function of the Internet Engineering Task Force?
internet protocol
simple mail transfer protocol
javascript coding protocol
Hypertext transfer protocol
29
Which of the following is a true statement about data transmitted over the internet?
Redundancy in the design of the internet is overseen by large companies
The domain name system (DNS) has been challenged by DMCA
Packets are received in the same order that they are sent.
All data traveling over the internet is in binary.
30
Consider the following code segment.
What is displayed as a result of executing the code segment?
Golden Bandicoot Cat Fish
Dog Golden Bandicoot Cat Fish
Dog Cat Fish Golden Bandicoot
Dog Cat Fish
31
What will be the output of the following program?
14 6
9 5 7
7 5 9
14
32
Which of the following statements are true about high-level programming languages?
a high-level programming languages often uses natural language elements
a high-level programming language does not ensure program reliability
33
Which algorithm calculates averages correctly?
Both Algorithm A and Algorithm calculate average correctly
Algorithm B calculates average in all cases, while Algorithm A does not.
Algorithm A calculates average in all cases, while Algorithm B does not.
Neither Algorithm A nor Algorithm B calculates average correctly.
34
What is the minimum number of lines that must be cut to isolate F completely?
6
3
7
3
35
The following program is intended to display the string 789. What type of error will the following procedure cause?
Logic error
Syntax error
No error
Runtime error
36
Which of the following is true about data compression?
Lossless data compression is the best compression under all conditions.
Lossy compression cannot be used when sending pictures.
Data compression can be used for pictures and video only.
can be used to reduce the size of a file for storage or transmission.
37
What should replace <missing condition> so that the program below display TRUE 10% of the time?
x < 1
x < 9
x <= 1
x <= 9
38
Consider the following question:
prevalence of illness in herd
food supply
population size
antler size
39
In the following flowchart, what is the value of RESULT?
True when either A or B are true
Always false
True when both A and B are true
Always true
40
Which of the following is a cause of the digital divide?
All of the above
Lack of knowledge on how to use technology
Lack of access to technology due to location
Lack of access to the technology due to affordability
41
What will the following code segment display?
Nothing will be displayed due to an error.
3
11
6
42
What is displayed after the following algorithm is run?
32
132
100
50
43
What is displayed as a result of executing the following code segment?
Waffle Moose Noodles Novack Benji
Dog Waffle Moose Noodles Novack Benji
Dog Waffle Noodles Moose Novack Benji
Moose Benji Novack Waffle Noodles
44
What percentage of the time will the following program display a number?
75%
10%
20%
25%
45
The following table indicates the amount of time it takes to execute a process
9 seconds
28 seconds
15 seconds
4 seconds
46
When should a heuristic algorithm be used?
When calculating the average score for the national SAT test
When finding the lifetime batting average of Mookie Wilson
When finding the quickest way to drive from Orlando, Florida, to Alaska
47
Consider the following question. What is an example of a way that a “smart grid” could assist with human capabilities?
The grid could prevent blackouts altogether.
The grid could ensure that all computers on it are properly updated.
The grid could control the temperature of an A/C or a heating unit
The grid could distribute power in the most efficient manner possible
48
Consider the following procedure,
mystery( x, y )
. What is returned by
mystery (1, 2)
?
2
4
10
8
49
Which of the following is the
MOST
likely data privacy concern of the upgraded game?
How many locations the player visited
The player’s scoreThe player’s score - no response given
How much time a person spent playing the game
Recording whether the player was speeding when driving to a location
50
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x >= 6
x > 10
x < 6
x >= 9
51
What will the following code segment display?
30
1
10
22
52
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.
53
What will the program above display?
4 8
2 8
2 7
3 7
54
What will the following algorithm display after running the code below?
1
2
4
3
55
In what order will the numbers appear after running the algorithm below?
5, 7, −6, 7
5, 7, 4, 3.5
5, 6, 3, 3
5, 6, −5, 6
56
Consider the following code.
What is displayed because of executing the code segment?
1 5 7
9
3 9
1 3 5 7 9
57
What is the following program returning?
25
27
37
20
58
Which of the following is NOT metadata for the picture?
The time the picture was taken
The picture of the dog
The location where the picture was taken
The memory space taken up by the picture
59
The robot is represented by a triangle, facing right Which code can replace to have the robot end up in the gray square
FOR EACH item IN list
REPEAT UNTIL (Goal_Reached)
REPEAT UNTIL x = 4
60
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
11
1,000
1
2,000
61
Consider the following question:
The simulation worked as intended.
The simulation had considered all variables.
None of the above
62
isFound(list, item) will return TRUE if an item is found in a list What will the following procedure display?
[ ]
[4, 6, −4]
[1, 6, −4]
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
63
What type of error did the procedure suffer from?
No error; the program works as intended
Logical error
Syntax error
Runtime error
64
Consider the following code segment, which uses the variables x, y, and z. What will the following program display?
6 12 24
12 12 12
12 24 24
24 24 24
65
Which of the following statements is false?
Binary data is processed by physical layers of computing hardware
Logic gates are modeled by Boolean functions
Hardware is the lowest level of abstraction
Logic gates are used to perform operations such as addition and subtraction
66
Why are internet protocols used?
Internet protocols are needed to slow the growth of the internet.
Internet protocols are specific to the hardware attached to the internet.
Internet protocols are a set of rules to ensure the internet can work
67
What command can replace <Missing condition> to get the results shown in the fourth column of the table?
NOT(a OR a)
a OR b
NOT(a AND b)
NOT b
68
What is displayed after running the algorithm below?
145
12
43
133
69
What is the minimum number of searches for a binary search using an ordered list of 100 numbers?
9
100
8
1
70
Which of the following algorithms will display “3” if the number entered by the user contains a “3” in the ones place?
If(novack = 3)DISPLAY(3)
if(num/3 =0) Display(3)
if (num / 10 = 3) DISPLAY(3)
71
What will the program segment display?
99
2
34
3
72
a simulation of packets traveling between computers in a network. What might result from this simulation?
Better understanding of how binary is used to represent data in packets
Better understanding of how defend against phishing attacks
understanding of how a failed router affects the flow of packets
understanding of how access to the Internet affects developing countries
73
Which of the following can be represented by a single binary number?
What is the position of an object in a grid of squares
What is the speed of a puppy chasing a squirrel?
Is your puppy named “Waffles”?
74
After the following code segment is run, what will be the values of x and y?
x is 30, y is 40
x is 40, y is 30
x is 40, y is 40
x is 20, y is 20
75
Which of the following is considered a potential effect of the mobile game rather than the purpose of the game?
People are not watching where they are walking and are getting injured.
Players play the game in their spare time.
People are exercising.
Players are becoming more cultured by visiting artworks.
76
What is the value of sum displayed after this algorithm is run?
6
Error
0
4
77
The procedure isFound(list, item) will return TRUE if an item is found in a list What will the following procedure print
[1, 6, −4]
[ ]
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
[4, 6, −4]
78
What are the two aspects of efficiency?
memory usage and length of code
execution time and length of code
wall clock time and CPU time
execution time and memory usage
79
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 Red, Green, and Blue values of the top left pixel
The date the photo was taken
80
How many lines need to be cut to completely isolate computer E from computer C?
6
3
8
0
81
Which of the following does NOT need to be considered when determining the credibility of a source?
Publisher’s reputation and credentials
Use of persuasive techniques within the source
Author’s reputation and credentials
Sponsorship of the article or publisher
82
A robot is shown in the lower corner of a grid and is pointing up. What will result in the robot landing on the star?
moveAndSpin (0,1) moveAndSpin(6,3)moveAndSpin(4, 0)
moveAndSpin (0, 7)
moveAndSpin (7,3)
83
What will the following program display?
OXXOO
OXXOXXOXX
OOOXX
The program is an infinite loop.
84
Using the partial hierarchy shown above, which of the following commands would properly import ThreadLocalRandom?
import java.util.function.ThreadLocalRandom
import java.util.concurrent.ThreadLocalRandom
import ThreadLocalRandom.concurrent.util.java
import java.ThreadLocalRandom
85
What is the code segment displaying?
68
34
17
0
86
What is the code below displaying?
Nothing will be displayed
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
3, 6, 9, 12, 15
2, 4, 6, 8, 10, 12, 14
87
Is a binary search always the fastest search when searching for a number in a sorted list?
A binary search is always faster with a sorted list.
No, the first pass of a linear search finds more quickly than binary
For a large list, binary searches are always faster.
For a large list, linear searches are always faster.
88
Which of the following test cases will NOT find the maximum number in the list?
list1[0, 0, 0, 0]
list1[4]
list1[23, 67, 3]
list1[−23, −67, −3, −7]
89
Why does program code have to be run through a compiler?
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.
Program code must be debugged by the compiler before it can ever run.
Program code must be translated into a language the computer understands.
90
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 fireflies during the summer months
The behavior of the jellyfish on the beach or water
Collecting recordings using ultrasonic microphones and sonograms of bats
91
What will the following code segment display?
11
3
6
Nothing will be displayed due to an error.
92
Consider the following code segment. What will the executed code display?
All even numbers between 3 and 12
All even numbers between 1 and 12
All odd numbers between 1 and 12
All odd numbers between 3 and 12
93
Which of the following is true about redundancy on the internet?
I, II, and III
II and III only
I only
I and II only
94
We can convert a number from decimal to octal by repeatedly subtracting the largest possible powers of what number?
8
7
9
2
95
Which of the following can be represented by a single binary digit?
Geographic location
Date
Time
Light on / light off
96
What role does a compiler have in processing a high-level language?
The compiler ensures that the program has no runtime errors.
The compiler speeds up the run time of a program.
a compiler is needed to translate the code into machine code
The compiler checks for updates and installs programs onto the computer.
97
Which of the following test cases will return the correct average using the procedure
numbers[0, 1, 35, 6]
numbers[3, 5, 11, 6]
numbers[11, 35, 6]
numbers[1, 1, 35, 6]
98
Consider the following procedure, cube (n), which is meant to multiply a number by itself three times
8
5122
128
64
99
For the following data structure, which search algorithm would work as intended to find the value 35?
Linear search
Bubble sort
Binary search
Insertion sort
100
Why is it important to find an efficient solution to a problem?
An efficient solution can make it easier to analyze larger data sets.
An efficient solution can always be solved in a reasonable amount of time.
An efficient solution makes it harder to copy an algorithm.