stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Carlos, Gabriela Summative Test Project Flashcards | StudBud
Explore
/
Carlos, Gabriela Summative Test Project
Carlos, Gabriela Summative Test Project
107 terms
·
StudBud Administration
Imported from external platform
Flashcards
107 cards
F
Practice quiz
P
Host live
L
Questions
107
Answers
1
Which statements about the Domain Name System (DNS) are true?
I only
Neither I nor IIAnsweredContinue
II only
Both I and II
2
Based on the code segment, what is displayed after running the program?
20
19
21
18
3
In the following flowchart, what is the value of RESULT?
True when both A and B are true
True when either A or B are true
Always false
Always true
4
These drawings depict 2 fundamental cryptographic concepts. Which of the choices below properly identify these concepts?
Symmetric and Steganography
Hash Codes and Key Transfers
Lexicographic and Asymmetric
Asymmetric and Symmetric
5
Which is a benefit that online shopping websites provide over brick and mortar stores?
Users can try out an item before they buy it
Users can easily pay with cash in person
There is no wait time between purchasing an item and receiving it
Users can see reviews & determine if an item is liked by a number of people
6
Which of these indicators could be represented by a single bit?
The warning icon that indicates a seat belt isn't fastened
The temperature in degrees Celsius
The current driving mode (Park/Reverse/Neutral/Drive)
The speed dial (0-160 MPH)
7
Which of the following replacements will result in an infinite loop?
i = 24
i = 9
i ≤ 12
i ≥ 50
8
Which of the following does NOT need to be considered when determining the credibility of a source?
Author’s reputation and credentials
Publisher’s reputation and credentials
Sponsorship of the article or publisher
Use of persuasive techniques within the source
9
Which part of the packet contains the sequencing information that's used by TCP to reassemble packets?
IP metadata
TCP metadata
None of the above
TCP data
10
Which of the following Boolean expressions is
not
equivalent to the expression num * -1 ≥ 10
NOT num * -1 < 10
(num < 0) AND (num * -1 = 10)
(num < -10) OR (num = -10)
(num * -1 > 10) OR (num = -10)
11
Which of the following is NOT an example of using citizen science as a possible solution?
The behavior of fireflies during the summer months
The behavior of the mysterious and wonderful jellyfish on the beach/water
Collecting recordings using ultrasonic microphones & sonograms of bats
Calculating PSAT scores for a school district
12
According to the domain name system (DNS), which of the following is a subdomain of the domain test.com?
test.co.edu
test.gov
info.test.com
test.com.biz
13
Which best describes the role of TCP?
The set of rules for the path packets taken on the fault-tolerant internet
common protocol for encrypting/decrypting data transferring on internet
Set rules for a label assigned to each device connected to internet
The foundation of data communication for the World Wide Web
14
Which activities poses the greatest personal cybersecurity risk?
Entering your password to login to a Web site encrypted over HTTPS
Downloading a free text editor program on the Internet
Providing your email address when taking an online survey
Emailing your bank account number to an online vendor to purchase a product
15
What are two aspects of efficiency?
wall clock time and CPU time
execution time and memory usage
memory usage and length of code
execution time and length of code
16
We can convert a number from decimal to octal (base 8) by repeatedly subtracting the largest possible powers of what?
8
2
7
9
17
Metadata is defined as data about data. Which of the statements below are true.
All of the above
I only
II, III, and IV only
I, II, and IV only
18
If we used an Internet Addressing protocol that used 8 bits to encode a single address. How many devices would be a
16
64
128
256
19
What will the following code segment display?
11
3
Nothing will be displayed due to an error.
6
20
What will be the values of x and y after this code segment executes?
x is 30, y is 40
x is 20, y is 20
x is 40, y is 30
x is 40, y is 40
21
Convert 88DEC to a binary number.
1000001
1010101
1011000
1111000
22
What does the algorithm display?
4
3
5
8
23
What is the code segment displaying?
34
68
0
17
24
What is the minimum number of lines that must be cut to isolate F completely?
8
4
0
6
25
Which is NOT a characteristic of the redundant nature of routing on the Internet?
The existence of multiple paths between two addresses
The ability to use a hierarchical naming system to avoid naming conflicts
The ability to reroute data when one connection is overloaded
able to transmit data between 2 devices when some connections are broken
26
What does this flowchart algorithm display?
?
This flowchart program will error
!
Nothing
27
Which of the following protocol standardization is NOT a function of the IETF (Internet Engineering Task Force)
JavaScript Coding Protocol
Simple Mail Transfer Protocol
Internet Protocol
Hypertext Transfer Protocol
28
What will be the result of the displayed program?
7 5 9
6 14
9 5 7
14 6
29
Based on the code segment, how would you best describe what the program is doing to variable x and variable y?
The program sets the value of x to y
The program swaps the value of x and y
The program sets the value of y to x
The program sets the value of temp to x and then to y
30
Which describes a limitation of cloud computing?
can weaken the security of data
useful for individuals but not useful for businesses/governments
has negative effects on communication & collaboration among teams
has a negative effect on the scalability of systems
31
What is returned by
cube(cube(2))
?
128
512
64
8
32
What is the maximum number of searches required if using a linear search on list containing 2,000 numbers?
1
0
11
2,000
33
Which of the following replacements for <MISSING CONDITION> will display the first 10 powers of 2 (starting with 1)?
counter > 10
counter ≥ 10
counter = i * 2
i ≥ 100
34
Which of the following illustrate ways that the internet facilitates collaboration
I only
I and III only
I, II, and III
II and III only
35
What is displayed by running the code segment?
3 3 6
3 11 3
8 4 6
11 3 8
36
Suppose you increase the number of bits youre using to store values by one. How many more values can you now represent?
One more value
Two times the number of values
Two more values
Ten times the number of values
37
The findings from a project are typically presented using a graph opposed to table/raw data. Why? two answers.
Graphs are able to show all of the detail necessary to understand data.
Graphs can be easily placed into a slideshow/document, while tables cannot
Graphs can show trends that might not be easily seen with raw data.
Graphs are easier to read and interpret at a glance.
38
Which of the following lists the numbers in order from least to greatest?
Binary 11100, Hexadecimal 1D, Decimal 30
Hexadecimal 1D, Decimal 30, Binary 11100
Binary 11100, Decimal 30, Hexadecimal 1D,
Hexadecimal 1D, Binary 11100, Decimal 30
39
What is the result of calling the Mystery procedure with an input of 3?
WOW!!!
! ! !
WOW!!!
WOW ! ! !
40
What is displayed as a result of executing the code segment?
Golden Bandicoot Cat Fish
Dog Cat Fish Golden Bandicoot
Dog Cat Fish
Dog Golden Bandicoot Cat Fish
41
What is displayed because of executing the code segment?
1 5 7
1 3 5 7 9
3 9
9
42
Which of the following lists the numbers in order from least to greatest?
Decimal 70, Hexadecimal 4E, Binary 1001001
Binary 1001001, Decimal 70, Hexadecimal 4E
Binary 1001001, Hexadecimal 4E, Decimal 70
Decimal 70, Binary 1001001, Hexadecimal 4E
43
parameter number is a positive integer. Which best describes the result of running the Mystery procedure?
The return value of the procedure will always be an odd number
The return value of the procedure can be even or odd
The return value of the procedure will always be an even number
The return value of the procedure will always be a positive number
44
What percentage of the time will the following program display a number?
25%
75%
10%
20%
45
Which of the following statements are true about high-level programming languages? two answers.
A high-level programming language allows for code to be re-used.
A high-level programming language does not ensure program reliability.
A high-level programming language often uses natural language elements.
46
Which statements are true about computing devices?
III only
I, II, and III
I and II
I only
47
What is the value of sum displayed after this algorithm is run?
error
4
6
0
48
The code below is to swap the variables a & b using a temporary variable, temp. What can replace <> so it works?
b = a
b = temp
temp = b
temp = a
49
According to the Internet Protocol (IP). what info is in a packet?
The entire data being transmitted & control information for routing
A small chunk of the data being transmitted
The entirety of the data being transmitted
Small part of the data being transmitted & control information for routing
50
The procedure isFound(list, item) will return TRUE if an item is found in a list What will be displayed?
[4, 6, −4]
[1, 6, −4]
[1, 35, 6, 76, 4, 98, 5, 1, 8, 96, −4]
[ ]
51
Which of the above, represented in binary as a byte, contains the most zeros?
P
K
C
.
52
Which of the following is NOT metadata for the picture?
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
53
Sort the following by levels of abstraction, from lowest to highest
I, IV, II, III
I, IV, III, II
I, II, III, IV
I, III, IV, II
54
Which statements are true:
I and II
III only
II only
I only
55
What is returned by
mystery (1, 2)
?
4
2
8
10
56
What is displayed as a result of executing the code segment?
Nothing will be displayed due to the error index out of bounds.
10
1 4 7 10 9
9 10 7 4 1
57
Why is it important to focus on programming style in addition to programming functionality?
Only I
I and II
II and III
I and III
58
What will be the output of the following program?
1 5 7
9
14 6
9 5 7
59
Which of the following best explains what happens when a new device is connected to the Internet?
A server is assigned to the device
A domain name is assigned to the device
A router is assigned to the device
An Internet Protocol (IP) address is assigned to the device
60
What should replace so the program below displays TRUE 60% of the time?
x MOD 2 = 0
x MOD 5 = 5
x MOD 2 = 1
x MOD 5 = 0
61
Which of the following lines of code would cause an error with a robot?
NOT CAN_M0VE (forward)
NOT CAN_MOVE (left)
CAN_MOVE (north)
CAN_MOVE (right)
62
Which of the following is a true statement about data transmitted over the internet?
Packets are received in the same order that they are sent.
The DNS has been challenged by the Digital Millennium Copyright Act (DMCA)
All data traveling over the internet is in binary.
63
A web browser uses IPv4 and pages a request for a website’s address. Which of the following could NOT be an address?
128.198.232.65
54.116.188.246
174.260.45.144
92.11.198.113
64
What percentage of the time will the program display an even number?
40%
20%
10%
50%
65
Which statements are true about lossless compression?
II only
I only
Both I and II
Neither I nor II
66
Which are true statements about Distributed Denial of Service (DDoS) attacks?
I only
I and II only
I, II, and III
III only
67
Which of the following statements are true about the binary search algorithm
II only
Neither I nor II
Both I and II
I only
68
Which of these values can be stored in a single bit?
[0, 1, 0]
4
11
0
69
Router B needs to send a message to router D.
Which will lead to the message failing to arrive?
2 answers
If the connection between C and E goes down.
If the connection between D and E goes down.
If these two connections go down: C to E, and B to C.
If these two connections go down: C to E, and F to E.
70
Which best describes the purpose of the domain name system (DNS)?
Sending packets of data between devices on the Internet
Assigning a unique IP address to each new device connecting to the Internet
Translating domain names to IP addresses
Encrypting information sent over the Internet
71
Which of these is not one of the components of programming style?
Documentation
Random numbers
Variable names
Function names
72
What are reasons you may write a comment near a variable or function?
I and III
I only
I and II
II only
73
Which of the following replacements will
not
result in an infinite loop?
i = 5
i = 11
i < 1
i = 0
74
Which of the following methods below can mitigate the risk of possibly releasing PII in large data sets?
All of the above
I, II, III, and IV only
I, II, and IV only
II, IV, and V only
75
What will y display?
20
15
16
0
76
Which of the following is true about data compression?
Data compression can be used for pictures and video only.
Data compression can 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.
77
Why does program code have to be 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.
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.
78
Which of the following expressions is equivalent to the value returned from Mystery(x)?
x + 5
x / 5
x - 5
x * 5
79
Which of the following test cases will return the correct average using the above procedure
numbers[0, 1, 35, 6]
numbers[11, 35, 6]
numbers[1, 1, 35, 6]
numbers[3, 5, 11, 6]
80
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x >= 6
x >= 9
x < 6
x > 10
81
What will be the value of x after this code segment executes?
For all values of x, x will decrease by 1.
For values > 5, x will remain unchanged, & for all other values, x will -b
For values > 5, x will +1, & for all other values, x will decrease by 1
For all values of x, x will remain unchanged.
82
Which of the following replacements for <MISSING CONDITION> will NOT cause an infinite loop?
i = 0
i > 1
i ≤ 0
i < 1
83
Program 1 and 2 below are intended to calculate the average of the integers in a list, number_list.
Neither program 1 nor program 2 displays the correct average.
Program 1 displays the correct average, but Program 2 does not
Both program 1 and program 2 display the correct average.
Program 2 displays the correct average, but program 1 does not.
84
Which of the following will NOT affect the results when the code segment is executed?
Switching line 3 and line 7
Change line 3 to x ← -1 * y + x
Change line 3 to x ← y
Remove the else statement and run line 7 no matter what
85
Which statements describes a limitation of using a heuristic approach to solve a problem?
Heuristic approaches cannot be run in a reasonable amount of time
heuristics generally increases the time it takes for an algorithm to run
only run on very powerful computers that are not available to the general
can only provide an approximate solution, rather than an exact solution
86
Which of the following statements is NOT correct:
Hardware is the lowest level of abstraction.
Logic gates are used to perform operations such as addition/subtraction.
Binary data is processed by physical layers of computing hardware.
Logic gates are modeled by Boolean functions.
87
Which activities has the greatest potential for compromising your personal privacy?
Switching a device from IPv4 to IPv6
Sharing your email address
Sharing your device’s IP address
Sharing the cookies stored in your Web browser
88
What will the executed code display?
All odd numbers between 1 and 12
All even numbers between 3 and 12
All odd numbers between 3 and 12
All even numbers between 1 and 12
89
What is the following program returning?
37
20
25
27
90
Which activities poses the LEAST potential cybersecurity risk?
Using a credit card on a website that does not use encryption
Clicking on a link in an email from an unknown sender
Sharing your device’s private key used for encryption
Sharing your device’s public key used for encryption
91
Which of the following replacements will result in the numbers 1 to 11 being printed to the screen?
i ← i + 1 DISPLAY (i)
DISPLAY (i)
DISPLAY (i) i ← i + 1
i ← i + 1
92
What will the following program display?
OXXOXXOXX
OOOXX
OXXOO
The program is an infinite loop.
93
Which programs is most likely to benefit from the use of a heuristic?
A program that sorts a list of numbers from least to greatest
A program that determines whether or not a given number exists in a list
A program that computes the best move to play in a board game
A program that counts the number of characters in an essay
94
What values can a binary digit represent?
A binary digit can only represent the value 1.
A binary digit can represent either the value 0 or 1.
A binary digit can represent one of the values from 0 - 9.
A binary digit can only represent the value 0.
95
Which is a characteristic of the hierarchical nature of the domain name system (DNS)?
Ability to resend packets when unable to make it to their final destination
Ability to provide data transmission even when some connections have failed
Ability to easily scale the system to allow a large number of domain names
The ability to defend against DNS spoofing
96
Which of the following types of components is necessary for cybersecurity?
I.
Software
II.
Hardware
III.
Human
I and II only
III only
I only
I, II, and III
97
Which statements are true about lossy compression?
Both I and II
I only
II only
Neither I nor II
98
How do routers determine where a packet needs to go?
Routers look at the IP packet header and use the destination address field.
Routers wait for the subsequent packets that contain the destination adress
Routers make the best guess based on the content of the packet
Router ask DNS server for final destination
99
Which of the following CANNOT be determined using only the information in the database?
A particular user’s top ten most played songs of all time
A particular artist’s most popular song of all time
The most popular genre played by a particular user
The date that a song reached its peak popularity
100
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?HelloKarel
Hello Karel
101
Which of the following is considered an unethical use of computer resources?
Using and citing open source code in a personal program
Using an image on a website without giving credit to the original creator
Searching the Internet for an online stream of a copyrighted movie
Downloading shareware onto your computer
102
What will the program above display?
2 7
3 7
2 8
4 8
103
What is the code below displaying?
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
Nothing will be displayed
3, 6, 9, 12, 15
2, 4, 6, 8, 10, 12, 14
104
How often is the Internet Protocol (IP) used in Internet communications?
when 2 computing devices communicate w/ each other over the Internet.
never
used when a computer is loading webpages from the World Wide Web.
when a device sends a realtime audio stream over Internet to another device
105
What is the appropriate name for the procedure?
SPIN()
CAN_ESCAPE()
IS_TRAPPED()
ESCAPE()
106
Which of the following is a characteristic of the hierarchical nature of IP addresses?
The ability for one device to have multiple IP addresses at the same time
The ability to easily change the # of bits used to represent an IP address
The ability to quickly locate an IP address within a large network
The ability to quickly translate domain names into IP addresses
107
How many more values can be represented by one hexadecimal digit than one binary digit?
16 times as many values
2 times as many values
8 times as many values
4 times as many values