0% found this document useful (0 votes)
8 views8 pages

Algorithms Basics

An algorithm is a finite sequence of clear instructions used for problem-solving, particularly in computing. Key characteristics include unambiguity, finiteness, effectiveness, and the ability to accept inputs and produce outputs. Secondary characteristics emphasize language independence, clear steps, determinism, correctness, and efficiency.

Uploaded by

Vidyashankar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views8 pages

Algorithms Basics

An algorithm is a finite sequence of clear instructions used for problem-solving, particularly in computing. Key characteristics include unambiguity, finiteness, effectiveness, and the ability to accept inputs and produce outputs. Secondary characteristics emphasize language independence, clear steps, determinism, correctness, and efficiency.

Uploaded by

Vidyashankar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

ALGORITHMS AND ALGORITHMIC THINKING

PROGRAMMING BASICS
ALGORITHM

 A process or a set of rules either done in the form of calculations or


other problem-solving operations especially by a computer

 Finite sequence of mathematically rigorous instructions typically used


to solve a class of specific problems or to perform a computation

 Specifications for calculations and data processing


ALGORITHM – THE VISUALS
CHARACTERISTICS
 Unambiguous – Each step in the algorithm should be clear, precise,
and lead to only one possible interpretation

 Finiteness – An algorithm must terminate after a finite number of


steps. It cannot run indefinitely.

 Effectiveness – Every step in the algorithm should be basic enough to


be executed in a finite amount of time and with available resources
CHARACTERISTICS

 INPUT – An algorithm should accept zero or more well-defined inputs.

 OUTPUT – An algorithm should accept zero or more well-defined


output.

 FEASIBILITY – The steps of the algorithm should be achievable with the


available resources
SECONDARY CHARACTERISTICS
 LANGUAGE INDEPENDENCE – An algorithm should be described in a
way that is not tied to a specific programming language

 CLEAR AND ORDERED STEPS – The sequence of steps should be


logically structured and be easy to follow

 DETERMINISTIC – For the same input, an algorithm should always


produce the same output
SECONDARY CHARACTERISTICS

 CORRECTNESS – The algorithm should accurately solve the problem


it is designed for

 EFFICIENCY – The algorithm should use resources (like time and


memory) in an optimal way
CHARACTERISTICS – A VISUAL

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy