Moin!
AXMD hat folgendes geschrieben: |
Ein Algo ist ganz grob gesagt eine Funktion, die eine Problemlösung in Form von Code darstellt. |
Sorry, aber das ist nicht ganz richtig.
Ein Algorithmus hat nichts mit Code zu tun, man kann aus einem Algorithmus Code ableiten! Deshalb sollte es eher heißen:
Ein Algorithmus ist (grob gesagt) ein "Lösungsweg" oder eine "Vorschrift zur Lösungsfindung". Wichtig dabei ist, der Algorithmus beschäftigt sich
theoretisch mit dem Weg zu einer Lösung, unabhängig von einer Programmiersprache.
So gesehen ist ein Algorithmus (ein Teil der) "Informatik selbst", während ein Programm (Code in einer bestimmten Programmiersprache) eigentlich nix mit Informatik zu tun hat, sondern die "praktische Anwendung" dieser ist.
cu
Narses