Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

4.Copy of What does the following code do? Dim Int1 as Integer Dim Int2 as Integ

ID: 3854560 • Letter: 4

Question

4.Copy of

What does the following code do?

Dim Int1 as Integer

Dim Int2 as Integer

Int2=Readline()

For Int1 = 1 to 20

If Int1=Int2 Then

Continue For

End If

Console.Writeline(Int1)

Next

A.

Write 20,16,12,8,4,0

B.

Skip the value of Int2 if the value of Int2 is between 0 and 20.

C.

Write the numbers 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20

D.

Write the numbers up until Int2 if Int2 is less than 20.

5.The following are types of integers except one. Select the one which is not an integer.

A.

Short

B.

Long

C.

Double

D.

Int

6.We discussed three sorting algorithms in Business 350. Which of the following was not one of those sorting algorithms?

A.

Tree Sort

B.

Bubble Sort

C.

Shell Sort

D.

Trickle Sort

Explanation / Answer

4. B.

Skip the value of Int2 if the value of Int2 is between 0 and 20.

exp: it we inter int2 as 8 then it displays 1 to 20 except 8 ..

5. C.

Double

6.D.

Trickle Sort

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote