Case 5-1

You have written the code below and you want to step through it with some actual values to make sure that it is working in practice the way you expect it to work.
?
If decGPA > 3.5 Then
            If intSatScore > 1000 Then
                        lblAdmissionsStatus.Text = "You have earned admission"
            Else
                        lblAdmissionsStatus.Text = "Retake the SAT exam"
            EndIf
Else
            If intSatScore > 1200 Then
                        lblAdmissionsStatus.Text = "You have earned probationary admission"
            Else
                        lblAdmissionStatus.Text = "You have been denied admission"
            End If
End If
Assuming that an applicant has a GPA of 3.5, what is the value of lblAdmissionsStatus.Text if the applicant's SAT score is 1200?

A. Retake the SAT exam
B. You have earned admission
C. You have earned probationary admission
D. You have been denied admission

Answer: D

Computer Science & Information Technology

You might also like to view...

The ________ optical disc has the largest storage capacity

Fill in the blank(s) with correct word

Computer Science & Information Technology

You enter the procedure's code in the ____ window.

A. Code Editor B. Server C. Solution D. Designer

Computer Science & Information Technology