Fill in the blanks in each of the following statements: a. All programs can be written in

Question:

Fill in the blanks in each of the following statements:

a. All programs can be written in terms of three types of control structures:                                 and                 .

b. The                 statement is used to execute one action when a condition is true and an- other when that condition is false.

c. Repeating a set of instructions a specific number of times is called                  iteration.

d. When it’s not known in advance how many times a set of statements will be repeated, a(n) ________ value can be used to terminate the iteration.

e. The                  structure is built into Java; by default, statements execute in the order they appear.

f. Instance variables of types char, byte, short, int, long, float and double are all given the value           by default.

g. If the increment operator is                 to a variable, first the variable is incremented by 1, then its new value is used in the expression.

h. When the declaration int y = 5; is followed by the assignment y += 3.3; the value of y is                 .

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Java How To Program Early Objects

ISBN: 9780134743356

11th Edition

Authors: Paul Deitel, Harvey Deitel

Question Posted: