Chapter 4 - 5 Flashcards
ANSI, ANSCII
The value of each character produced by a keyboard
Relational Operators
Symbol Numeric String Date
= equal to identical to same as
< > not equal to different from different than
< less than precedes precedes alphabetically chronologically > greater than follows follows alphabetically chronologically
= greater than follows follows
or equal to alphabetically chronologically
or is identical to or the same as
Logical Operators
cond1 And cond2
is true if both cond1 and cond2 are true. Otherwise, it is false.
cond1 Or cond2
is true if either cond1 or cond2 (or both) is true. Otherwise, it is false.
Not cond1
is true if cond1 is false, and is false if cond1 is true.
Boolean Data Type
any expression that evaluates to either True or False
IF Block
allows a program to decide on a course of action based on whether a certain condition is true or false
Nested IF
a situation in which an action part of an If blocks consists of another If block
Else IF
an extension of the if block allows for more than two possible alternatives with the inclusion of this type of clause
Select Case Block
an efficient decision-making structure that simplifies choosing among several actions. it avoids complex If constructs; determined by the value of an expression called a selector
List Box (Add)
lstBox.Items.Add()
Radio Button
allows the user to make a single choice from among several options
Check Box
a small square and a caption that presents the user with a yes/no choice
Group Box
groups radio buttons together
Function
used to break complex problems into small problems to be solved one at a time; has a single output that can be of any data type; returns the output
Sub Procedure
used to break complex problems into small problems to be solved one at a time; function procedures that don’t return values; most common uses are to receive input, process input, or display output
Header
the first line of the procedure; contains the parameters