What is the purpose of the following algorithm? somenum = 0
Repeat the following steps for 15 times
Input variable1
If variable1 < somenum then
Somenum = variable1
End of if
End of repeat
Print somenum
A) To search for a particular number among 15 numbers.
B) To find the largest among 15 numbers.
C) To print out the 15 numbers.
D) To find the smallest among 15 numbers.
Correct Answer:
Verified
Q57: Which statement is true about the compilation
Q69: Which of the following options is true
Q80: Assuming the programmer wishes to display "Hello!"
Q81: What is the purpose of the following
Q82: A step sequence is terminating when _
A)
Q83: Evaluate the given pseudocode to calculate the
Q85: What is the correct order of the
Q86: Evaluate the given pseudocode to calculate the
Q88: Evaluate the given pseudocode to calculate the
Q89: A step sequence that contains precise instructions
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