The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> What is an algorithm?
pandy
post 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. cool.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
Christian J
post Jul 23 2018, 03:16 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,676
Joined: 10-August 06
Member No.: 7



QUOTE(pandy @ Jul 22 2018, 09:07 AM) *

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. wacko.gif

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? unsure.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 30th May 2024 - 08:43 AM