CSC 120 Study Guide - Midterm Guide: Structured Programming
champagnegnat971 and 18 others unlocked
26
CSC 120 Full Course Notes
Verified Note
26 documents
Document Summary
In order to make a decision or control a loop, you need to specify a condition that determines the course of action. Condition = an expression involving relational operators () that is either true or false, may also incorporate logical operators (and, or, not) Ansi: determine the order used to compare strings with the relational operators. Boolean variables and literals can assume the values true or false. True/false: the possible truth values of the condition. If blocks make decision based on the true value of a condition. Select case make decisions based on the value of an expression called a selector. Group box control: passive objects that contain related sets of controls. Radio buttons: allow the user to make a single choice from among several options. Calling statement: dim var1 as type1 = functionname (arg) Function procedure header: function functionname (byval par as parametertype) as. Returndatatype: where arg and par must have the same data type, type1 = returndatatype.