Which of the following programs displays a "passing grade" message if the score is 60 or above?

A. Display "Enter a test score: "
Input testScore
If testScore > 60 Then
   Display "That is a passing grade."
End If
Display "End of program."
B. Display "Enter a test score: "
Input testScore
If testScore ==60 Then
   Display "That is a passing grade."
End If
Display "End of program."
C. Display "Enter a test score: "
Input testScore
If testScore <=60 Then
   Display "That is a passing grade."
End If
Display "End of program."
D. Display "Enter a test score: "
Input testScore
If testScore >=60 Then
   Display "That is a passing grade."
End If
Display "End of program."


Answer: D

Computer Science & Information Technology

You might also like to view...

To open a table, double-click the name of the table in the ____________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

If you want the entire column of a table to display at a specific width, do you need to apply a custom class to the entire column?

What will be an ideal response?

Computer Science & Information Technology

Which protocol is the Cisco protocol for accomplishing aggregation?

A. Port Aggregation Protocol (PAgP) B. Link Aggregation Control Protocol (LACP) C. VLAN Trunking Protocol (VTP) D. Point-to-Point Tunneling Protocol (PPTP)

Computer Science & Information Technology

A(n) ________-hat hacker illegally penetrates a system simply to demonstrate the hacker's expertise to the system administrator.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology