Pseudocode is a mix of natural and programming language. True
Object-oriented design is an alternative to structured-design using the philosophy of encapsulation. True
indexOf is a method for extracting a segment of the text of a string. False
length is a method telling the number of characters in a string. True
Each else in an if-statement is matched with the nearest preceding unmatched if. True
The initialization section of a for loop may contain multiple statements separated by comma (not declarations). True
The termination test section of a for loop may contain multiple statements separated by comma. False
A conditional operator expression can be nested. True
In some cases a while loop may execute its body zero times. True
A loop that repeats itself without ever ending is called an off-by-one error. False
A do-while loop is classified as a pre-test loop. False
$1 is used by bash scripts as a variable to store the first command line parameter. True
%errorlevel% is used to find the result code of the previously executing program in cmd. True
The updating section of a for loop may contain multiple statements separated by comma. True
An inner loop initialization and termination conditions may use the control variable of the outer loop. True
An outer loop can have only one nested inner loop. False
The scope of a control variable declared in a for loop extends from the point where the variable is declared through to the end of the program. False
for-loops can be nested but while-loops cannot. False