Photo AI

A programmer has written a VB.Net program that asks the user to input two integers and then output which of the two integers is the largest - AQA - GCSE Computer Science - Question 4 - 2021 - Paper 1

Question icon

Question 4

A-programmer-has-written-a-VB.Net-program-that-asks-the-user-to-input-two-integers-and-then-output-which-of-the-two-integers-is-the-largest-AQA-GCSE Computer Science-Question 4-2021-Paper 1.png

A programmer has written a VB.Net program that asks the user to input two integers and then output which of the two integers is the largest. Complete the program bel... show full transcript

Worked Solution & Example Answer:A programmer has written a VB.Net program that asks the user to input two integers and then output which of the two integers is the largest - AQA - GCSE Computer Science - Question 4 - 2021 - Paper 1

Step 1

Fill in the blank: Dim num2 As

96%

114 rated

Answer

Integer

Step 2

Fill in the blank: If num1 > num2 Then

99%

104 rated

Answer

num1

Step 3

Fill in the blank: ElseIf num1 ________ num2 Then

96%

101 rated

Answer

<

Step 4

Fill in the blank: Console.WriteLine("__________ is bigger.")

98%

120 rated

Answer

num2

Step 5

Fill in the blank: Else

97%

117 rated

Answer

Join the GCSE students using SimpleStudy...

97% of Students

Report Improved Results

98% of Students

Recommend to friends

100,000+

Students Supported

1 Million+

Questions answered

;