Mode:
Duration:
1
2
3
4
5
6
7
BEGIN
INTEGER i, roll;
FOR i := 1 STEP 1 UNTIL 3 DO
roll := RANDOM(6) + 1;
OutText("Roll "); OutInt(i,0); OutText(": "); OutInt(roll,0); OutImage;
END;
ENDCoding works best on desktop or with an external keyboard.
BEGIN
INTEGER i, roll;
FOR i := 1 STEP 1 UNTIL 3 DO
roll := RANDOM(6) + 1;
OutText("Roll "); OutInt(i,0); OutText(": "); OutInt(roll,0); OutImage;
END;
ENDCoding works best on desktop or with an external keyboard.
Rolls a six-sided dice three times.
BEGIN
INTEGER i, roll;
FOR i := 1 STEP 1 UNTIL 3 DO
roll := RANDOM(6) + 1;
OutText("Roll "); OutInt(i,0); OutText(": "); OutInt(roll,0); OutImage;
END;
ENDSimula is a high-level, statically typed programming language designed for simulation and object-oriented programming. It introduced the concept of classes, objects, and inheritance, laying the foundation for modern object-oriented languages like C++ and Java.
Origin & Creator
Simula was developed in the 1960s by Ole-Johan Dahl and Kristen Nygaard at the Norwegian Computing Center (Norsk Regnesentral) to support simulation of complex systems.
Industrial Note
Simula is primarily used in academia and research, particularly for simulation modeling and teaching object-oriented programming concepts.