The type of control structure that can be used for making decisions in a program based on the value of a Boolean expression.
What is an if statement (or selection)
Bundling commands into one container for making programs easier to write and manage is an example of _______________.
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 process of placing a loop inside another loop.
What is nesting
Sarah needs the Microsoft Office suite in order to complete her school assignments so she borrows her aunt’s software CDs in order to load another copy on her new laptop. What type of infringement has Sarah committed?
What is piracy
An attempt to deny users access to a Web site's resources by flooding the website with requests from multiple systems.
What is a Distributed Denial of Service (DDoS) attack
d <- 10
e <- 20
f <- 30
e <- d
DISPLAY (e)
DISPLAY (d+e)
What will this program display?
What is 10 20
Tiffany 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 Tiffany’s video quality. What most likely occurred when Tiffany uploaded the video onto the video sharing site?
What is lossy compression
The following code should display "even" if the positive number num is even.
IF (MISSING CONDITION)
DISPLAY ("EVEN")
Give a Boolean expression that could replace MISSING CONDITION
What is num MOD 2 == 0
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
A computer program uses 3 bits to represent integers. When the program adds the decimal (base 10) numbers 5 and 3, the result is 0. Name the type of error that occurred.
What is an overflow error