Font size
WorksheetsEXP CS Quiz1
Total questions: 10
Worksheet time: 5mins
Which of the following might have a computer inside?
Cellphone
Hand-held video game
Flat screen TV
MP3 music player
What is a bitmap?
A program that loads the OS
Houses main memory
Maps the computer's memory
Defines the display space for each pixel
What does 5 + 2*2 - 7 evaluate to?
7
2
-5
None of the above
What it true about PEMDAS?
A way to remember order of precedence.
Expressions in parenthesis are evaluated first
Remembered with "Please excuse my dear aunt Sally"
Always evaluated from left to right
Evaluation blocks -
Provides a visual way to indicate the order of operations in an expression
Must have one function at the top of the block
Represents the structure of an expression
All the above
What is the expression for this Evaluation Block?
(16 + 2) * (12 / 4)
(12 / 4) * (16 + 2)
18 * 3
(* (16 + 2) (/ 12 4))
A Circle of Evaluation is another name for an Expression?
True
False
A mathematical expression is -
Always composed of two numbers
An instruction for doing something
Like a sentence
Evaluated from inside out
What is the value of this Evaluation Block?
7 * 2 + 24 / 4
20
(7 * 2) + (24 / 4)
16
What was the first video game ever produced?
Pong
Tic-Tac-Toe
Spacewar
Mario
