Chapter 4 Flashcards

1
Q

single-alternative selection structure

4-6

A

requires one or more actions to be taken only when its condition evaluates to true.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A dual-alternative selection structure,

4-9

A

requires one set of instructions to be followed only when the condition is true and a
different set of instructions only when it is false.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

decision symbol

4-2

A

represent the selection structure’s condition (decision).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

statement block

4-3

A

A set of statements terminated
by an Else, End If, Loop, or Next clause

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

comparison operators

4-4

A

= opposite <>, >, <=, <, >=

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Difference Between Comparison and Arithmetic

4-5

A

Arithmetic = signs ><
Comparison = basic math -, +

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

logical operators

4-11 and 4-12

A

combine two or more
conditions, called subconditions, into one compound condition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

compound condition

A

evaluate to either True or False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

truth tables

4-13

A

summarize how the computer evaluates the logical operators
in an expression.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

ToUpper method and ToLower method

4-19

A

Full uppercase and Full lowercase text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Trim method

4-20 and 4-22

A

removes any space characters from both the beginning and the end of a string.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

nested selection structure

4-26

A

selection structure’s true path or its false path contains another selection structure, the inner selection structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

multiple-alternative selection or extended

4-30

A

selection structure that can choose from several different
alternatives.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Select Case

4-32

A

e keywords Select Case, followed by a selectorExpression, which can contain any combination of variables, named constants, literals, keywords, functions, methods, operators, and properties.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

check box

4-37 and code 4-38

A

option that the user can either choose to select or choose not to select.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Radio buttons

4-41 and code 4-42

A

limit the user to only one choice from a group of two or more related but mutually exclusive options

17
Q

group box

4-45

A

container for other controls and is typically used to visually separate related controls from other controls on the form

18
Q

KeyChar property code

4-48

A

e.keychar (comparison operators)

19
Q

Handled property

4-48

A

e.Handled (comparison operators)

20
Q

arithmetic assignment operators

A-7

A

abbreviate instead of intNum= Intnum + 1 Use Int+= 1