Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the search-in-place domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /usr/www/users/mywaecf/KEYPOINT/wp-includes/functions.php on line 6121

Warning: session_start(): Cannot start session when headers already sent in /usr/www/users/mywaecf/KEYPOINT/wp-content/plugins/secure-copy-content-protection/public/class-secure-copy-content-protection-public.php on line 1000

Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/mywaecf/KEYPOINT/wp-includes/functions.php:6121) in /usr/www/users/mywaecf/KEYPOINT/wp-content/plugins/docket-cache/includes/src/Plugin.php on line 1186

Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/mywaecf/KEYPOINT/wp-includes/functions.php:6121) in /usr/www/users/mywaecf/KEYPOINT/wp-content/plugins/docket-cache/includes/src/Tweaks.php on line 453
Algorithms — Computer Keypoint

Algorithms

It is defined as a step-by-step procedure for solving a particular problem.

Examples are sorting algorithms, searching algorithm, trapezoidal rule algorithm, Newton’s algorithms etc. Algorithms do not involved making use of any diagram.

Example: Write an algorithm to get the base, width and height of a triangle and compute the area. Display the result of the area computed.

Solution

  1. Start the program
  2. Get the base, height
  3. Computer the  area using area = 1/2  (Base * height )
  4. Output the area
  5. Stop the program

Leave a Comment

not allowed!