stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Duplicate of Chen Zixuan Summative Test Project Flashcards | StudBud
Explore
/
Duplicate of Chen Zixuan Summative Test Project
Duplicate of Chen Zixuan 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
The code records an error when trying to display the total value contained in the list. What type of error?
Syntax error
Overflow error
Runtime error
No error; the program works as intended
2
Why should public key encryption be used?
It cannot be broken with brute force techniques
It uses a symmetric key making it harder to decrypt
It uses an asymmetric key making it harder to encrypt
It is shorter than other ciphers
3
What type of item would you list if you wanted to build a directory that listed the contents of the World Wide Web
webpages
computer networks
computing devices
network routers
4
false AND (true OR NOT (false) )
will return false
True
False
5
A cash register shows your change as $0.0499999 rather than $0.05. How is this possible?
It’s displaying the change owed in a different currency
A rounding error occurred
The amount is represented in hexadecimal rather than decimal
The cash register DISPLAY procedure has an error
6
Which of the following aspects of the Internet has most increased its scalability?
A message sent over the Internet depends on electricity
Any computing device can connect to the Internet
Networking hardware requires materials that must be mined out of the earth
A government can restrict the Internet communications
7
Iterative and selection are needed to find all records in a list that are positive
False
True
8
What is displayed because of executing the code segment?
1 5 7
9
3 9
1 3 5 7 9
9
Which part of the packet contains the sequencing information that's used by TCP to reassemble packets?
None of above
IP metadata
TCP data
TCP metadata
10
What is the proper format for a single line comment?
This is a comment
/* This is a comment
// This is a comment
THIS IS A COMMENT
11
How can financial transactions safely occur on the Internet?
Through the use of double authentication methods
Through the use of symmetric keys
Through the use of frequency analysis
Through certificates issued by Certificate Authorities (CAs)
12
What will the executed code display?
All even numbers between 3 and 12
All odd numbers between 3 and 12
All even numbers between 1 and 12
All odd numbers between 1 and 12
13
A website begins to load immediately, but it takes a long time to load completely and pictures appear slowly, one by one
Low bandwidth, low latency
High bandwidth, low latency
High bandwidth, high latency
Low bandwidth, high latency
14
Which of the following is a single byte of digital information?
110
1001
111000101010
10101010
15
What is the relationship between the Internet and the World Wide Web?
The Internet runs on top of the World Wide Web
The World Wide Web is built on top of the Internet
There are some parts of the World Wide Web that don't use the Internet
The World Wide Web is another name for the Internet
16
A DDoS is a cybersecurity attack that floods a website with too many requests causing it to slow down or crash?
False
True
17
Which devices use the Internet Protocol (IP) when sending data through the Internet?
The laptop computer and desktop computer
All of the devices
The desktop computer
The smart home assistant and the laptop computer
18
Which of the following is the best description of an IP address?
A number that identifies each computing device in the world
A number that identifies Internet-connected devices
An email address that identifies the owner of a domain name
An email address that identifies the owner of an computing device
19
What values can a binary digit represent?
A binary digit can only represent the value 0-9
A binary digit can only represent the value 0 and 1
A binary digit can only represent the value 1
A binary digit can only represent the value 0
20
Which of these online activities is
least
likely to have revealed his location to the stranger?
Granting the social media site access to their geolocation
Reading news sites in a browser with third-party cookies enabled.
Uploading a photo of their house, as taken from the street.
Uploading a photo of their cat sleeping in the garden
21
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
22
A process that reverses encryption, taking a secret message and reproducing the original plain text
Cipher
Cracking Encryption
Encryption
Decryption
23
How can consumers ensure that a website is not a phishing scam before making an Internet purchase?
Go to the website directly rather than clicking a link from an email
Use a firewall to block malware
Call the company directly to be safe
Use antivirus software and keep it up to data
24
What is returned by
cube(cube(2))
?
8
128
512
64
25
Which type of compression do zip files use?
Lossless
Max compression
Non-compressed
Lossy
26
Which of these protocols was NOT used by the browser in fetching and loading a webpage?
IP
HTML
HTTP
TCP
27
What is the code below displaying?
Nothing will be displayed
2, 4, 6, 8, 10, 12, 14
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
3, 6, 9, 12, 15
28
Which of the following is a true statement about input A?
Input A must be false
There is no possible value of input A
Input A must be true
Input A can be either true or false
29
How many times do FOR EACH loops run with lists?
Until the index for the list is 0
Once
For the LENGTH of the list
Until the user types STOP
30
_____ can reflect existing human biases
Computing innovations
Computing algorithms
Computing challenges
Computing biases
31
Which of the following is NOT an example of metadata for an image file?
Image resolution
Size of the image
Date the image was created
Copy of each image pixel
32
How do routers determine where a packet needs to go?
Routers wait for subsequent packets that contain the destination address
Routers ask DNS servers for the final destination of each packet
Routers look at the IP packet header and use the destination address field
Routers look up the packet ID and find the destination address in database
33
All computing devices are capable of being interconnected to form computer networks.
True
False
34
We can convert a number from decimal to octal (base 8) by repeatedly subtracting the largest possible powers of what?
8
7
2
9
35
In some coding languages, the above code will result in an error. Why?
The multiple levels of abstraction used oversimplified the coded
The range of integer values and mathematical operations is limited
logical error
The value of the product will always be 0
36
All computing devices are able to run computer programs.
True
False
37
Bill receives an unsolicited email from an address that appears to be his bank and ask Bill to verify his account info
Spearing
Social Engineering
Phishing
Denial of Service
38
As the movie is coming to a close, the screen splits and Zach is shown a list of recommended movies to watch next
Information filtering
Preference categorization
Statistical probability model
Reference grouping
39
What is the value of checkUp after the code runs?
False
4999
checkUp
True
40
Which of the following storage methods makes accessibility of data easiest for people in multiple locations to ultilize
Magnetic Drive System. as it can handle all data types
Mainframe Computer, as it can be accessed from many computers
Cloud Drive, as it allows for multiple users and version control
USB Flash Drive, as it can be copied and handed to multiple users
41
Which of the following could
NOT
be a address when A web browser contacts a server using IPv4
174.260.45.144
92.11.198.113
54.116.188.246
128.198.232.65
42
All computing devices have ways to store data for later use.
False
True
43
All data traveling over the internet is in binary.
True
False
44
What will the following code segment display?
6
3
11
Nothing will be displayed due to an error
45
Which of the following lines of code would cause an error with a robot?
CAN_MOVE (north)
CAN_MOVE (right)
NOT CAN_MOVE (left)
NOT CAN_MOVE (forward)
46
Her current connection speed is 700 kilobytes per second. How long will the download a 400-megabyte video
5.71
1.75
571
175
47
Which two protocols are responsible for breaking the data into packets and putting it back together at the destination?
SMTP
TCP
HTTP
FTP
48
Which of these steps would NOT increase privacy?
Disabling auto-play of video and audio files in the browser's settings
Setting the default search engine to one that does not track search history
Changing the browser's settings to clear browsing history every day
Changing the browser's settings to disable all cookies
49
How does creating and testing simulations helps scientists for scientific research?
If scientists need information to create a hypothesis
If a concept would be too expensive to perform in real life
All of the above are potential outcomes
If a simulation continuously provides a result that is considered abnormal
50
Which of the following best explains what happens when a new device is connected to the Internet?
A Website is assigned to the device
A device driver is assigned to the device
An Internet Protocol (IP) address is assigned to the device
A packet number is assigned to the device
51
_____ are important tools for finding information and recognizing patterns in data
Data filtering systems
Visual tools
Data extracting systems
Data monitoring systems
52
What will the following program display?
OXXOXXOXX
OOOXX
The program is an infinite loop
OXXOO
53
Which of the following best approximates the minimum possible time to run all five processes?
8 seconds
10 seconds
7 seconds
18 seconds
54
Which of the following classifies as metadata about a webpage?
The tags that make up the body of the webpage
A table on a webpage
The title of the webpage
A list on a webpage
55
Which of the following statements are NOT true of scientists using large datasets?
Scientists using large data sets are less effective in their research
A single scientist is not able to analyze large, complex datasets
The costs associated with medical advancements are reduced
People from various disciplines increases the complexity of the analysis
56
which of these questions could
not
be answered by the location data?
Where is the employee currently located?
How many customers did the employee go to lunch with?
How long did an employee spend in the restaurant during lunch time?
What path did an employee take from home to work?
57
Which of these options is not a way of making the code more readable?
Minimizing the use of loops so the program flow will be clearer
Well-named variables and procedures
Consistent formatting within the code
Procedures that have one purpose
58
A scalable system is built on open protocols
False
True
59
Protocols measure the latency on the Internet to determine the fastest path to send the data
True
False
60
Which of the following is NOT true about TCP/IP packets?
Messages are broken into packets to improve reliability of the internet
TCP guarantees that no packets are ever dropped
Packets can be routed on different paths from sender to receiver
If packets arrive out of order the message can be reassembled
61
Convert the binary number 10011011 to decimal
155
157
154
9F
62
Which best describes the role of TCP?
A common protocol for encrypting and decrypting data
Setting the rules for a numerical label connected to the internet
The foundation of data communication for the World Wide Web
The set of rules for the path packets taken on the fault-tolerant internet
63
Which of the following best describes the result of running the program code?
The number 0 is displayed
The number 10 is displayed
The number 6 is displayed
Nothing is displayed; the program results in an infinite loop
64
In public key cryptography, the sender uses the recipient’s public key to encrypt. Which is needed to decrypt
The sender’s private key
The recipient’s private key
The sender’s public key
The recipient’s public key
65
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
Use of persuasive techniques within the source
Sponsorship of the article or publisher
66
In what way could the uploaded video be used as PII?
The length of the video indicate how much time Bailey spends on YouTube.
The size of the houses can indicate where Bailey lives.
The street addresses could help locate where Bailey lives.
The quality of the video can help indicate the type of phone Bailey has.
67
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 to reduce the size of a file for transmission
Data compression can be used for pictures and video only
68
What is the minimum number of lines that must be cut to isolate F completely?
6
0
8
4
69
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
The behavior of fireflies during the summer months
Calculating PSAT scores for a school district
Collecting recordings using ultrasonic microphones
70
What is true about this binary data?
It could not represent a number
It might represent a number
It might represent a number or an English word
It might represent a number, an English word, or a Chinese word.
71
Which of the following is the most likely data privacy concern for the original browser?
Cookies are used to acquire users’ private encryption keys
Information about your personal preferences are collected
Cookies are responsible for spam and create pop-up advertisements
Cookies keep track of and store your information
72
If the variables onTime and absent both have the value false, what is displayed as a result of running the code segment?
Hello. Is anyone there?
Is anyone there?
Hello. Better late than never.
Better late than never.
73
Which unit is the smallest?
Kilobyte
Megabyte
Gigabyte
Terabyte
74
Which can make an algorithm more readable except?
Well-named variables and procedures
Minimizing the use of loops so the program flow will be clearer
Consistent formatting within the code
Procedures that have one purpose
75
What will be the values of x and y after this code segment executes?
x is 20, y is 20
x is 40, y is 30
x is 40, y is 40
x is 30, y is 40
76
x <- (x + 42) is a Boolean expression
False
True
77
Whenever you visit a page on the web, your computer uses HTTP to download that page from another computer
True
False
78
What will the program above display?
2 8
4 8
3 7
2 7
79
Using 4 bits to represent nonnegative integers, which of the following would result in integer overflow?
4 * 4
3 + 12
15 * 1
1 + 14
80
Which code segment will correctly add a name to a team roster?
Neither Block 1 nor Block 2
Block 1
Both Block 1 and Block 2
Block 2
81
How do Internet packets travel to their destination?
Router to router based on the Traveling Salesman algorithm
Along the same path to stay in order
Timed to arrive at the destination in their correct order
Along a variety of paths
82
What will be the output of the following program?
14
14 6
9 5 7
7 5 9
83
Software, hardware, and human are all necessary components for cybersecurity?
True
False
84
Which of the following best approximates the minimum possible time to run all three processes in series?
28 seconds
4 seconds
15 seconds
9 seconds
85
What is the purpose of the DMCA?
To give acknowledgement to the creator of a digital work when it is used
To provide the software to share digital files legally
To provide protection for intellectual property
To enable music and movie downloads and streaming for wider sharing
86
A video is too large to send. How can the video be compressed to get it sent in full resolution?
Lossy compression will make the file small enough to send
Lossless compression will allow it to be sent in full resolution
Any compression technique will be sufficient
They should be combined for the best compression
87
Which of the following will call the function drawStar?
drawStar
function drawStar
drawStar()
function drawStar()
88
In the following flowchart, what is the value of RESULT?
Always true
Always false
True when both A and B are true
True when either A or B are true
89
Which of the following is NOT metadata for the picture?
The time the picture was taken
The location where the picture was taken
The memory space taken up by the picture
The picture of the dog
90
What will be the value of x after this code segment executes?
For values greater than 5, x will be unchanged.Rather, x will decrease b
For all values of x, x will remain unchanged
For all values of x, x will decrease by 1
For values greater than 5,x will increase by 1. Rather,x will decrease by 1
91
According to the domain name system (DNS), which of the following is a subdomain of the domain example.com?
example.org
example.com.org
example.co.uk
about.example.com
92
What can help with identifying and correcting program errors?
Revisiting requirements
Consolidating testing
Collaboration
Clustering requirements and test
93
What records can the analytics website store about the browsing behavior of an individual?
They cannot record any of the webpages visited by the user
They can record all the webpages that the individual has ever visited.
They can record all the webpages that the individual has clicked on
They can record all the webpages that have their cookie
94
What are two aspects of efficiency?
execution time and length of code
memory usage and length of code
execution time and memory usage
wall clock time and CPU time
95
What should replace <missing condition> so that the program below displays TRUE 60% of the time?
x < 6
x >= 6
x >= 9
x > 10
96
Approximately how much bigger (how many more bytes) is a megabyte than a kilobyte?
1,000,000,000 times bigger
1,000,000 times bigger
100,000 times bigger
1,000 times bigger
97
Which of these lists correctly counts from 1 to 5 in binary?
0001, 0010, 0011, 0100, 0101
0001, 0011, 01111, 1111, 11111
0001, 0010, 0101, 0100, 0011
0001, 0010, 0100, 1000, 0101
98
Which of these values can be stored in a single bit?
[0,4]
[1,2]
2
0
99
What percentage of the time will the following program display a number?
75%
20%
25%
10%
100
Which of the following illustrate ways that the internet facilitates collaboration
I only
II and III only
I and III only
I, II, and III