Call / Whatsapp  # Devry CIS115 week 5 quiz

## Devry CIS115 week 5 quiz

The loop body instructions are always executed at least once using which loop structure? (Points : 3)WhileDoâ¦ WhileForBoth A and CQuestion 2.2. (TCO 5) What (if anything) is wrong with the following loop?int x ;while (x <10){Console.WriteLine(x);x = x + 2;} (Points : 3)The loop body will never execute.It is an infinite loop.The loop control variable is not initialized.Nothing.Question 3.3. (TCO 5) Your program asks the user to enter a number between 10 and 50. Which is the correct condition for the following validation loop?int num;Console.Write("Please enter a number between 10 and 50:");num = Convert.ToInt32(Console.ReadLine());while (______________________________){Console.WriteLine("invalid, please reenter a number between 10 and 50: ");num = Convert.ToInt32(Console.ReadLine());} (Points : 5)num >= 10 && num <= 50num >= 10 || num <= 50num < 10 || num > 50num < 10 && num > 50Question 4.4. (TCOs 5 and 8) Which of the following pseudocode loops will print the integers from 10 to 100, counting by 10s. (Points : 5)num = 10while num <= 100print numend whilenum = 10while num <= 10print numnum = num + 10end whilenum = 10while num <= 100print numnum = num + 1end whilenum = 10while num <= 100print numnum = num + 10end whileQuestion 5.5. (TCOs 5 and 8) Write the pseudocode for the flowchart below, and list what the output will be if the input for num is 8.

## Price: £ 59

100% Plagiarism Free & Custom Written, Tailored to your instructions  