Which of the following statements are true? (A) An algorithm may produce no…
2020
Which of the following statements are true?
(A) An algorithm may produce no output
(B) An algorithm expressed in a programming language is called a computer program
(C) An algorithm is expressed in a graphical form known as flowchart.
(D) An algorithm can have infinite sequence of instructions.
Choose the correct answer from the options given below :
- A.
(A) and (B) only
- B.
(A), (B) and (D) only
- C.
(C) and (D) only
- D.
(B) and (C) only
Attempted by 53 students.
Show answer & explanation
Correct answer: D
A standard algorithm must be finite and should produce output, so statements A and D are false. An algorithm written in a programming language is a program, and its graphical representation is a flowchart. Hence B and C are true.