Consider this sequence of bits:
1011001010010010
How many bytes long is that sequence of bits?
Choose 1 answer:
What is the relationship between the Internet and the World Wide Web?
Choose 1 answer:
This short program displays the winning result in a ship naming contest:
DISPLAY ("Boaty") DISPLAY ("McBoatFace")
Part 1: How many statements are in the above program?
Part 2: What does the program output?
Choose 1 answer:
BoatyMcBoatFace
Boaty McBoatFace
Boaty McBoatFace
Part 1: 2
Part 2:
(Choice B)
Boaty McBoatFace
ScootALot is a scooter rental service. At the end of each day, they hire contractors to pick up scooters and distribute them optimally around the city.
The distribution algorithm considers all the possible locations for the scooters, compares that to the density of customers, and comes up with the optimal location for each scooter.
As the company becomes more popular, they realize their algorithm is taking an unreasonable amount of time to come up with optimal scooter locations.
What is the best way to improve the run time of the algorithm?
Choose 1 answer:
Talisa is an engineer that is helping a museum to digitize and analyze all of its historical books. After running the software over the first 100 books, she realizes that the museum computer has run out of space to store the digital files.
Which technique is the most needed to help them digitize the remaining books?
Choose 1 answer:
TSCII is a character encoding scheme that can encode text written in the Tamil language. TSCII uses one byte to encode each character.
This binary data is a TSCII encoding of a single Tamil word:
\[\texttt{1111111}\texttt{0}\texttt{110}\texttt{0}\texttt{0}\texttt{10}\texttt{0}\texttt{110}\texttt{0}\texttt{0}\texttt{10110111010}\]
How many characters are encoded in that binary data?
Choose 1 answer:
4
Which of these statements about the digital divide is true?
Choose 1 answer:
This list represents the top runners in a marathon, using their bib numbers as identifiers:
frontRunners ← [308, 147, 93, 125, 412, 219, 73, 34, 252, 78]
This code snippet updates the list:
tempRunner ← frontRunners[3] frontRunners[3] ← frontRunners[2] frontRunners[2] ← tempRunner
What does the frontRunners variable store after that code runs?
Choose 1 answer:
Ophelia is working on a program that uses machine learning to analyze hospital CT scans for signs of cancer.
With her first version of the program, the computer took an average of 24 minutes to analyze 1000 images. To improve the performance, she parallelized the image analysis operation. When running the parallelized program on a hospital computer, the computer took an average of 6 minutes to analyze 1000 images.
What is the speedup of the parallel solution?
4
18
1/4
6
4
Hong Lien is a research director for NASA. She is hoping to build a system that can process millions of images from satellites orbiting the earth and analyze them each day for signs of deforestation and ocean debris.
She decides to hire an engineer specifically for the task of building the system and reviews many resumes.
Which of these lines on a resume is most pertinent to this task?
Choose 1 answer:
Audacity is an open source audio editing application that provides a variety of effects that you can apply to audio files.
Which of these effects sounds like a lossy operation?
Choose 1 answer:
(Choice C)
One problem with packet-based messaging systems like the Internet Protocol is that packets might arrive out of order.
TCP is a protocol that can deal with out-of-order packets. When used over IP, each packet contains a TCP segment with metadata and data.
Which of the following best describes how TCP can reassemble out-of-order packets?
Choose 1 answer:
(Choice A)
Marlon is programming a simulation of a vegetable garden. Here's the start of his code:
temperature ← 65 moisture ← 30 acidity ← 3 DISPLAY (acidity) DISPLAY (temperature) DISPLAY (moisture)
After running that code, what will be displayed?
3 65 30
Which of these applications is NOT an example of distributed computing?
Choose 1 answer:
A national bank opts to use machine learning for deciding whether to award loans to applicants.
The engineers create the algorithm by training a neural network on their large database of previous loan applications and decisions (made by loan officers).
After they start using the algorithm for new loan applicants, they receive complaints that their algorithm must be biased, because all the loan applicants from a particular zip code are always denied.
What is the most likely explanation for the algorithm's bias?
Choose 1 answer:Choose 1 answer:
An environmental engineer is researching a new kind of biodegradable plastic and finds exciting results for the rate of decomposition.
The engineer wants to make sure that their findings will be available to a diverse audience. Their hope is that journalists, professionals from other industries, and future environmental engineers will be able to read them.
Which type of publication would best support the engineer's goals?
Choose 1 answer:Choose 1 answer:
Which of these is not a protocol that powers the Internet?
Choose 1 answer:
(Choice E)
A software engineer uses this nested conditional for the online mapping software they're building.
IF (lat > 38 AND lng < -134) { direction ← "NW" } ELSE { IF (lat > 38 AND lng > -134) { direction ← "NE" } ELSE { IF (lat < 38 AND lng < -134) { direction ← "SW" } ELSE { IF (lat < 38 AND lng > -134) { direction ← "SE" } } } }
When lat is 37.5 and lng is -131.2, what will be the value of direction?
SE
The two procedures below are both intended to calculate the "range" of a list of numbers, the difference between the maximum and minimum numbers in a list.
Procedure #1:
PROCEDURE calculateRange(numbers) { min ← numbers[1] max ← numbers[1] range ← max - min FOR EACH num IN numbers { IF (num > max) { max ← num } ELSE { IF (num < min) { min ← num } } range ← max - min } RETURN range }
Procedure #2:
PROCEDURE calculateRange(numbers) { min ← numbers[1] max ← numbers[1] FOR EACH num IN numbers { IF (num > max) { max ← num } ELSE { IF (num < min) { min ← num } } } RETURN max - min }
Which of the following best describes the two procedures?
Choose 1 answer:
The Chicago Police Department uses a database to keep track of reported crimes. After anonymizing the data, they make it freely available online.
Here's what the crime data set includes:
Which of the following questions can be answered using the available data?
👁️Note that there may be multiple answers to this question.
Choose all answers that apply:
A, B, C
A math student is writing code to verify their project answers:
sideLength ← 6 area ← (SQRT(3) / 4) * (sideLength * sideLength)
That code relies on a built-in procedure SQRT() that calculates the square root of a number. After running the code, area stores 15.588457268119894.
Their classmates runs the same calculation on their own computer. Their program results in an area of 15.58845726804.
The two values are very close, but not quite the same.
Which of these is the most likely explanation for the difference?
Choose 1 answer:Choose 1 answer:
What does it mean for a system to be scalable?
A scalable system can handle an increasing number of users.
The code segment below uses a loop to repeatedly operate on a sequence of numbers.
result ← 1 i ← 6 REPEAT 6 TIMES { result ← result * i i ← i + 3 }
Which description best describes what this program does?
Choose 1 answer:
(Choice G)
A school IT administrator develops a procedure that compares two lists of grades and returns the percentage of grades in the second list that are higher than the related grade in the first list. They plan to use the procedure to measure student improvement.
As input, the procedure takes two lists of numbers:
PROCEDURE calcPercentGreater(list1, list2) { numGreater ← 0 ind ← 1 REPEAT UNTIL ( ind > LENGTH(list1) ) { IF (list2[ind] > list1[ind]) { numGreater ← numGreater + 1 percentGreater ← numGreater / LENGTH(list1) } ind ← ind + 1 } RETURN percentGreater }
The administrator verifies the procedure outputs the percentage correctly, but they still want to improve the efficiency of the procedure by reducing the number of operations required.
Which change will reduce the most number of operations while still outputting a correct answer?
Choose 1 answer:
🤔
Shameeka is setting up a computing system for predicting earthquakes based on processing data from seismographs (devices that record earth movements). The system will start off with data from local seismographs but eventually handle millions of data points from seismographs worldwide.
For her system to work well, what is an important feature?
Choose 1 answer: