Question types

Start with

Question limit

of 13 available terms

Print test

13 Matching questions

  1. How do you read user input from terminal?
  2. In order to bypass a group of statements in a loop but continue with the loop thereafter use...
  3. True or False. You can have multiple expression for any of the fields in a for loop.
  4. How do you left justify in field width specification?
  5. A ___ statement can always be translated into an equivalent ____ statement.
  6. To omit a field from a for loop simply...
  7. Execution of the ____ statement causes the program to immediately leave the loop it is currently executing
  8. What is the syntax of a while loop?
  9. How to use NSLog to right justify within a number of spaces?
  10. The general format of the for statement is
  11. What is the syntax of the do-while statement?
  12. The relational operators have _____ precedence than all arithmetic operators
  13. True or False. A variable defined in the for loop field is known only inside the loop.
  1. a For While
  2. b True. It is called a "local" variable and is inexcessible outside the loop.
  3. c The continue statement.
  4. d scanf("%i", &variableName);
  5. e while (expression) {program statements};
  6. f %2i (where 2 is the number of spaces or column width)
  7. g break
  8. h lower
  9. i do {program statement} while (expression);
  10. j Use a semicolon with no expression
  11. k %-2i (where 2 is the width of the column)
  12. l for (n = 0; n<=200, ++n) {program statement};
  13. m True.