Skip to content
This repository was archived by the owner on Nov 7, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ The format is loosely inspired by Keep a Changelog.

### Added

- **Web 0.14.3, Grace Hopper with photo:** lesson 7's Angeberwissen about the moth („bug“) now says who Grace Hopper was (one of the first compilers in 1952, the idea behind COBOL, admiral in the US Navy), followed by her portrait (U.S. Navy, public domain, Commons „Commodore Grace M. Hopper, USN (covered).jpg“, 300×400). Lesson 20 gets an Angeberwissen box: she built one of the first compilers although many said computers could only do arithmetic (de/en/pt).
- **Web 0.14.2, Java in the console:** lesson 20 step „Wie Java auf jedem Computer läuft“ has a new Angeberwissen box on `java -version`, `javac Einmaleins.java` and `java Einmaleins`, plus the hint that a missing `javac -version` means only a JRE is installed (de/en/pt). Fix: the two diagrams in that step were missing their closing `:::`, so in 0.14.1 the text after the first diagram showed up as its caption; they now have short captions, and a new test flags overly long captions.
- **Web 0.14.1, how Java runs on every computer:** lesson 20 has a new step „Wie Java auf jedem Computer läuft“ after „Snippet oder Class“: source code → compiler `javac` → bytecode (`.class`) → JVM on Windows/macOS/Linux, platform independence („Write once, run anywhere“), the JVM pictured as a small computer made of software (but a virtual machine, not an operating system), a table JRE vs. JDK, the JVM translating bytecode into machine code (JIT compiler), and a comparison with C++ (compiled directly to machine code, so once per system; second diagram l20-cpp.svg and a C++/Java table). New self-drawn diagram l20-jvm.svg (de/en/pt), the CAFEBABE Angeberwissen moved into the new step, three competences, three checklist lines and three quiz questions. Lesson 4 „Jetzt in Java“ points to lesson 20. New glossary entries Quellcode, Compiler, Bytecode, Maschinencode, JIT-Compiler, JVM, JRE, JDK, plattformunabhängig and Nachschlagen section „Java › Vom Code zum Programm“ (de/en/pt).
- **Web 0.14.0, new world VisuFlow: draw flowcharts:** fourth world next to VisuStruct, VisuBot and VisuObject (…/app/?visuflow, colour violet, chosen at the start or in the gear menu; the world chooser now has two rows). Only drawing, no simulation and no code: drag the DIN 66001 symbols (Start, Anweisung, Ein-/Ausgabe, Verzweigung, Unterprogramm, Ende) from the bar onto the canvas, or tap a symbol to add it below the selected one, joined by an arrow; type the text right in the symbol (tap again or double click to change it). Drag an arrow from the dot at an exit to the next symbol; the diamond has the exits ja and nein (button „ja/nein tauschen“ swaps their sides), arrows run at right angles, loops go around on the right. Move with the mouse, finger or arrow keys on a 20 px grid, delete, undo/redo, title above the canvas, example „Tee kochen“ from lesson 1. Save and open as `.visuflow` file (the last plan stays in the browser), export as PNG, SVG or PDF (A4). Texts de/en/pt.
Expand Down
Binary file added web/lessons/bilder/grace-hopper.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions web/lessons/de/07-simulation-und-schreibtischtest.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ Häufige Fehler in einer Sequenz sind:

::: angeberwissen
Am 9. September 1947 fand das Team von Grace Hopper im Rechner Harvard Mark II eine echte Motte, die zwischen zwei Kontakten klemmte. Sie klebten sie ins Logbuch und schrieben dazu: „Erster echter Fall, dass ein Bug gefunden wurde.“ Die Motte liegt heute in einem Museum in Washington.

Grace Hopper war eine der ersten Programmiererinnen der Welt. 1952 baute sie einen der ersten **Compiler**: ein Programm, das Code in Maschinencode übersetzt. Sie fand, dass man Computern Befehle in fast normalem Englisch geben sollte. Daraus entstand die Programmiersprache COBOL, mit der viele Banken bis heute rechnen. Bei der US-Marine wurde sie sogar Admiralin.
:::

::: bild grace-hopper.jpg
Grace Hopper (1906–1992), Informatikerin und Admiralin (Foto: [U.S. Navy](https://commons.wikimedia.org/wiki/File:Commodore_Grace_M._Hopper,_USN_(covered).jpg), gemeinfrei).
:::

## Übung: Tauschen reparieren
Expand Down
4 changes: 4 additions & 0 deletions web/lessons/de/20-java.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ Einmal kompilieren: Derselbe Bytecode läuft auf jeder JVM.

Den Bytecode gibt es nur einmal. Die JVM gibt es dagegen für Windows, macOS, Linux und viele andere Systeme. Deshalb läuft dieselbe `.class`-Datei auf jedem Computer, auf dem eine JVM installiert ist. Das nennt man **plattformunabhängig**. Der Werbespruch dazu heißt **„Write once, run anywhere“**: einmal schreiben, überall ausführen.

::: angeberwissen
Einen der ersten Compiler hat 1952 **Grace Hopper** gebaut, die du schon aus Lektion 7 kennst. Viele sagten ihr damals, Computer könnten nur rechnen und keine Programme übersetzen. Sie hat es trotzdem gemacht.
:::

Zum Vergleich **C++**: Dort übersetzt der Compiler den Quellcode direkt in Maschinencode für genau einen Prozessor und ein Betriebssystem. Das fertige Programm läuft nur dort. Für Windows, macOS und Linux musst du es jeweils neu kompilieren.

::: grafik l20-cpp.svg
Expand Down
6 changes: 6 additions & 0 deletions web/lessons/en/07-simulation-und-schreibtischtest.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ Common mistakes in a sequence are:

::: angeberwissen
On 9 September 1947 Grace Hopper’s team found a real moth stuck between two contacts in the Harvard Mark II computer. They taped it into the logbook and wrote: “First actual case of bug being found.” Today the moth is in a museum in Washington.

Grace Hopper was one of the first programmers in the world. In 1952 she built one of the first **compilers**: a program that translates code into machine code. She believed people should be able to give computers instructions in almost normal English. This led to the programming language COBOL, which many banks still use today. She even became an admiral in the US Navy.
:::

::: bild grace-hopper.jpg
Grace Hopper (1906–1992), computer scientist and admiral (photo: [U.S. Navy](https://commons.wikimedia.org/wiki/File:Commodore_Grace_M._Hopper,_USN_(covered).jpg), public domain).
:::

## Exercise: Fix the swap
Expand Down
4 changes: 4 additions & 0 deletions web/lessons/en/20-java.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ Compile once: the same bytecode runs on every JVM.

There is only one bytecode. But there is a JVM for Windows, macOS, Linux and many other systems. That is why the same `.class` file runs on every computer that has a JVM installed. This is called **platform independent**. The slogan for it is **“Write once, run anywhere”**.

::: angeberwissen
One of the first compilers was built in 1952 by **Grace Hopper**, whom you already know from lesson 7. Back then many people told her that computers could only do arithmetic and could not translate programs. She did it anyway.
:::

Compare this with **C++**: there the compiler translates the source code directly into machine code for exactly one processor and one operating system. The finished program only runs there. For Windows, macOS and Linux you have to compile it again each time.

::: grafik l20-cpp.svg
Expand Down
6 changes: 6 additions & 0 deletions web/lessons/pt/07-simulation-und-schreibtischtest.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ Erros frequentes numa sequência são:

::: angeberwissen
A 9 de setembro de 1947, a equipa de Grace Hopper encontrou uma traça verdadeira presa entre dois contactos do computador Harvard Mark II. Colaram-na no diário de bordo e escreveram: “Primeiro caso real de um bug encontrado.” Hoje a traça está num museu em Washington.

Grace Hopper foi uma das primeiras programadoras do mundo. Em 1952 construiu um dos primeiros **compiladores**: um programa que traduz código para código máquina. Achava que devia ser possível dar ordens aos computadores em inglês quase normal. Daí nasceu a linguagem de programação COBOL, que muitos bancos ainda hoje usam. Na Marinha dos EUA chegou mesmo a almirante.
:::

::: bild grace-hopper.jpg
Grace Hopper (1906–1992), informática e almirante (foto: [U.S. Navy](https://commons.wikimedia.org/wiki/File:Commodore_Grace_M._Hopper,_USN_(covered).jpg), domínio público).
:::

## Exercício: Corrigir a troca
Expand Down
4 changes: 4 additions & 0 deletions web/lessons/pt/20-java.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ Compilar uma vez: o mesmo bytecode corre em qualquer JVM.

O bytecode existe só uma vez. Já a JVM existe para Windows, macOS, Linux e muitos outros sistemas. Por isso, o mesmo ficheiro `.class` corre em qualquer computador que tenha uma JVM instalada. A isto chama-se **independente da plataforma**. O lema é **“Write once, run anywhere”**: escrever uma vez, executar em qualquer lado.

::: angeberwissen
Um dos primeiros compiladores foi construído em 1952 por **Grace Hopper**, que já conheces da lição 7. Na altura, muitos diziam-lhe que os computadores só sabiam fazer contas e não traduzir programas. Ela fê-lo na mesma.
:::

Compara com o **C++**: aí o compilador traduz o código-fonte diretamente em código máquina para um só processador e um só sistema operativo. O programa pronto só corre aí. Para Windows, macOS e Linux tens de o compilar de novo de cada vez.

::: grafik l20-cpp.svg
Expand Down
4 changes: 2 additions & 2 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "visustruct-web",
"private": true,
"version": "0.14.2",
"version": "0.14.3",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added website/app/assets/grace-hopper-DltOT1I5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading