Ada

Ada definition - computer

A high-level programming language developed by the U.S. Department of Defense along with the European Economic Community and many other organizations. It was designed for embedded applications and process control but is also used for logistics applications. Ada is a Pascal-based language that is very comprehensive.

Ada was named after Augusta Ada Byron (1815-1852), Countess of Lovelace and daughter of the poet Lord Byron and mathematician Annabella Milbanke Byron. Ada also became a mathematician and was the colleague of Charles Babbage, who was developing his Analytical Engine. Some of her programming notes for the machine have survived, giving her the distinction of being the first documented programmer in the world.

The following Ada program converts Fahrenheit to Celsius:

 with Text_IO;
 procedure Convert is
 package Int_IO is new Text_IO.Integer_IO(Integer);
 Fahrenheit : Integer;
 begin
  Text_IO.Put_Line("Enter Fahrenheit");
  Int_IO.Get(Fahrenheit);
  Text_IO.Put("Celsius is ");
  Int_IO.Put((Fahrenheit-32) * 5 / 9);
  Text_IO.New_Line;
 end Convert;





Computer Desktop Encyclopedia THIS DEFINITION IS FOR PERSONAL USE ONLY
All other reproduction is strictly prohibited without permission from the publisher.
Copyright © 1981-2009 by Computer Language Company Inc. All rights reserved.

Comments
Improve this definition.
Do you have more to add? Share your linguistic knowledge or observation.
/Register to save your comments.