Home > Articles > Programming > Windows Programming Show
This chapter is from the book SummarySection 4.2 Algorithms
Section 4.3 Pseudocode
Section 4.4 Control Structures
Section 4.5 If...Then Selection Statement
Section 4.6 If...Then...Else Selection Statement
Section 4.7 Nested If...Then...Else Selection Statements
Section 4.8 Repetition Statements
Section 4.9 Compound Assignment Operators
Section 4.10 Formulating Algorithms: Counter-Controlled Repetition
Section 4.11 Formulating Algorithms: Nested Control Statements
Section 4.12 Using the Debugger: Locating a Logic Error
What is the structure that causes a statement or a set of statements to execute repeatedly?A repetition structure causes a statement or set of statements to execute repeatedly. Repetition structures are used to perform the same task over and over. A condition-controlled loop uses a Boolean (true/false) condition to control the number of times that it repeats.
Which type of structure is used to determine which of two sets of instructions to execute?Which type of structure is used to determine which of two sets of instructions to execute? The Loop instruction causes a set of instructions to execute as long as a specified Boolean expression is true.
What is a statement that specifies a variable's name and type?You declare a variable to specify its name and characteristics. The declaration statement for variables is the Dim Statement.
Which symbol is used for an assignment statement?Syntax. The symbol used in an assignment statement is called as an operator. The symbol is '='. Note: The Assignment Operator should never be used for Equality purpose which is double equal sign '=='.
|