Comp230 Quiz 3 - 1 Question(TCO 3 What decision structure...

This preview shows page 1 - 4 out of 4 pages.

 1.Question :(TCO 3) What decision structure will perform the following logic?if customerCode is not equal to 1 thendiscount = 0.25elsediscount = 0.50
  
  
  
 Instructor Explanation:See Chapter 2 in the textbook and the Week 3 Lecture. Points Received:0 of 4  Comments:Question 2.Question :(TCO 3) In VBScript, the _____ sign means greater than.
>> 
<< 
>= 
>  Instructor Explanation:See Chapter 2 in the textbook and the Week 3 Lecture. Points Received:4 of 4  Comments:Question 3.Question :(TCO 3) Every condition in a chain of conditions in a Boolean expression must be true in order for the entire expression to be evaluated as true. This defines the _____ Boolean operator in VBScript.
 
 
OR 
 Instructor Explanation:See Chapter 2, pages 21–23, and Chapter 7, pages 129–134, in the textbook and the Week 3 Lecture. All must be true for AND. Points Received:0 of 4  Comments:Question 4.Question :(TCO 3) What logic operator could be used to replace the nested selection structure in this pseudocode?

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture