Autor Beitrag
Handycommander
ontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1054

Windows XP Pro, Vista
Visual Studio 2008
BeitragVerfasst: Di 11.01.05 22:45 
Hallo,

kann mir mal jemand sagen, was Algorithmen eigentlich sind? Habe die noch nie gebraucht, daher weiß ich auch nicht, was das ist. :oops:

MfG

Tobias
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Di 11.01.05 23:21 
Ein Algo ist ganz grob gesagt eine Funktion, die eine Problemlösung in Form von Code darstellt. Es gibt zB den Huffmann-Algo, der ZIP-Code erzeugt - da war das Problem zu wenig Platz, die Lösung der Huffmanncode zum Verkleinern der Dateigröße.
Andere Beispiele: Sortierverfahren, Suchverfahren, Primzahlenberechnung, ...

AXMD
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10181
Erhaltene Danke: 1254

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Di 11.01.05 23:31 
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
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8535
Erhaltene Danke: 473

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Di 11.01.05 23:42 
de.wikipedia.org/wik...lgorithmen_im_Alltag

Es gibt auch Algorithmen, die absolut gar nichts mit Computern zu tun haben.

_________________
We are, we were and will not be.
Tomac
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 113

Win XP
D6 Ent
BeitragVerfasst: Mi 12.01.05 02:00 
Ich würde sagen, ein Algorithmus ist eine "Problemlösungsvorschrift".
Genauer gesagt:
Ein Algorithmus ist eine endliche, schrittweise, eindeutig ausführbare Berechnung
gesuchter aus gegebener Größen.
patrick
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1481

WIN2k, WIN XP
D6 Personal, D2005 PE
BeitragVerfasst: Mi 12.01.05 10:31 
Tomac hat folgendes geschrieben:
Ich würde sagen, ein Algorithmus ist eine "Problemlösungsvorschrift".
Genauer gesagt:
Ein Algorithmus ist eine endliche, schrittweise, eindeutig ausführbare Berechnung
gesuchter aus gegebener Größen.

das hast du schön gesagt :wink:

_________________
Patrick
im zweifelsfall immer das richtige tun!!!
Handycommander Threadstarter
ontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1054

Windows XP Pro, Vista
Visual Studio 2008
BeitragVerfasst: Mi 12.01.05 16:34 
Danke,

jetzt weiß ich, was Algorithmen sind :roll:

MfG

Tobias