Todo List - Jovial Typing CST Test
Loading…
Todo List — Jovial Code
Maintains a simple todo list with add and remove functionality.
PROGRAM TodoList;
INTEGER COUNT := 0;
CHARACTER TODOS(10,20);
PROCEDURE ADD(TASK);
BEGIN
TODOS(COUNT) := TASK;
COUNT := COUNT + 1;
PUT('Todos count: ' || COUNT);
END ADD;
PROCEDURE REMOVE(IDX);
INTEGER I;
BEGIN
FOR I := IDX TO COUNT-2 DO
TODOS(I) := TODOS(I+1);
END;
COUNT := COUNT - 1;
END REMOVE;
BEGIN
CALL ADD('Buy milk');
CALL ADD('Write JOVIAL code');
CALL REMOVE(0);
END TodoList;Jovial Language Guide
JOVIAL (Jules Own Version of the International Algorithmic Language) is a high-level programming language derived from ALGOL, designed in the late 1950s and early 1960s for embedded and real-time military systems. It emphasizes structured programming and reliability for mission-critical applications.
Primary Use Cases
- ▸Embedded avionics systems
- ▸Real-time radar and defense applications
- ▸Mission-critical aerospace software
- ▸Command and control systems
- ▸Legacy defense software maintenance
Notable Features
- ▸Derived from ALGOL with extensions for embedded systems
- ▸Structured programming with block constructs
- ▸Support for fixed-point and integer arithmetic
- ▸Efficient memory and resource management
- ▸Real-time system constructs and control statements
Origin & Creator
JOVIAL was developed by Jules Schwartz at System Development Corporation (SDC) in the late 1950s to early 1960s for military and aerospace software applications.
Industrial Note
JOVIAL is highly specialized for embedded military and avionics systems and is rarely used outside defense industries or legacy projects.