If the variable named ANSWER has a value of 1, what will be output after the instructions corresponding to the following pseudocode are executed?

```
IF ANSWER = 1 THEN
Write “Hello”
ELSE
IF ANSWER = 2 THEN
Write “Goodbye”
ELSE
Write “Good day”
ENDIF
ENDIF

```

a) Hello
b) Goodbye
c) Good day
d) both a and c


a) Hello

Computer Science & Information Technology

You might also like to view...

____________________ is the amount of vertical space between lines of text in a document.

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

Computer Science & Information Technology

Which method of sending a packet allows a single computer to send a packet to a group of interested computers?

A. Omnicast B. Broadcast C. Unicast D. Multicast

Computer Science & Information Technology

Photoshop comes with ____________________ brush libraries that can replace or be appended to the current list of brushes.

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

Computer Science & Information Technology

The new HTML5 element contains the results of a calculation.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology