? ar Name t s fer Engineers (CSC) 22 1 tach pass through a lesap is called a/an
ID: 3701710 • Letter: #
Question
? ar Name t s fer Engineers (CSC) 22 1 tach pass through a lesap is called a/an N pass through d call back d teration 2 Which Asing precess checks the test condition at the end of the leop? bi do while d while d)ALI in a group of nested leops, which loop is executed the most amber of times? a) ? ot be determined without knowing the see of the loops the inermast loop d) the outenmest loog 4 The statement ; is equivalent to c) aa loops are executed the same er of times S. Which looping process is best used when the number of iterations is known? a) for b) while c) do whie )all looping processes require that iterations be known &. What is the final value of x when the code int ; forlx 0, xExplanation / Answer
1) Each pass through a loop is called a/an?
Ans) d) iteration
2) Which looping process checks the test condition at the end of the loop?
Ans) b) do-while
3) In a group of nested loops ,which loop is executed the most number of times ?
Ans) b) the inner most loop
4)The Statement i++; is equivalent to ?
Ans) a) i=i+1;
5) Which looping process is best used when the number of iterations is not known ?
Ans) b) While
6) What is the final value of x when the code int x; for(x=0;x<10;x++){} is run ?
Ans) c)10
7) whats wrong ? for(int k=2,k<=12,k++) ?
Ans) d) the commas should be semicolons
________________Thank You
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.