1. What statement ends a loop?

a. next.

b. end loop.

c. nest?

 


2. Which statement starts a loop?

a. for x=1 to 5.

b. for nextx.

c. for nest=0.

 


3. Which can be used to make a table?

a. For t=1-10 table.

b. Table(2,2).

c. 10 for x=1to3, 20 for y=1to2, 30 nexty, 40 nextx.

 


4. What does nested means?

a. Bird like.

b. in a treed form.

c. one loop within another?

 


5. Which sends the user to a subroutine?

a. Goto sub 3000.

b. Gosub 100.

c. Ongosub 100 Java.

 


6. Subroutine are useful because they?

a. they are under regular routines.

b. They save space and can be recalled again and again like functions in C++ or in math.

c. Out of the line of the action.

 


7. ONGOSUB statements are used in what kind of statement?

a. menus and cases.

b. venues and traps.

c. return statements

 


8. A loop processes how many statements?

a. It depends on the return statement.

b. 3.

c. It depends on the loop counter maximum.

 


9. Why use if statements?

a. To be consistent with the FAA.

b. To switch control to another line.

c. It is easier to program and control.

 


10. A subroutine must be smaller than the regular program?

a. true.

b. no equal.

c. false