You would use this data type to store a True or False value
What is a boolean?
The base number system used by computers, consisting of only 0s and 1s
What is binary? or What is base 2?
The value of store after the following statements:
score = 5
score = score + 10
This is the process in which you take data and make it smaller
What is compression?
The name of a block of code that performs a specific use and can be reused or called multiple times.
What is a procedure?
This is the variable type you would use to store 4 or -2.3
What is numeric?
In the context of files (like photos), the "data about the data" (e.g., the date a photo was taken or the GPS location)
What is metadata?
The result of:
14 mod 4
What is 2?
When you have an image and you reduce the file size by permanently throwing away some data (lowering the quality)
What is Lossy Compression?
The process of simplifying complex systems by hiding details and giving descriptive names
What is abstraction?
You would use this data type to store a sentence or a phrase
What is a String?
The decimal (base 10) equivalent of the binary number 0101
What is 5?
What is the value of canPlay?
hasHomework <- true
isWeekend <- false
canPlay <- (NOT hasHomework) OR isWeekend
What is False?
When you compress a file so that it can be restored to its exact original state (like a ZIP file).
What is Lossless Compression?
True or False: A Procedure cannot call another procedure from inside of it's code
What is False
The evaluation of the following:
True OR False
What is True?
This occurs when a calculation produces a result that is too large to be stored in the allocated number of bits
What is overflow error?
This is displayed when age is 16:
IF (age > 18) {
DISPLAY("Adult")
} ELSE {
IF (age = 16) {
DISPLAY("Sweet 16")
}
DISPLAY("Student")
}What is Sweet 16 Student?
A user wants to save a data file on an online storage site. They would like to reduce the size of the file, and be able to completely restore the file to its original version. This is the type of compression they would use.
What is lossless compression?
This is what you call the input into a procedure. These values are put inside of parenthesis.
What are parameters?
What type of variable would be most appropriate for storing 25 student names?
What is a list?
A group of 8 bits is called this
What is a byte?
The value of x after this code:
x <- 1
REPEAT 3 TIMES {
x <- x * 2
}
What is 8?
Music in the real world is continuous (analog). This is the process we use to put it on a computer, where we take measurements at regular intervals.
What is Sampling?
This is the keyword that will end a procedure and send a value back
What is return?