Jump to content

List of educational programming languages

From Wikipedia, the free encyclopedia

An educational programming language is a programming language that is primarily used as a learning tool and a starting point before transitioning to more complex programming languages.

Types of Educational Programming Languages

[edit]

Assembly Languages

[edit]

Initially, machine code was the sole method of programming computers. Assembly language followed as an early advancement, making it one of the oldest families of programming languages still in use today. Numerous dialects and implementations exist, each tailored to a specific computer processor architecture. Assembly languages are considered low-level and more challenging to use, as they are untyped and rigid. For educational purposes, simplified dialects of assembly languages have been developed to make coding more accessible to beginners.

Low-level languages, like assembly, must be written for a particular processor architecture. They cannot be effectively taught or used in isolation from the hardware for which they were designed. Unlike higher-level languages, educational assembly languages require some form of processor representation, either virtual or physical. Assembly languages are commonly used to teach the fundamental operations of a computer processor.

  • This image discribes the program Little Man Computer (LMC)'s interface
    An image of Little Man Computer (LMC)'s interface
    Little Man Computer (LMC) (1965) is an instructional model of a simple von Neumann architecture computer. It includes the basic features of modern computers and can be programmed using machine code (usually in decimal) or assembly. The model simulates a computer environment using a visual metaphor of a person (the "Little Man") in a room with 100 mailboxes (memory), a calculator (the accumulator), and a program counter. LMC is used to help students understand basic processor functions and memory management.
  • MIX (1968) and MMIX (1999) are hypothetical computer models featured in Donald Knuth's "The Art of Computer Programming." The MIX computer is designed for educational purposes, illustrating how a basic machine language operates. Despite its simplicity, it can handle complex tasks typical of high-performance computers. MIX allows programming in both binary and decimal, with software emulators available for both models. MMIX, which superseded MIX, is a 64-bit RISC instruction set architecture, modernized for teaching contemporary computer architecture.
  • DLX (1994) is a reduced instruction set (RISC) computer processor architecture created by key developers of the MIPS and Berkeley RISC designs. DLX is a simplified version of MIPS, offering a 32-bit load/store architecture commonly used in college-level computer architecture courses.
  • Next Byte Codes (NBC) (2007) is a simple assembly language used for programming Lego Mindstorms NXT programmable bricks. The NBC compiler produces NXT-compatible machine code and is supported on Windows, macOS, and Linux.
  • Little Computer 3 (LC-3) (2019) is an assembly language with a simplified instruction set, enabling the writing of moderately complex assembly programs. It includes many features found in more advanced languages, making it useful for teaching basic programming and computer architecture. It is primarily used in introductory computer science and engineering courses.

BASIC variants

[edit]

BASIC (Beginner's All-purpose Symbolic Instruction Code) was invented in 1964 to provide computer access to non-science students. It became popular on minicomputers during the 1960s and became a standard computing language for microcomputers during the late 1970s and early 1980s. The goals of BASIC were focused on the need of learning to program easily:

  • be easy for beginners to use
  • be interactive
  • provide clear and friendly error messages
  • respond quickly
  • does not require an understanding of computer hardware or operating systems.

What made BASIC attractive for education was the small size of programs that could illustrate a concept in a dozen lines. BASIC continues to be frequently self-taught with tutorials and implementations.

See also List of BASIC dialects by platform.

BASIC offers a learning path from learning-oriented BASICs such as Microsoft Small Basic, BASIC-256 and SiMPLE, to more full-featured BASICs like Visual Basic .NET and Gambas.

  • Microsoft Small Basic is a restricted version of Visual Basic designed as a first language, "aimed at bringing 'fun' back to programming." The language is intentionally minimal, featuring only 15 keywords. By providing object-specific libraries for topics that interest children, they can create programs for both the web and desktop environments. For example, with 6 lines of code, it is possible to demonstrate a random network image viewer using Flickr as the source.[1] The system utilizes the Microsoft Visual Studio IDE to provide auto-completion and context-sensitive help.
  • This image shows Basic-256 1.0
    Basic-256 1.0
    Basic-256 an easy-to-use version of BASIC designed to teach anybody the basics of computer programming. It uses traditional BASIC control structures (gosub, for loops, goto) for ease of understanding program flow control. It has a built-in graphics mode that allows children to draw pictures on the screen after minutes.
  • SiMPLE is a programming development system that was created to provide easy programming abilities for everybody, especially non-professionals. It is somewhat like AppleSoft BASIC. It is compiled and lets users make their own libraries of often-used functions. "Simple" is a generic term for three slightly different versions of the language: Micro-SIMPLE (uses only 4 keywords), Pro-SiMPLE, and Ultra-SiMPLE (using 23 keywords).
  • Hot Soup Processor is a BASIC-derived language used in Japanese schools.
  • TI-BASIC is a simple BASIC-like language implemented in Texas Instruments graphing calculators, often serving as a student's first look at programming.
  • SmallBASIC is a fast and easy-to-learn BASIC language interpreter ideal for everyday calculations, scripts and prototypes. It includes trigonometric, matrix, and algebra functions, a built in IDE, a powerful string library, system, sound, and graphic commands, and a structured programming syntax.

C-based

[edit]
  • Ch is a C/C++ interpreter designed to help non-CS students to learn math, computing and programming in C and C++. It extends C with numerical, 2D/3D graphical plotting and scripting features.

Java-based

[edit]

Lisp-based

[edit]

Logo-based

[edit]
  • Logo is a language that was specifically designed to introduce children to programming. The first part of learning Logo deals with "turtle graphics" (derived from turtle robots) used as early as 1969 with proto-Logo. In modern implementations, an abstract drawing device, called the turtle, is used to make programming for children very attractive by concentrating on doing turtle graphics. Seymour Papert, one of the creators of Logo, was a prominent figure in constructionism, a variety of constructivist learning theories. Papert argued that activities like writing would naturally be learned by much younger children provided that they adopted a computing culture.[4] Logo was thus designed to improve a child's well being in a seemingly more and more tech-dominated world, "more important than having an early start on intellectual building, is being saved from a long period of dependency during which one learns to think of learning as something that has to be dished out by a more powerful other...Such children would not define themselves or allow society to define them as intellectually helpless."[4] It has been used by children as young as 3 years old and has a track record of 30 years of success in education. Since Logo is actually a streamlined version of Lisp with more advanced students, it can be used to introduce the basic concepts of computer science and even artificial intelligence. Logo is widely available on a variety of platforms, in both free and commercial versions.

Scala-based

[edit]
  • Kojo is an interactive desktop development environment developed primarily for educational purposes application that runs on Windows, Linux, and OS X. Kojo is a learning environment, with many different features that help with the exploration, learning, and teaching of concepts in the areas of computer programming and critical thinking, math and science, art, music, and creative thinking, computer and internet literacy.[5]

Smalltalk-based

[edit]

As part of the One Laptop per Child project, a sequence of Smalltalk-based languages has been developed, each designed to act as an introduction to the next. The structure is Scratch to Etoys to Squeak to any Smalltalk.[6] Each provides graphical environments which may be used to teach not only programming concepts to kids but also physics and mathematics simulations, story-telling exercises, etc., through the use of constructive learning. Smalltalk and Squeak have fully featured application development languages that have been around and well respected for decades; Scratch is a children's learning tool.

  • this image shows The Scratch 3.0 editor
    The Scratch 3.0 editor
    Scratch is a visual language based on and implemented in Squeak. It has the goal of teaching programming concepts to children and letting them create games, videos, and music. In Scratch, all the interactive objects, graphics, and sounds can be easily imported to a new program and combined in new ways. That way, beginners can get quick results and be motivated to try further. The Scratch community has developed and uploaded over 3,000,000 projects.[7] It is developed by the Lifelong Kindergarten[8] group at MIT Media Lab.
  • Etoys is based on the idea of programmable virtual entities behaving on the computer screen. Etoys provides a media-rich authoring environment with a simple, powerful scripted object model for many kinds of objects created by end-users. It includes 2D and 3D graphics, images, text, particles, presentations, web pages, videos, sound and MIDI, the ability to share desktops with other Etoys users in real-time, so many forms of immersive mentoring and play can be done over the Internet. It is multilingual and has been used successfully in United States, Europe, South America, Japan, Korea, India, Nepal, and elsewhere. The program is aimed at children between the ages of 9-12.[9]
  • Squeak is a modern, open-source, full-featured implementation of the Smalltalk language and environment. Smalltalk is an object-oriented, dynamically typed, reflective programming language created to underpin the "new world" of computing exemplified by "human-computer symbiosis".[10] Like Lisp, it has image-based persistence, so everything is modifiable from within the language (see Smalltalk#Reflection).[11] It has greatly influenced the industry introducing many of the concepts in object-oriented programming and just-in-time compilation. Squeak is the vehicle for a wide range of projects including multimedia applications, educational platforms and commercial web application development. Squeak is designed to be highly portable and easy to debug, analyze, and change, as its virtual machine is written fully in Smalltalk.

Pascal

[edit]
  • Pascal is a language designed by Niklaus Wirth in approximately 1970 with the goal to teach structured programming.[12] From the late 1970s to the late 1980s, it was the primary choice in introductory computer science classes for teaching students programming in both the US and Europe. Its use for real-world applications has since increased to general usage.[13]
  • Algol-based language and includes many constructs of Algol. Algol 60 is a subset of Pascal.
  • Formerly popular in the teaching and academics arena for various reasons:
    • easy to learn
    • structured language
    • it produces transparent, efficient and reliable programs
    • it can be compiled on a variety of computer platforms.

Other

[edit]

Children

[edit]
  • AgentSheets and AgentCubes are two computational thinking tools to author 2D/3D games and simulations. Authoring takes place through desktop applications or browser-based apps and it can create 2D/3D games playable in HTML5 compliant browsers, including mobile ones.
  • Alice is a free programming software designed to teach event-driven object-oriented programming to children. Programmers create interactive stories using a modern IDE interface with a drag and drop style of programming. The target audience ranges from middle school children all the way to university students.[14] Story Telling Alice is an Alice variant designed for younger children, with an even stronger story telling bent.[15]
  • Blockly is an open-source web-based graphical language where users can drag blocks together to build an application with no typing required. It was developed by Google.
  • CiMPLE was a visual language for programming robotic kit for children. It was built on top of C as a DSL. ThinkLabs, an Indian Robotics education based startup, built it for iPitara Robotic kit. The language bore strong resemblance to the C language. At least one school in Bangalore, India bought the iPitara kit and had their students program the robots using CiMPLE.[16] More information is available at the CiMPLE Original Developers Weblog.[17][18] It appears that eventually ThinkLabs switched to using "THiNK VPL" as their visual programming software.
  • Physical Etoys is a free open-source extension of Etoys. Its philosophy is that "it helps children explore their own creativity by combining science and art in an infinite laboratory".[19] It can run on Windows, Linux and Sugar. Due to its block scripting system, Physical Etoys allows different electronic devices such as Lego NXT, Arduino boards, Sphero, Kinect, and Wiimote joysticks interact between themselves .
  • Hackety Hack is a free Ruby-based environment aiming to make learning programming easy for beginners, especially teenagers.[20]
  • Karel, Karel++, and Karel J. Robot are languages aimed at beginners, used to control a simple robot in a city consisting of a rectangular grid of streets. While Karel is its own language, Karel++ is a version of Karel implemented in C++, while Karel J. Robot is a version of Karel implemented in Java.
  • Kodu is a language that is simple and entirely icon based. It was incubated out of Microsoft Research as a project to reach younger children, and especially girls, into enjoying technology. Programs are composed of pages, which are divided into rules, which are further divided into conditions and actions. Conditions are evaluated simultaneously. The Kodu language is designed specifically for game development and provides specialized primitives derived from gaming scenarios. Programs are expressed in physical terms, using concepts like vision, hearing, and time to control character behavior. The Kodu tool is available in three forms: PC as a free download in public beta and academic forms, and as a low-cost Xbox 360 Live download.
  • Logo is an educational language for children designed in 1967 by Daniel G. Bobrow, Wally Feurzeig, Seymour Papert and Cynthia Solomon. Today, the language is remembered mainly for its use of "turtle graphics", in which commands for movement and drawing produce line graphics using a small robot called a "turtle". The language was originally conceived to teach concepts of programming related to Lisp and only later to enable what Papert called "body-syntonic reasoning" where students could understand (and predict and reason about) the turtle's motion by imagining what they would do if they were the turtle.[21]
  • Lego Mindstorms is a line of Lego sets combining programmable bricks with electric motors, sensors, Lego bricks, and Lego Technic pieces (such as gears, axles, and beams). Mindstorms originated from the programmable sensor blocks used in the line of educational toys. The first retail version of Lego Mindstorms was released in 1998 and marketed commercially as the Robotics Invention System (RIS). The current version was released in 2006 as Lego Mindstorms NXT. A wide range of programming languages is used for the Mindstorms from Logo to BASIC to derivatives of Java, Smalltalk and C. The Mindstorm approach to programming now has dedicated physical sites called Computer Clubhouses.
  • Mama is an educational object oriented language designed to help young students start programming by providing all the language elements in the student mother tongue. Mama language is available in several languages, with both LTR and RTL language direction support. A new variant of Mama was built atop Carnegie Mellon's Alice development environment, supporting scripting of the 3D stage objects. This variant was designed to help young students start programming by building 3D animations and games. A document on educational programming principles explains Mama's design considerations.[22]
  • RoboMind is a simple educational programming environment that allows beginners to program a robot. It introduces popular programming techniques along with robotics and artificial intelligence. The robot can be programmed in Arabic, Chinese, Dutch, German, English and Swedish.
  • Scratch is a blocks-based graphical language developed by MIT.
  • ScratchJr is derivative of the Scratch graphical language. It is designed for children with ages around 5-7.
  • Snap! is a free open-source blocks-based graphical language implemented in JavaScript and originally derived from MIT's Scratch. Snap! adds the ability to create new blocks and has first-class functions that enables the use of anonymous functions. It is actively maintained by UC Berkeley. The source is entirely hosted on GitHub.
  • Stagecast Creator is a visual programming system based on programming by demonstration. Users demonstrate to the system what to do by moving icons on the screen, and it generates rules for the objects (characters). Users can create two-dimensional simulations that model concepts, multi-level games, and interactive stories.
  • Stencyl is a visual programming and game development IDE that has been used for education and commerce. The concept of code blocks it implements is based on MIT's Scratch visual language (listed above). It also permits the use of normal typed code (separate or intermingled) through its own API and the Haxe language.
  • ToonTalk is a language and environment that looks like a video game. Computational abstractions are mapped to concrete analogs such robots, houses, trucks, birds, nests, and boxes. It supports big integers and exact rational numbers. It is based upon concurrent constraint programming.

University

[edit]
  • Curry is a teaching language[23] designed to amalgamate the most important declarative programming paradigms, namely functional programming (nested expressions, higher-order functions, lazy evaluation) and logic programming (logical variables, partial data structures, built-in search). It also integrates the two most import operational principles developed in the area of integrated functional logic languages: "residuation" and "narrowing".[24][25]
  • Flowgorithm is a graphical authoring tool for writing and executing programs via flowcharts. The approach is designed to emphasize the algorithm rather than the syntax of a given language. The flowchart can be converted to several major languages such as C#, Java, Visual Basic .NET and Python.[26]
  • Oz is a language designed to teach computer theory. It supports most major paradigms[27] in one language so that students can learn paradigms without having to learn multiple syntaxes. Oz contains in a simple and well-factored way, most of the concepts of the major programming paradigms, including logic, functional (both lazy and eager), imperative, object-oriented, constraint, distributed, and concurrent programming. It has a canonical textbook, Concepts, Techniques, and Models of Computer Programming (2004), and a freely available standard implementation, the Mozart Programming System.[28]

See also

[edit]

References

[edit]
  1. ^ Microsoft corporation 2009 Getting Started Guide for Small Basic, p. 64.
  2. ^ Kenlon, Seth. "Learn the Lisp programming language in 2021 | Opensource.com". opensource.com. Retrieved October 14, 2024.
  3. ^ "What is the Lisp (List Processing) Programming Language? – A Definition from TechTarget.com". WhatIs. Retrieved October 14, 2024.
  4. ^ a b Papert, Seymour (October 1980). Redefining Childhood: The Computer Presence as an Experiment in Developmental Psychology. Tokyo, Japan and Melbourne, Australia: 8th World Computer Congress: IFIP Congress.
  5. ^ "About kogics Kojo". Retrieved February 12, 2011.
  6. ^ Cavallo, David (May 28, 2007). "Learning Squeak from Scratch". One Laptop Per Child News. Retrieved April 3, 2009.
  7. ^ Mitchel Resnick; John Maloney; Natalie Rusk; Evelyn Eastmond; Amon Millner; Jay Silver; Eric Rosenbaum; Karen Brennan; Amos Blanton. "Scratch: imagine, program, share". Massachusetts Institute of Technology. Retrieved January 8, 2013.
  8. ^ "Group Overview ‹ Lifelong Kindergarten". MIT Media Lab. Retrieved October 8, 2024.
  9. ^ Ducasse, Stéphane (2005). Squeak: Learn Programming with Robots (Technology in Action). Apress. pp. 289 in ch 24: A tour or eTOY. ISBN 1-59059-491-6.
  10. ^ Kay, Alan. "The Early History of Smalltalk". Archived from the original on April 29, 2011. Retrieved September 13, 2007.
  11. ^ For further discussion of why this make it easy see Meta-circular evaluator
  12. ^ Hemmendinger, David. "Pascal". Encyclopedia Britannica, 5 Apr. 2024, https://www.britannica.com/technology/Pascal-computer-language. Accessed 12 June 2024.
  13. ^ "Pascal - Free Pascal wiki". wiki.freepascal.org. Retrieved October 11, 2024.
  14. ^ "About – Alice". Retrieved October 7, 2024.
  15. ^ "Storytelling Alice – Alice". Retrieved November 7, 2023.
  16. ^ EducationWorld (September 21, 2012). "ThinkLABS RoboLAB". EducationWorld. Retrieved October 8, 2024.
  17. ^ CiMPLE Original Developers Weblog Archived July 21, 2011, at the Wayback Machine
  18. ^ "ThinkLABS -". web.archive.org. September 20, 2012. Retrieved October 9, 2024.
  19. ^ "Physical EToys - General description of the project". Tecnodata.{{cite web}}: CS1 maint: url-status (link)
  20. ^ "Hackety Hack". GitHub. Retrieved October 9, 2024.
  21. ^ HL ModTech (January 23, 2018). Logo Programming - Turtle Academy Lesson 1. Retrieved October 9, 2024 – via YouTube.
  22. ^ Mama educational programming principles
  23. ^ M. Hanus. Teaching Functional and Logic Programming with a Single Computation Model. In Proc. Ninth International Symposium on Programming Languages, Implementations, Logics, and Programs (PLILP'97), pp. 335–350. Springer LNCS 1292, 1997.
  24. ^ "Curry report, Introduction". Archived from the original on October 4, 2009.
  25. ^ Hanus, M. (1994). "The Integration of Functions into Logic Programming: From Theory to Practice". Journal of Logic Programming. 19&20: 583–628.
  26. ^ "About". Flowgorithm. Retrieved August 26, 2014.
  27. ^ Programming Paradigms poster
  28. ^ "Mozart Programming System". mozart2.org. Retrieved October 25, 2024.