COMPUTER ALGORITHM | ICT | NTA UGC NET PAPER I 2020 JUNE
2020 JUNE|ICT
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:
(1) (A) and (B) only
(2) (A), (B) and (D) only
(3) (C) and (D) only
(4) (B) and (C) only
Ans: 4
- An algorithm is a specific procedure for solving a well-defined computational problem.
- Computer algorithms work via input and output. They take the input and apply each step of the algorithm to that information to generate an output.
- We can easily visualise algorithms as a flowchart.
- Algorithm terminates after a finite number of steps.