๐ง Day 77: Algorithm & Flowchart – Hinglish
๐ง Algorithm & Flowchart –
๐ Aaj hum programming ke basic foundation concepts seekhenge:
✅ Algorithm kya hota hai
✅ Flowchart kya hota hai
✅ Symbols
✅ Example
(Programming start karne se pehle ye bahut important hote hain) ๐ฏ
๐ Algorithm kya hota hai?
๐ Step-by-step instructions jo kisi problem ko solve kare = Algorithm.
๐ง Simple words:
➡️ Kaam karne ka proper tareeka = Algorithm
๐งพ Algorithm ka Example
๐ฅค Tea banane ka algorithm:
Pani lo
Gas on karo
Pani ubalo
Chai patti dalo
Doodh dalo
Cheeni dalo
Chai ready
๐ Flowchart kya hota hai?
๐ Algorithm ko diagram/picture me show karna = Flowchart.
➡️ Visual form of steps = Flowchart
๐ท Flowchart Symbols (Important)
| Symbol | Name | Use |
|---|---|---|
| ๐ต Oval | Start / End | Beginning / End |
| ๐ฆ Rectangle | Process | Calculation / Work |
| ๐ท Diamond | Decision | Yes / No |
| ➡️ Arrow | Flow line | Direction |
| ๐ช Parallelogram | Input/Output | Data in/out |
๐งฉ Simple Flowchart Example (Marks Check)
๐ Logic:
If marks ≥ 50 → Pass
Else → Fail
Steps:
Start → Input Marks → Marks ≥ 50?
Yes → Print "Pass" → End
No → Print "Fail" → End
๐งช Practice Questions (Exam)
✅ Theory:
Algorithm kya hota hai?
Flowchart kya hota hai?
Algorithm aur Flowchart me difference likho.
Flowchart ke symbols ke naam likho.
๐ Short Notes (Exam ke liye)
๐ Algorithm = Step-by-step solution
๐ Flowchart = Diagram of algorithm