Question: (1). If the following pseudocode was coded and run, what would display, given that rate = 8? Select rate Case 10: Display A Case 9:

(1). If the following pseudocode was coded and run, what would display, given that rate = 8? Select rate Case 10: Display "A" Case 9: Case 8: Display "B" Case 7: Case 6: Display "C" Default: Display "Rating not possible." End Select

Question options:

A)

A

B)

B

C)

C

D)

Rating not possible.

(2).

If the following pseudocode was coded and run, what would display, given that rate = 9? Select rate Case 10: Display "A" Case 9: Case 8: Display "B" Case 7: Case 6: Display "C" Default: Display "Rating not possible." End Select

Question options:

A)

A

B)

B

C)

C

D)

Nothing

(3).

Which of the following expressions would check if a number, x, is outside the range 90 - 100, inclusive (i.e., either less than 90 or greater than 100)?

Question options:

A)

x < 90 OR x > 100

B)

x < 90 AND x > 100

C)

x <= 90 OR x >= 100

D)

x <= 90 AND x >= 100

(4.)

A ________ structure allows you to test the value of a variable or an expression and then use that value to determine which statement or set of statements to execute.

Question options:

1)

variable test decision

2)

single alternative decision

3)

dual alternative decision

4)

multiple alternative decision

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!