ScholarMatic | 24/7 Homework Help

ScholarMatic Will Help You Write Your Essays and Term Papers

Answered » You can buy a ready-made answer or pick a professional tutor to order an original one.

100% Correct Answers

by | Nov 30, 2023 | questions

1. (TCO 5) A _____ repeats actions until a certaincondition is met. (Points : 3)
repetition structure
control structure
selection structure
sequence structure
2. (TCO 5) You are writing a For…Next loop. Which of the followingis valid for an initial or terminating value? (Points : 3)
The value stored in a variable declared as an Integer
info.Length, where info is a String variable
10
All of the above
3. (TCO 5) When is the loop condition evaluated in a Pretest?(Points : 3)
Before executing the loop task
After executing the loop task
During execution of the loop task
It depends on the contents of the loop task.
4. (TCO 10) The process during which we review the details of aprogram with our peers in order to improve it is called a _____.(Points : 3)
code evaluation
code walk-through
code revision
code inspection
5. (TCO 5) Floating-point variables, such as Double, should not beused _____. (Points : 3)
as counters that control loop execution
to perform mathematical calculations inside a loop
as approximate representations of decimal numbers
for applications when precision is required 
6. (TCO 5) A loop that contains a separate inner loop in itsexecution code is called an _____. (Points : 3)
outer loop
inner loop
infinite loop
None of the above 
7. (TCO 5) A loop that never stops executing is called _____.(Points : 3)
a nested loop
an infinite loop
a Pretest loop
a Posttest loop
8. (TCO 5) Given the following partial program, how many times willthe inner loop body (System.Console.WriteLine((num1 +num2).ToString(“N0”))) be executed?
Dim num1, num2 As Integer
For num1 = 1 To 3
For num = 0 To 2
System.Console.WriteLine((num1 + num2).ToString(“N0”))
Next
Next (Points : 3)
Five
Six
Eight
16
None of the above 
9. (TCO 5) How many times will DOG be displayed when the followinglines are executed?
For counter As Integer = 13 To -3 Step -6
System.Console.WriteLine(“DOG”)
Next (Points : 3)
Two
Three
Four
Five
None of the above
10. (TCO 5) What numbers will be displayed by the followingcode?
Dim num As Integer = 7
Do
num += 1
System.Console.WriteLine(num.ToString(“N0”))
Loop Until (num > 6)
System.Console.WriteLine(num.ToString(“N0”)) (Points : 3)
7
8
7 and 8
8 and 8 
11. (TCO 5) Assume that “i” and “last” are integer variables.Describe precisely the output produced by the following segment forthe test inputs 4 and -2.
Dim last As Integer
Dim i As Integer = 0
last = CInt(System.Console.ReadLine())
Do While (i System.Console.WriteLine(i.ToString(“N0”))
i = i + 1
Loop (Points : 5)

ScholarMatic: Explanation & Answer

Your ready answer from a verified tutor is just a click away for as little as $14.99


  

Click Order Now to get 100% Original Answer Customized to your instructions!

HOME TO CERTIFIED WRITERS

Why Place An Order With Us?

  • Certified Editors
  • 24/7 Customer Support
  • Profesional Research
  • Easy to Use System Interface
  • Student Friendly Pricing

Have a similar question?

PLAGIRAISM FREE PAPERS

All papers we provide are well-researched, properly formatted and cited.

TOP QUALITY

All papers we provide are well-researched, properly formatted and cited.

HIGHLY SECURED

All papers we provide are well-researched, properly formatted and cited.

ScholarMatic: Get Started

Assignment Writing Service

Feel safe and secure when placing an order on our portal!
Fruitful cooperation begins with solid guarantees, and we are professional enough to promise perfect results. Let’s get it started!