Mid term Speeding
Speed Limit, Driving speed ,Points, Birthday, Color of car
Dim speedLimit As Double = 0
Dim drivingSpeed As Double = 0
Mid term Speeding
Dim points As Integer = 1
Dim ticket As String =
Mid term Boar
Weight, color, gender, snarling.
Dim weight As Integer = 0
Dim color As String = "
Dim gender As String = "
Dim snarling As String = "
Dim reaction As String = "
Call boarA(weight, color, gender)
Unit 1 Assignment 1: Homework
1) Why is the CPU (Central Processing Unit) the most important component in a
Without a CPU, a computer would be unable to support software.
2) What number does a bit that is turned on represent?
What number doe
5. The name and data type.
6. Unpredictable values.
3. A. b = a + 2
B. a = 8 * 4
C. b = a / 3.14
D. a = b - 8
4. A. 12
5. Declare real Cost
6. Declare int total = 0
7. Set count = 27
1. A module may be written once and then executed any time it is needed
2. Header and body. Header indicates the starting point of the module. Body is a list of
statements that belong to the module.
3. The compu
An action only occurs if the decision is true
Dual alternative decision structures
Nested decision structures
Both conditions must be true
Either condition must be true
A flag is a variab
Talk to the customer
Pseudocode is fake code
Input, Process, Output
User-friendly means: programs are easy to use.
Set Height = Height
How to do case
Flow chart symbols 5 types
Boolean = and, or, not and=both true, or= either be true
Mathematical operators =, !=, <, >, <=, >=, if 1 <= 1 then true
How case structure is built start, middle, end
What type of structure repeats loops= do whil
What type of division structure a case statement is?
Single Decision(1 Decision)
Know how to read a flow chart. Know the shapes., Box, oval, right slant and left slant
Boolean Operators- AND, OR, NOT
Mathmatical operators =, !=, <,>, <=, >=
Know how to bu