1. (TCO 4) What will the following pseudocode display? Declare Integer x = 3 Dec
ID: 3622948 • Letter: 1
Question
1. (TCO 4) What will the following pseudocode display?Declare Integer x = 3
Declare Integer y = 2
If x < 10 Then
If y > 5 Then
Display "Al can join."
Else
Display "Mary can join."
End If
Else
If y > 5 Then
Display "Mike can join."
Else
Display "Suong can join."
End If
End If
(Points: 1)
Al can join.
Mary can join.
Mike can join.
Suong can join.
2. (TCO 4) What will the following pseudocode display?
Declare Integer x = 3
Declare Integer y = 8
If x < 10 Then
If y > 5 Then
Display "Al can join."
Else
Display "Mary can join."
End If
Else
If y > 5 Then
Display "Mike can join."
Else
Display "Suong can join."
End If
End If
(Points: 1)
Al can join.
Mary can join.
Explanation / Answer
please rate - thanks
1. (TCO 4) What will the following pseudocode display?
Declare Integer x = 3 x=3 y=2
Declare Integer y = 2
If x < 10 Then yes
If y > 5 Then no
Display "Al can join."
Else
Display "Mary can join." displays Mary can join
End If
Else
If y > 5 Then no
Display "Mike can join."
Else
Display "Suong can join."
End If
End If
(Points: 1)
Al can join.
Mary can join.
Mike can join.
Suong can join.
2. (TCO 4) What will the following pseudocode display?
Declare Integer x = 3 x=3 y=8
Declare Integer y = 8
If x < 10 Then yes
If y > 5 Then yes
Display "Al can join." displays Al can join
Else
Display "Mary can join."
End If
Else
If y > 5 Then
Display "Mike can join."
Else
Display "Suong can join."
End If
End If
(Points: 1)
Al can join.
Mary can join.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.