Course Introduction to Programming

Algorithms

Course's Page 10 min

Question 1

In a flowchart, an algorithm is represented using geometric shapes and a brief description of the action associated with each shape.

Question 2

The following algorithm is being represented by:

  1. Open the refrigerator;
  2. Take the milk;
  3. Put 200ml of the milk in a glass;
  4. Drink the milk;
  5. Keep the milk in the fridge;
  6. Close the fridge;
  7. Wash the glass used.

Question 3

An algorithm is a finite sequence of simple steps to solve a given problem.

Question 4

A computer program is basically an algorithm being run by the computer.

Question 5

Which option does not represent a common feature of an algorithm?