fhkahin / Coursework-Planner

Your coursework planner
0 stars 0 forks source link

[TECH ED] What is an algorithm #33

Open fhkahin opened 1 year ago

fhkahin commented 1 year ago

From Course-Fundamentals created by SallyMcGrath: CodeYourFuture/Course-Fundamentals#3

Link to the coursework

https://www.youtube.com/watch?v=cDA3_5982h8

Why are we doing this?

Programming is all about algorithms. But what is an algorithm?

Read Introduction to Algorithms in the book the JS Way Watch The Exact Instructions ChallengeđŸ˜„

These show "algorithm recipes", and the video shows that you have to think carefully when building them. How does CYF Blocks help you build algorithms? Discuss this together in a Slack thread.

Maximum time in hours

2

How to submit

Discuss this together in a Slack thread

fhkahin commented 1 year ago

An algorithm is a set of directions that computers or machines use to solve a problem or do something specific. It's like a recipe that they carefully follow. The directions are very detailed and tell the computer exactly what to do at each step. When the computer follows these directions, it takes some information, processes it in certain ways, and gives us an answer or result at the end. It's a bit like when you follow a recipe to make your favourite meal – you go step by step, and in the end, you have a delicious meal to enjoy.

N.B. I have discussed above in Slack thread.