Answer the following statements true (T) or false (F)
1. The Do While…Loop statement behaves differently than the While…End While statement.
2. Because the condition of a While…End While statement is before the body, the body is
executed only once after the condition becomes false.
3. If a While…End While statement’s condition is initially false, the body statement(s) are not
performed.
4. Placing a space character between the symbols that compose an abbreviated arithmetic
assignment operator improves readability.
5. a – = 3 can also be represented by the expression a = a – 3.
1. False. The two statements behave identically.
2. False. Once the condition of a While…End While statement becomes false, the while loop terminates immediately.
3. True
4. False. Placing a space character between the symbols that compose an arithmetic assignment operator is a syntax error.
5. True.
You might also like to view...
Which of the following encryption algorithms support digital signatures and encryption?
A. RSA B. 3DES C. Blowfish D. IDEA
Any hardwired computer instructions can be simulated in _______.
Fill in the blank(s) with the appropriate word(s).