The correct order from least to greatest of the following binary values
0111, 1110, 1101
What is 0111, 1101, 1110
The correct order from least to greatest of the following;
binary 1010, decimal 11, decimal 10, binary 1100
What is binary 1100
Bundling commands into one container for making programs easier to write and manage is _______________.
What is (procedural) abstraction
RGB color values mimic the human eye by representing colors using 3 values of ____ bits each.
What is 8 bits
The best approximation of "speed up" when 2 processors are run in parallel. Assume the following times for 3 processes to execute on a single processor--where none are dependent on the other: x--> 40 sec, y-->60 sec, z--> 50 sec
assume speed up is the minimum time for all three processes when 2 processors are run in parallel
What is 150 /90 (for parallel take most efficient time for both then add sequential times and divide by parallel)
Suppose a sorted list contains 1000 elements. How many iterations would be required to use binary search to determine if a value is in this list?
What is log2 of 1000 or 10
In determining the best route to take on recent trip, a maps application gave the user three options based on traffic patterns, road construction, and roadways. This term refers to the method for choosing the best alternative among the three possible routes.
What is a heuristic solution
A person wants to move an image from one device to the other. An algorithm is run on the image so that repeated pixel colors are stored more efficiently. This causes the image to reduce in size and changes the file type, so the image can be viewed easily.
What is lossless compression
The failure to create a correct condition that controls a repeat statement results in this type of programming error.
What is an infinite loop
What is displayed
c <--5
REPEAT UNTIL c<=1
DISPLAY c+2
c <-- c-2
What is 7 5
d <- 10
e <- 20
f <- 30
e <- d
DISPLAY (e)
DISPLAY (d+e)
What is 10 20
Tiffani has a channel on a popular video sharing site and has over 100 thousand subscribers. After making her latest video and uploading to her channel, she notices that the quality of video better on her home computer than the uploaded version. This is the likely cause of Tiffani’s video quality.
What is lossy compression
What is displayed
c <--5
REPEAT UNTIL c<=1
c <-- c-2
DISPLAY c+2
What is 5 3
The binary number 00101101 in base-10.
What is 45
Assuming that forward tells a robot to move forward by 10 pixels and turn tells it to turn right by 90 degrees, this shape would be drawn by the following algorithm. forward forward turn forward turn forward forward turn forward turn
What is a rectangle
i <- 0
sum <- 0
REPEAT UNTIL i = 4
sum <- sum + i
i <- i + 1
DISPLAY (sum)
What is 6