Chapter 1 Flashcards
The …….statement selects for execution a statement list having an associated label
that corresponds to the value of an expression
switch
The …….loop tests the condition at the bottom of the loop instead of at the top
do-while
The only operator that takes three arguments is the …… operator.
?:
The …. loop is the most compact way to iterate through the items in a collection.
foreach
On a 32-bit computer, a variable of int data type takes……. bytes of memory
four
To access the first element of an array, you use an index of ………
0
………is a programming technique that causes a method to call itself in order to compute a result
Recursion
……… are data fields or local variables whose value cannot be modified.
Constants
When an algorithm involves a large number of conditions, a(n)…….. is a compact
and readable format for presenting the algorithm.
decision table
A(n)……. is a graphical representation of an algorithm.
Flowchart