Words of Wisdom:

"what goes around comes around" - NBIGFAMILY

Dream Jobs

  • Date Submitted: 08/11/2010 03:27 PM
  • Flesch-Kincaid Score: 65.9 
  • Words: 275
  • Essay Grade: no grades
  • Report this Essay
1. loop 4
  Loops are rarely used for the computation of sums and averages of lists of numeric data.  

Student Response Value Correct Answer
False   100%   False

Score: 1/1  
 

2. posttest loop
  The ____ statement always creates a posttest loop.  

  Student Response Value Correct Answer Feedback
1.   while      
2.   do-while 100%        
3.   for      
4.   repeat-until      

Score: 1/1  
 

3. loop 7
  In a(n) ____ loop the condition is tested at the end of the repeating section of code.  

  Student Response Value Correct Answer Feedback
1.   pretest      
2.   posttest 100%        
3.   fixed-count      
4.   condition-controlled      

Score: 1/1  
 

4. loop 5
  A section of code that is repeated is referred to as a ____.  

  Student Response Value Correct Answer Feedback
1.   condition      
2.   selection      
3.   repetition      
4.   loop 100%        

Score: 1/1  
 

5. Each repetition in a loop
  Each repetition in a loop is referred to as a(n) ____.  

  Student Response Value Correct Answer Feedback
1.   iteration 100%        
2.   selection      
3.   statement      
4.   condition      

Score: 1/1  
 

6. loop 1
  In every loop there must be a statement within the repeating section of code that alters the condition so that it eventually becomes false.  

Student Response Value Correct Answer
True   100%   True

Score: 1/1  
 

7. break statement
  A break statement forces an immediate break, or exit, from switch and while statements only.  

Student Response Value Correct Answer
False   100%   False

General Feedback: A break forces an immediate exit from while, switch, for, and do-while statements only
Score: 1/1  
 

8. loop 8
  In the following statements, the printf statement will be executed ____ times.
count = 10;
while (count

Comments

Express your owns thoughts and ideas on this essay by writing a grade and/or critique.

  1. No comments