What is an algorithm? |
What is an algorithm? |
pandy |
Jul 22 2018, 02:07 AM
Post
#1
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,735 Joined: 9-August 06 Member No.: 6 |
Well, I know what it is, sort of. But I've never understood the difference between a (computer) algorithm and a short procedural program or script. Thought it's about time I find out.
|
Christian J |
Jul 23 2018, 03:16 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,676 Joined: 10-August 06 Member No.: 7 |
I've never understood the difference between a (computer) algorithm and a short procedural program or script. But is there a distinct difference, maybe the terms belong to different categories, or overlap? According to Wikipedia: The term "scripting language" is also used loosely to refer to dynamic high-level general-purpose languages [...] with the term "script" often used for small programs (up to a few thousand lines of code) in such languages --so a script is a small program in a high-level general-purpose language. QUOTE look at the example they give. That's a program/script to me. Seems an algo can be written as a program/script (but also in English prose, like in the example), and a program can be a script? In other words, an algo can be a script? |
Lo-Fi Version | Time is now: 30th May 2024 - 08:43 AM |