Algorithm 🔄
An algorithm is a finite set of well-defined instructions or steps designed to solve a specific problem or perform a particular task. Algorithms can be expressed in various forms, including natural language, pseudocode, and programming languages.
Designing Algorithms 🛠️
Algorithms can be designed using several techniques and tools. One effective tool for designing algorithms is the flowchart 📊.
Flowchart
A flowchart is a graphical representation of the steps involved in a process or algorithm. It uses standardized symbols and arrows to illustrate the flow of control and the sequence of operations. Flowcharts provide a visual way to understand complex processes, making it easier to identify the steps needed to solve a problem.
Common Symbols Used in Flowcharts:
• Oval 🔵: Represents the start and end points of the process.
• Rectangle 🟥: Indicates a process or action step.
• Diamond ♦️: Represents a decision point that requires a yes/no or true/false response.
• Arrow ➡️: Shows the direction of flow from one step to another.
. Parallelogram : Input /output operation
An algorithm is a finite set of well-defined instructions or steps designed to solve a specific problem or perform a particular task. Algorithms can be expressed in various forms, including natural language, pseudocode, and programming languages.
Designing Algorithms 🛠️
Algorithms can be designed using several techniques and tools. One effective tool for designing algorithms is the flowchart 📊.
Flowchart
A flowchart is a graphical representation of the steps involved in a process or algorithm. It uses standardized symbols and arrows to illustrate the flow of control and the sequence of operations. Flowcharts provide a visual way to understand complex processes, making it easier to identify the steps needed to solve a problem.
Common Symbols Used in Flowcharts:
• Oval 🔵: Represents the start and end points of the process.
• Rectangle 🟥: Indicates a process or action step.
• Diamond ♦️: Represents a decision point that requires a yes/no or true/false response.
• Arrow ➡️: Shows the direction of flow from one step to another.
. Parallelogram : Input /output operation
👍6👌1
I think that's enough for today. Thank you to all of you, especially to the students who actively participated.🙏
👍8🔥1
🔥5👍1
Please 🙏🙏kindly share this channel with other students.
Good Night😴
Good Night😴
👍5
Hey Guys???
What's the difference between program and algorithm ....?
What's the difference between program and algorithm ....?
🤔3👍1
Algorithm:
• An algorithm is a step-by-step procedure or a set of well-defined instructions designed to solve a specific problem or perform a particular task.
• Language Independent: Algorithms are independent of any specific programming language. You can describe an algorithm using:
Natural Language: Like English, as you mentioned. This is often used for initial design and communication, making it easy for humans to understand.
Pseudocode: A more structured way to describe algorithms, resembling programming code but without strict syntax. It's still human-readable and language-agnostic.
Flowcharts: Graphical representations of algorithms using symbols and arrows to show the sequence of steps.
Mathematical Notation: For algorithms in areas like mathematics and computer science theory.
• Algorithms focus on the logic and steps required to solve the problem, not on how to write it in a particular programming language.
Program:
• A program is the actual implementation of an algorithm in a specific programming language. It's the algorithm translated into a form that a computer can understand and execute.
• Language Dependent: Programs are completely dependent on programming languages. You must use the syntax and rules of a specific language (like Python, Java, C++, JavaScript, etc.) to write a program.
• Focus on Implementation: Programs focus on the concrete steps to implement the algorithm using the features and syntax of a chosen programming language.
• An algorithm is a step-by-step procedure or a set of well-defined instructions designed to solve a specific problem or perform a particular task.
• Language Independent: Algorithms are independent of any specific programming language. You can describe an algorithm using:
Natural Language: Like English, as you mentioned. This is often used for initial design and communication, making it easy for humans to understand.
Pseudocode: A more structured way to describe algorithms, resembling programming code but without strict syntax. It's still human-readable and language-agnostic.
Flowcharts: Graphical representations of algorithms using symbols and arrows to show the sequence of steps.
Mathematical Notation: For algorithms in areas like mathematics and computer science theory.
• Algorithms focus on the logic and steps required to solve the problem, not on how to write it in a particular programming language.
Program:
• A program is the actual implementation of an algorithm in a specific programming language. It's the algorithm translated into a form that a computer can understand and execute.
• Language Dependent: Programs are completely dependent on programming languages. You must use the syntax and rules of a specific language (like Python, Java, C++, JavaScript, etc.) to write a program.
• Focus on Implementation: Programs focus on the concrete steps to implement the algorithm using the features and syntax of a chosen programming language.
🔥4👍3🤔2💯2
🥰10🔥3❤1
#EidAlFitr
✅የዒድ አልፈጥር በዓል ነገ እሁድ ይውላል።
✨ዛሬ የሸዋል ወር ጨረቃ በመታየቷ የዒድ አልፈጥር በዓል ነገ እሁድ ይውላል።
⭐ለመላው የእስልምና እምነት ተከታዮች እንኳን ለዒድ አልፈጥር በአል በሰላም አደረሳችሁ።🎉🎉🎉
✅የዒድ አልፈጥር በዓል ነገ እሁድ ይውላል።
✨ዛሬ የሸዋል ወር ጨረቃ በመታየቷ የዒድ አልፈጥር በዓል ነገ እሁድ ይውላል።
⭐ለመላው የእስልምና እምነት ተከታዮች እንኳን ለዒድ አልፈጥር በአል በሰላም አደረሳችሁ።🎉🎉🎉
🔥5❤1
Betam sry 🙏telant program sle nebrebgn nebr class cancel yaderkut ena ketmechachu zare class benorn mn yemslechewal.....
👍7