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 Write "Hello"
(ELSE)
IF ANSWER THEN
Write "Goodbye"
ELSE
Write "Good day",
ENDIF
A) Hello
B) Goodbye
C) Good day
D) both a and c
Correct Answer:
Verified
Q1: A diamond shape symbol on a program
Q2: The keyword ELSE is not needed when
Q4: Which of the following terms is an
Q5: Which program flowcharting symbol is used as
Q6: An algorithm can be expressed by the
Q7: If the variable named AVG has
Q8: If the variable named AVG has
Q9: Which program flowcharting symbol is used to
Q10: If the variable named AVG has
Q11: The no-function condition is usually called a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents