␡
- 4.1 Introduction
- 4.2 Algorithms
- 4.3 Pseudocode
- 4.4 Control Structures
- 4.5 If...Then Selection Statement
- 4.6 If...Then...Else Selection Statement
- 4.7 Nested If...Then...Else Statements
- 4.8 Repetition Statements
- 4.9 Compound Assignment Operators
- 4.10 Formulating Algorithms: Counter-Controlled Repetition
- 4.11 Formulating Algorithms: Nested Control Statements
- 4.12 Using the Debugger: Locating a Logic Error
- 4.13 Wrap-Up
- Summary
- Terminology
- Self-Review Exercises
- Answers to Self-Review Exercises
- Quick Quiz
- Exercises
- Making a Difference Exercises
This chapter is from the book
Terminology
- += addition assignment operator 113
- AcceptButton property of a Form 116
- action 104
- action expression (UML) 106
- action state (UML)106
- action state symbol (UML) 106
- active control 119
- activity diagram (UML) 105
- activity of a portion of a software system 106
- algorithm 104
- break mode 130
- breakpoint 129
- bug 127
- Clear method of a ListBox's Items property 120
- compound assignment operator 113
- control statement 105
- control-statement nesting 107
- control-statement stacking 107
- control structure 105
- control variable 116
- Count property of a ListBox's Items property 120
- counter 116
- counter-controlled repetition 116
- debugger 127
- decision symbol in the UML 108
- default Button 116
- definite repetition 116
- diamond symbol in the UML 106
- Do Until...Loop repetition statement 107
- Do While...Loop repetition statement 107
- Do...Loop Until repetition statement 107
- Do...Loop While repetition statement 107
- dotted line in the UML 106
- Double primitive type 119
- double-selection statement 107
- Else keyword 109
- ElseIf keyword 111
- Enabled property of a control 122
- F format specifier 121
- fatal logic error 113
- final state in the UML 106
- first refinement in pseudocode 122
- fixed-point number 121
- floating-point literal 119
- floating-point number 119
- Focus method of class Control 119
- For Each...Next repetition statement 107
- For...Next repetition statement 107
- Format method of class String 121
- format specifier 121
- formatted output 121
- GoTo statement 105
- guard condition in the UML 108
- If...Then single-selection statement 107
- If...Then...Else double-selection statement 107
- index 120
- initial state in the UML 106
- instruction pointer 130
- Items property of a ListBox 119
- iteration (looping) 120
- ListBox class 115
- Locals window of the debugger 131
- logic error 113
- loop 107
- loop-continuation condition 107
- loop-termination condition 107
- looping statement 107
- lvalue ("left value") 114
- margin indicator bar 129
- merge symbol in the UML 112
- multiple-selection statement 107
- nested If...Then...Else statement 110
- nonfatal logic error 113
- note in the UML 106
- off-by-one error 129
- order of actions in an algorithm 104
- procedure for solving a problem 104
- program control 105
- pseudocode 105
- Quick Info box in the debugger 130
- repetition statement 111
- repetition structure 105
- second refinement in pseudocode 123
- Select...Case multiple-selection statement 107
- selection structure 105
- sequence structure 105
- sequential execution 105
- single-entry/single-exit control statement 106
- single-selection statement 107
- small circle symbol in the UML 106
- solid circle symbol in the UML 106
- Step Over command (debugger) 131
- structured programming 105
- top-down, stepwise refinement 122
- top in pseudocode 122
- total 117
- transfer of control 105
- transition arrow in the UML 106
- transition in the UML 106
- While...End While repetition statement 107
- workflow of a portion of a software system 106