Seite 5 von 5

Re: 3. Übungsblatt - Abgabe 14. November

Verfasst: Do 13. Nov 2008, 22:22
von DaVinci
JTex hat geschrieben:In der Bib gibts "Einführung in Algorithmen" Da ist genau definiert wie pseudo Code aussehen soll
Stimmt, nur ist es leider so, dass sofern es keine international anerkannte Norm gibt, jeder ein Buch schreiben und darin seine ganz persönliche Form des Pseudocodes preisen kann.
Wikipedia beispielsweise sagt dazu:
As the name suggests, pseudocode generally does not actually obey the syntax rules of any particular language; there is no systematic standard form, although any particular writer will generally borrow style and syntax for example control structures from some conventional programming language. Popular syntax sources include Pascal, BASIC, C, Java, Lisp, and ALGOL. Variable declarations are typically omitted. Function calls and blocks of code, for example code contained within a loop, is often replaced by a one-line natural language sentence.
Depending on the writer, pseudocode may therefore vary widely in style, from a near-exact imitation of a real programming language at one extreme, to a description approaching formatted prose at the other.
Anyway, wir wissen nun was Prof. Worsch akzeptiert, mehr wollte garnicht ;)

Re: 3. Übungsblatt - Abgabe 14. November

Verfasst: Do 13. Nov 2008, 23:03
von markusj
Das Problem ist, dass dein Tutor das ganze korrigiert. Und so "solltest" du dich an das halten, was der Tutor (mit) euch vereinbart hat.
Man kann das ganze ja beim nächsten Tutorium zur Sprache bringen.

mfG
Markus

Re: 3. Übungsblatt - Abgabe 14. November

Verfasst: Do 13. Nov 2008, 23:03
von fake
was passiert denn genau bei der 3.2 d)