Week 3 Quiz - Corrected

Week 3 Quiz - Corrected - 1. Question:

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1. Question: (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 Your Answer: Al can join. Mary can join. CORRECT Mike can join. Suong can join. Instructor Explanation: See Chapter 4 and Lecture Notes. Points Received: 1 of 1 Comments: 2. Question: (TCO 4) What will the following pseudocode display? Declare Integer x = 3 Declare Integer y = 8 If x < 10 Then      If y > 5 Then
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
          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 Your Answer:
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 7

Week 3 Quiz - Corrected - 1. Question:

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online