Which of the following is considered a dual-outcome selection?

A. If Not balance < 200 Then
   Display "Your account will continue to earn interest."
End If
B. If personHasMoney And showedID Then
   ticketPrice = discountPrice
Else
   ticketPrice = regularPrice
End If
C. If personHasMoney And showedID Then
   ticketPrice = discountPrice
End If
D. If password != "sugarBear" Then
   Display "Sorry, incorrect password."
End If


Answer: B

Computer Science & Information Technology

You might also like to view...

A(n) __________ can be thought of as the blueprint of the object created from it.

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

Computer Science & Information Technology

When you click the Artboard tool, a ____ line appears around the selected artboard.

A. blue B. thick black C. dotted D. white

Computer Science & Information Technology

The highest usable array subscript is ____.

A. twice the size of the array B. the size of the array C. one more than the size of the array D. one less than the size of the array

Computer Science & Information Technology

Which of the following will insert the node pointed to by newPtr between the nodes pointed to by aPtr and bPtr in a linked list?

a) newPtr->link = aPtr; bPtr->link = aPtr; b) aPtr = newPtr->link; bPtr = newPtr->link; c) aPtr->link = newPtr->link; newPtr->link = bPtr->link; d) aPtr->link = newPtr; newPtr->link = bPtr;

Computer Science & Information Technology