stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Alkutel.Khalid summative test project Flashcards | StudBud
Explore
/
Alkutel.Khalid summative test project
Alkutel.Khalid 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
Which of the following can be represented by a single binary number?
Select two answers
What is the speed of a puppy chasing a squirrel?
Do you have a puppy?
What the position of an object in grid squares representing the position
is your puppy named “Waffles”?
2
What will the following code segment display?
22
10
30
1
3
.
No error. The program works as intended
Runtime error
Syntax error
Logical error
4
What is an example of a way that a “smart grid” could assist with human capabilities?
The grid could ensure that all computers on it are properly updated.
The grid could control the temperature of an A/C
distribute power in the most efficient manner possible, ensuring that power
The grid could prevent blackouts altogether.
5
Which of the following are benefits to having information be easily accessible and changeable?
I only
I, II, and III
II and III only
I and II only
6
What command can replace <Missing condition> to get the results shown in the fourth column of the table?
a OR b
NOT(a OR a)
NOT b
NOT(a AND b)
7
by levels of abstraction, from lowest to highest:I. logic gatesII. operating systemsIII. programming languageIV.
I, II, III, IV
I, IV, III, II
I, IV, II, III
I, III, IV, II
8
The following program is intended to display the string 789. What type of error will the following procedure cause?
No error
Runtime error
Syntax error
Logic error
9
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
Information about what types of mobile devices can be used
What protocols the mobile device uses to connect to the internet
10
A simulation for a color chooser should result in 25% BLUE. Which of the following could replace <missing condition>
RANDOM(1, 2) > 1
RANDOM(5, 8) > 7
RANDOM(250, 1000) < 251
RANDOM(1, 4) < 2
11
Which of the following is true
A card dealer deals one card face-up to each of five players.
card dealer turns over one card returns it to the deck shuffles
A card dealer deals a five-card hand to one player.
card dealer give one card each to five players repeating a total five time
12
Which value does Math.abs(-10 + 4) return?
-10
-6
6
10
13
Which of the following can be represented by a single binary digit?Responses
Time
Date
Light on / light off
Geographic location
14
Which of the following lines of code would cause an error with a robot?Responses
NOT CAN_M0VE (forward)
CAN_MOVE (right)
CAN_MOVE (north)
NOT CAN_MOVE (left)
15
W
hat does the following algorithm display?
It always displays “False.”
It always displays “True.”
When B is false, the algorithm displays “False
When A is false, the algorithm displays “False.”
16
.
Every time you email a picture, some of the picture data will be lost
emailing the pictures, the file was broken down into packets
picture files were compressed using lossless compression so the file
The picture files were compressed using lossy compression
17
.
not have considered the human preference for ordering food
Wait time and sales are directly proportional; therefore
The simulation worked as intended.
The simulation had considered all variables.
18
Consider the following code segment, which uses the variables x, y, and z. What will the following program display?
6 12 24
24 24 24
12 24 24
12 12 12
19
Which best describes the role of TCP?
The set of rules for the path packets taken on the fault-tolerant internet
Setting the rules for a numerical label assigned to each device
A common protocol for encrypting and decrypting data transferring
The foundation of data communication for the World Wide Web
20
What will the following code segment display?
3
Nothing will be displayed due to an error.
11
6
21
What could a single binary value represent?
Volume on a radio
Temperature in degrees Celsius
Time
If a light is on or off
22
We can convert a number from decimal to octal (base 8) by repeatedly subtracting the largest possible powers of what?
7
8
9
2
23
Which of the following is true about data compression?
Lossy compression cannot be used when sending pictures.
Lossless data compression is the best compression under all conditions.
Data compression can be used to reduce the size of a file
Data compression can be used for pictures and video only.
24
How many lines need to be cut to completely isolate computer E from computer C?
6
8
0
3
25
Which of the following is the
MOST
likely data privacy concern of the upgraded game?
How many locations the player visited
How much time a person spent playing the game
Recording whether the player was speeding when driving to a location.
The player’s score
26
What is stored in arr[2] after int[] arr = {3, 5, 7, 9};?
3
9
5
7
27
What is displayed after the following algorithm is run?
50
100
32
132
28
When sending a picture from your phone to your friend’s phone using a mobile application
All of the above.
Packets are sent in multiple paths and can be received out of order.
Packets are sent by the quickest path possible in the correct order.
Packets are received in the order that they are sent.
29
Which of the following is not true
Prevalence of illness in herd
Food supply
Population size
Antler size
30
Which of the following best approximates the minimum possible time to run all five processes in parallel?
15 seconds
9 seconds
11 second
13 seconds
31
Which of the following best approximates the minimum possible time to run all three processes in series?
10 seconds
38 seconds
20 seconds
8 seconds
32
What role does a compiler have in processing a high-level language?
cannot directly understand highlevel languages intermediate program
The compiler checks for updates and installs programs onto the computer.
The compiler ensures that the program has no runtime errors.
The compiler speeds up the run time of a program.
33
Data traveling broken down into small chunks data called packets What protocol below guides
FTP
TCP
DNS
HTTP
34
<missing code> order to make the following program return True when the first element the array is equal to the last
( list1[0] = list1[1] )
( list1[0] = list1[LENGTH(list1) – 1] )
( list1 = list1 )
( list1[1] = list1[LENGTH(list1)] )
35
Why are internet protocols used?
Select two answers.
set of rules ensure the internet can work and transmit information across
Internet protocols are needed to slow the growth of the internet.
Internet protocols make the internet scalable and encourage growth.
Internet protocols are specific to the hardware attached to the internet
36
Why do computing innovations tend to lead to legal concerns?
There is no way to hide your IP address on the internet, so laws are easily
Lawyers are unfamiliar with the laws governing computing innovations
Laws about the internet concerning copyrights have been passed
Laws involved in these concerns were often created
37
Is a binary search always the fastest search when searching for a number in a sorted list?
For a large list, linear searches are always faster.
For a large list, binary searches are always faster.
A binary search is always faster with a sorted list.
No, the first pass of a linear search has a chance of finding the correct
38
What will the program segment display?
34
3
2
99
39
.
IF(number = true OR randomNumber = true)
IF(number = true AND randomNumber = drawing)
IF(number = randomNumber)
IF(number ≠ randomNumber)
40
What is displayed after running the algorithm below?
12
133
145
43
41
Which of the following is correct
I, II, III, and IV only
All of the above
I, II, and IV only
II, IV, and V only
42
.
The 34th 0 should be a 1.
The 17th 1 needs to be changed to a 0
The 84th digit should be a 1.
too difficult To determine errors would be considerably
43
What does the following code print? System.out.println("2" + 3 + 4);
7
9
234
10
44
Which of the following input data is needed by the upgraded game that was
NOT
needed by the original game?Responses
Picture of the player
Event sensing; an event would be the user pushing a button or screen
Age of the player
GPS location
45
.
list1 ≠ 13
list1 = 13
item ≠ 13
item = 13
46
When should a heuristic algorithm be used?
When finding the lifetime batting average of Mookie Wilson
When finding the quickest way to drive from Orlando, Florida to alaska
When calculating the average score for the national SAT test
determining which files could been exposed to a virus before actual
47
What is the length of the array new int[8]?
8
5
0
9
48
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)
a OR b
b AND (a AND b)
49
Which of the following protocol standardization is NOT a function of the IETF (Internet Engineering Task Force)?
Simple Mail Transfer Protocol
Hypertext Transfer Protocol
Internet Protocol
JavaScript Coding Protocol
50
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 modeled by Boolean functions.
Logic gates are used to perform operations such as addition and subtraction
51
hat does System.out.println("hello".length()); print?
6
0
5
4
52
What would be a good use of constants when initializing variables at the beginning of a program?
I and II only
I and III only
I, II, and III
II and III only
53
What will the above program display?
Responses
Nothing due to an infinite loop
3 8 0
2 8 14
4 8 8
54
Which of the following is true about redundancy on the internet?
I and II only
I, II, and III
I only
II and III only
55
How many times does this loop run: for(int i = 10; i > 0; i -= 2)?
4
9
10
5
56
What is displayed as a result of executing the following code segment
Dog Waffle Noodles Moose Novack Benji
Waffle Moose Noodles Novack Benji
Moose Benji Novack Waffle Noodles
Dog Waffle Moose Noodles Novack Benji
57
In what order will the numbers appear after running the algorithm below?
5, 6, −5, 6
5, 6, 3, 3
5, 7, −6, 7
5, 7, 4, 3.5
58
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 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.
59
which of the following is correct
I only
Neither
II only
Both I & II
60
What does if(x == 5 || y == 10) check?
x is 5 or y is 10
x is 10 or y is 5
x is 5 and y is 10
x is 5 and y is not 10
61
.
Syntax error
Runtime error
No error. The program works as intended.
Logical error
62
.
if(num / 10 = 3)DISPLAY(3)
if(num MOD 10 = 3)DISPLAY(num MOD 10)
If(novack = 3)DISPLAY(3)
If(num / 3 = 0)DISPLAY(3)
63
which of the following is correct
I, III, IV, II
I, IV, II, III
I, IV, II, III
I, Il, III, IV
64
.
Heuristic algorithm
Searching algorithm
Brute force algorithm
Optimization algorithm
65
What will the following algorithm display after running the code below?
1
3
2
4
66
.
Lossy transformation
Addition transformation
Lossless transformation
Frequency transformation
67
What is the output of System.out.println(3 + 4 * 2);?
11
14
7
10
68
Which of the following types of components is necessary for cybersecurity?
I.
Software
II.
Hardware
III.
Human
III only
I, II, and III
I and II only
I only
69
What is the purpose of a digital certificate in secured communications?
digital certificate ensures server’s own security features
A digital certificate ensures that the communication system
A digital certificate ensures that the communication system
digital certificate ensures that the website’s code has been created
70
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
1000
1
11
2000
71
.
Players play the game in their spare time.
Players are becoming more cultured by visiting artworks.
People are exercising
People are not watching where they are walking and are getting injured.
72
Why is it more effective to put procedures in a program than to repeat code?
Select two answers.
Procedures make a program harder to edit
Procedures simplify editing by requiring one edit to the abstract
Procedures are guaranteed to work in every instance
procedures takes up less space than repeating code, which makes the program
73
What will y display?
x ← 7y ← 8temp ← x + yx ← yy ← xtemp ← x + yy ← temp + 4 DISPLAY (y)
16
0
20
15
74
What are two aspects of efficiency?
execution time and memory usage
wall clock time and CPU time
execution time and length of code
memory usage and length of code
75
What is the minimum number of searches for a binary search using an ordered list of 100 numbers?
100
8
0
1
76
Why does program code have to be run through a compiler?
Program code is write-only until it is run through a compiler.
Program code must be translated into a language the computer understands.
Program code must be debugged by the compiler before it can ever run.
It doesn’t, as the new program could be run directly from the code.
77
What is the result of 7 % 4?
0
2
3
1
78
For the following data structure, which search algorithm would work as intended to find the value 35?
Bubble sort
Binary search
Insertion sort
Linear search
79
What should replace <missing condition> so that the program below display TRUE 10% of the time?
x < 1
x <= 1
x <= 9
x < 9
80
Which of the following statements are true about high-level programming languages? Select
two
answers.
high-level programming language often uses natural language elements.
A high-level programming language allows for code to be re-used.
A high-level programming language does not ensure program reliability.
high-level programming language must be used to execute commands
81
Which loop will execute exactly 5 times?
for(int i = 1; i <= 5; i++)
for(int i = 0; i < 5; i++)
for(int i = 1; i < 6; i++)
for(int i = 0; i <= 5; i++)
82
A economist wants to understand changes in supply and demand affect the inflation rate of a country.
A simulation would be able to account for every variable that would affect
Simulations have much of an effect on the real world as a actual experiment
simulation would be more cost effective,easier to create than an
Simulations can be run only once, so they are guaranteed
83
Researchers have developed a simulation of packets traveling between computers in a network ly
Better understanding of how defend against phishing attacks
Better understanding of how access to the Internet affects developing
Better understanding of how a failed router in a network affects packets
Better understanding of how binary is used to represent data in packets
84
Why is it important to find an efficient solution to a problem?
An efficient solution makes it harder to copy an algorithm.
An efficient solution can always be solved in a reasonable amount of time.
An efficient solution uses more computer resources
An efficient solution can make it easier to analyze larger data sets.
85
which of the following is correct
Scientists using large data sets are more effective in their research
people from various disciplines increases the complexity of the analysis
costs associated with medical advancements are reduced due to large scale
Effectively analyzing the large, complex datasets requires abilities
86
Which of the following statements are true about undecidable problems in computer science?
I, II, and III
II and III
I and II
I only
87
What is a major disadvantage of the internet’s model of trust?Responses
A trusted website can still download malicious code even if it is blocked
trusted website can have a large amount of power over a computer
A trusted website has power over the computer’s ROM
A trusted website cannot have encrypted communications,
88
Which of the following lists is
NOT
a candidate for a binary search
A list of words in a dictionary
A list of numbers from smallest to largest
A list of words from a poem about sunshine in the order they appear
A list of students in order of height
89
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
Use of persuasive techniques within the source
Publisher’s reputation and credentials
90
.
Cryptography is used to prevent publicly accessible files on a server0
secures internet communications ensuring that the files cannot be read
Cryptography does not allow data on a server to be edited by anyone
Cryptography secures internet communication preventing third party from 0
91
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, −7]
list1[23, 67, 3]
92
.
What is your name?Hello Karel
What is your name? Hello Karel
What is your name?HelloKarel
Hello Karel
93
If a does not equal b, what error has occurred?
Roundoff error
Hexadecimal conversion error
a will equal b on all computers
Overflow error
94
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
95
Which of the following is
NOT
metadata?
The filename
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
96
Which of the following is NOT an example of using citizen science as a possible solution?
The behavior of the mysterious and wonderful jellyfish on the beach
Calculating PSAT scores for a school district
Collecting recordings using ultrasonic microphones and sonograms
The behavior of fireflies during the summer months
97
Which of the following is
NOT
indicative of a phishing attack?
A professional organization that the user is a member of asks in an email
A virus pops up on your computer asking the user to call a phone number
email asks the user call phone number on the back of credit card to verify
An email with the user’s personal information
98
What is the minimum number of binary digits needed to store the number 56?
1
5
6
3
99
A theme park wants to create a simulation to determine how long it should expect the wait time
Ride preference—denotes whether a patron prefers roller coasters
Ticket type—denotes whether the patron has a single-day pass,
Walking preference—denotes how far a patron is willing to walk in between
food preference—denotes the type of food that a patron prefers to eat
100
Which of the following data not provided directly by the user ortheir device but is necessary
User name
Speed traveling
GPS location of user
Location of landmarks used in the game.