Examlex

Solved

What Value Will Be Assigned to StrGrade When IntScore Equals

question 39

Multiple Choice

What value will be assigned to strGrade when intScore equals 90?
If intScore > 60 Then
StrGrade = "D"
End If
If intScore > 70 Then
StrGrade = "C"
End If
If intScore > 80 Then
StrGrade = "B"
End If
If intScore > 90 Then
StrGrade = "A"
End If


Definitions:

Integer Object

An instance of a data type representing numerical values without fractional components.

Declaration

A statement in programming that specifies the identifier and type of a variable or function, without necessarily allocating space or defining its value.

Autoboxing

The automatic conversion that the Java compiler makes between the primitive types and their corresponding object wrapper classes.

Integer Num

Integer Num usually refers to a variable or value that is of the 'integer' data type, representing whole numbers without fractional parts.

Related Questions