Ada is a structured Structured programming can be seen as a subset or subdiscipline of imperative programming, one of the major programming paradigms. It is most famous for removing or reducing reliance on the GOTO statement, statically typed In computer science, a type system may be defined as a tractable syntactic framework for classifying phrases according to the kinds of values they compute. A type system associates types with each computed value. By examining the flow of these values, a type system attempts to prove that no type errors can occur. The type system in question, imperative In computer science, imperative programming is a programming paradigm that describes computation in terms of statements that change a program state. In much the same way that imperative mood in natural languages expresses commands to take action, imperative programs define sequences of commands for the computer to perform, wide-spectrum A wide-spectrum language is a programming language designed to be simultaneously a low-level and a high-level language—possibly a non-executable specification language. Wide-spectrum languages are designed to support a programming methodology based on program refinement, and object-oriented Object-oriented programming is a programming paradigm that uses "objects" – data structures consisting of datafields and methods together with their interactions – to design applications and computer programs. Programming techniques may include features such as data abstraction, encapsulation, modularity, polymorphism, and high-level A high-level programming language is a programming language with strong abstraction from the details of the computer. In comparison to low-level programming languages, it may use natural language elements, be easier to use, or be more portable across platforms. Such languages hide the details of CPU operations such as memory access models and computer Computer programming is the process of writing, testing, debugging/troubleshooting, and maintaining the source code of computer programs. This source code is written in a programming language. The code may be a modification of an existing source or something completely new. The purpose of programming is to create a program that exhibits a certain programming language A programming language is an artificial language designed to express computations that can be performed by a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine, to express algorithms precisely, or as a mode of human communication, extended from Pascal Pascal is an influential imperative and procedural programming language, designed in 1968/9 and published in 1970 by Niklaus Wirth as a small and efficient language intended to encourage good programming practices using structured programming and data structuring and other languages. It was originally designed by a team led by Jean Ichbiah Jean David Ichbiah was a French-born computer scientist and the chief designer (from 1977–1983) of Ada, a general-purpose, strongly typed programming language with certified validated compilers. At the time, he was a member of the Programming Research division at CII Honeywell Bull (CII-HB) in Louveciennes, France. He had previously designed an of CII Honeywell Bull Groupe Bull (also known as Bull Information Systems or simply Bull) is a French-owned computer company headquartered in Les Clayes-sous-Bois, outside Paris. The company has also been known at various times as Bull General Electric, Honeywell Bull, CII Honeywell Bull, and Bull HN. Bull was founded in 1931, as H.W. Egli - Bull, to capitalize on the under contract to the United States Department of Defense The United States Department of Defense is the U.S. federal department charged with coordinating and supervising all agencies and functions of the government relating directly to national security and the United States armed forces. The organization and functions of the DOD are set forth in Title 10 of the United States Code (DoD) from 1977 to 1983 to supersede the hundreds of programming languages then used by the DoD. Ada is strongly typed In computer science and computer programming, the term strong typing is used to describe those situations where programming languages specify one or more restrictions on how operations involving values having different data types can be intermixed. Its antonym is weak typing. However, these terms have been given such a wide variety of meanings and compilers are validated for reliability in mission-critical applications, such as avionics Avionics is a portmanteau of "aviation electronics". It comprises electronic systems for use on aircraft, artificial satellites and spacecraft, comprising communications, navigation and guidance, display systems, flight management systems, sensors and indicators, weather radars, electrical systems and various other computers onboard software. Ada is an international standard; the current version (known as Ada 2005) is defined by joint ISO/ANSI standard,[1] combined with major Amendment ISO/IEC 8652:1995/Amd 1:2007.[2]

Ada was named after Ada Lovelace Augusta Ada King, Countess of Lovelace , born Augusta Ada Byron, was an English writer chiefly known for her work on Charles Babbage's early mechanical general-purpose computer, the analytical engine. Her notes on the engine include what is recognized as the first algorithm intended to be processed by a machine; as such she is often[when?] (1815–1852), who is often credited as being the first computer programmer.[3]

Contents

Features

Ada was originally targeted at embedded An embedded system is a computer system designed to perform one or a few dedicated functions often with real-time computing constraints. It is embedded as part of a complete device often including hardware and mechanical parts. By contrast, a general-purpose computer, such as a personal computer , is designed to be flexible and to meet a wide and real-time In computer science, real-time computing , or reactive computing, is the study of hardware and software systems that are subject to a "real-time constraint"—i.e., operational deadlines from event to system response. By contrast, a non-real-time system is one for which there is no deadline, even if fast response or high performance is systems. The Ada 95 revision, designed by S. Tucker Taft of Intermetrics Intermetrics, Inc. was a software company founded in Cambridge, Massachusetts in 1969 by several veterans of M.I.T.'s Instrumentation Laboratory who had worked on the software for NASA's Apollo Program including the Apollo Guidance Computer between 1992 and 1995, improved support for systems, numerical, financial, and object-oriented programming Object-oriented programming is a programming paradigm that uses "objects" – data structures consisting of datafields and methods together with their interactions – to design applications and computer programs. Programming techniques may include features such as data abstraction, encapsulation, modularity, polymorphism, and (OOP).

Notable features of Ada include: strong typing In computer science and computer programming, the term strong typing is used to describe those situations where programming languages specify one or more restrictions on how operations involving values having different data types can be intermixed. Its antonym is weak typing. However, these terms have been given such a wide variety of meanings, modularity mechanisms Modular programming is a software design technique that increases the extent to which software is composed from separate parts, called modules. Conceptually, modules represent a separation of concerns, and improve maintainability by enforcing logical boundaries between components. Modules are typically incorporated into the program through (packages), run-time checking, parallel processing Parallel processing is the ability of the brain to simultaneously process incoming stimuli. This becomes most important in vision, as the brain divides what it sees into four components: color, motion, shape, and depth. These are individually analyzed and then compared to stored memories, which helps the brain identify what you are viewing. The (tasks), exception handling Exception handling is a programming language construct or computer hardware mechanism designed to handle the occurrence of exceptions, special conditions that change the normal flow of program execution, and generics Generic programming is a style of computer programming in which algorithms are written in terms of to-be-specified-later types that are then instantiated when needed for specific types provided as parameters. This approach, pioneered by Ada in 1983, permits writing common functions or types that differ only in the set of types on which they. Ada 95 added support for object-oriented programming Object-oriented programming is a programming paradigm that uses "objects" – data structures consisting of datafields and methods together with their interactions – to design applications and computer programs. Programming techniques may include features such as data abstraction, encapsulation, modularity, polymorphism, and, including dynamic dispatch In computer science, dynamic dispatch is the process of mapping a message to a specific sequence of code at runtime. This is done to support the cases where the appropriate method cannot be determined at compile-time (i.e. statically). Dynamic dispatch is only used for code invocation and not for other binding processes (such as for global.

Ada supports run-time checks to protect against access to unallocated memory, buffer overflow In computer security and programming, a buffer overflow, or buffer overrun, is an anomaly where a program, while writing data to a buffer, overruns the buffer's boundary and overwrites adjacent memory. This may result in erratic program behavior, including memory access errors, incorrect results, program termination , or a breach of system errors, off-by-one errors An off-by-one error is a logical error involving the discrete equivalent of a boundary condition. It often occurs in computer programming when an iterative loop iterates one time too many or too few. Usually this problem arises when a programmer fails to take into account that a sequence starts at zero rather than one (as with array indices in, array access errors, and other detectable bugs. These checks can be disabled in the interest of runtime efficiency, but can often be compiled efficiently. It also includes facilities to help program verification. For these reasons, Ada is widely used in critical systems, where any anomaly In software testing an anomaly is anything that differs from expectation. This expectation can result from many things like from a document or from a person's view (e.g. the person has different opinion regarding usability) or experiences (e.g. the specification is not clear on one thing and the person also knows competitor products, where such a might lead to very serious consequences, i.e., accidental death or injury. Examples of systems where Ada is used include avionics Avionics is a portmanteau of "aviation electronics". It comprises electronic systems for use on aircraft, artificial satellites and spacecraft, comprising communications, navigation and guidance, display systems, flight management systems, sensors and indicators, weather radars, electrical systems and various other computers onboard, weapon systems (including thermonuclear weapons Nuclear weapon designs are physical, chemical, and engineering arrangements that cause the physics package of a nuclear weapon to detonate. There are three basic design types. In all three, the explosive energy of deployed devices has been derived primarily from nuclear fission, not fusion), and spacecraft A spacecraft is a craft or machine designed for spaceflight. Spacecraft are used for a variety of purposes, including communications, earth observation, meteorology, navigation, planetary exploration and space tourism. Spacecraft and space travel are common themes in works of science fiction.[citation needed]

Ada also supports a large number of compile-time checks to help avoid bugs that would not be detectable until run-time in some other languages or would require explicit checks to be added to the source code. Ada is designed to detect small problems in very large software systems. For example, Ada detects each misspelled variable (due to the rule to declare each variable name), and Ada pinpoints unclosed if-statements, which require "END IF" rather than mismatching with any "END" token. Also, Ada can spot procedure calls with incorrect parameters, which is a common problem in large, complex software where most of the statements are procedure calls.

Ada's dynamic memory management Memory management is the act of managing computer memory. In its simpler forms, this involves providing ways to allocate portions of memory to programs at their request, and freeing it for reuse when no longer needed. The management of main memory is critical to the computer system is high-level and type-explicit, requiring explicit instantiation of the Unchecked_Deallocation package to explicitly free allocated memory. The specification does not require any particular implementation. Though the semantics of the language allow automatic garbage collection In computer science, garbage collection is a form of automatic memory management. It is a special case of resource management, in which the limited resource being managed is memory. The garbage collector, or just collector, attempts to reclaim garbage, or memory occupied by objects that are no longer in use by the program. Garbage collection was of inaccessible objects, most implementations do not support it. Ada does support a limited form of region-based storage management. Invalid accesses can always be detected at run time (unless of course the check is turned off) and sometimes at compile time.

The syntax of Ada is simple, consistent and readable. It minimizes choices of ways to perform basic operations, and prefers English keywords (e.g. "or else") to symbols (e.g. "||"). Ada uses the basic mathematical symbols (i.e.: "+", "-", "*" and "/") for basic mathematical operations but avoids using other symbols. Code blocks are delimited by words such as "declare", "begin" and "end". Conditional statements are closed with "end if", avoiding a dangling else that could pair with the wrong nested if-expression in other languages.

Ada was designed to use the English language standard for comments In computer programming, a comment is a programming language construct used to embed programmer-readable annotations in the source code of a computer program. Those annotations are potentially significant to programmers but typically ignorable to compilers and interpreters. Comments are usually added with the purpose of making the source code: the em-dash, as a double-dash ("--") to denote comment text. Comments stop at end of line, so there is no danger of unclosed comments accidentally eating whole sections of source code. Comments can be nested: prefixing each line (or column) with "--" will skip all that code, while being clearly denoted as a column of repeated "--" down the page. There is no limit to the nesting of comments, thereby allowing prior code, with commented-out sections, to be commented-out as even larger sections. All Unicode Unicode is a computing industry standard for the consistent representation and handling of text expressed in most of the world's writing systems. Developed in conjunction with the Universal Character Set standard and published in book form as The Unicode Standard, the latest version of Unicode consists of a repertoire of more than 107,000 characters are allowed in comments, such as for symbolic formulas (E[0]=m×c²). To the compiler, the double-dash is treated as end-of-line, allowing continued parsing of the language as a context-free grammar where V is a single nonterminal symbol, and w is a string of terminals and/or nonterminals.

The semicolon (";") is a statement terminator, and the null or no-operation statement is null;. A single ; without a statement to terminate is not allowed. This allows for a better quality of error messages.

Code for complex systems is typically maintained for many years, by programmers other than the original author. It can be argued that these language design principles apply to most software projects, and most phases of software development, but when applied to complex, safety critical projects, benefits in correctness, reliability, and maintainability take precedence over (arguable) costs in initial development.

Unlike most ISO The International Organization for Standardization , widely known as ISO (pronounced /ˈaɪsoʊ/ EYE-soe), is an international-standard-setting body composed of representatives from various national standards organizations. Founded on 23 February 1947, the organization promulgates worldwide proprietary industrial and commercial standards. It has standards, the Ada language definition (known as the Ada Reference Manual or ARM, or sometimes the Language Reference Manual or LRM) is free content Free content, or free information, is any kind of functional work, artwork, or other creative content having no significant legal restriction relative to people's freedom to use, distribute copies, modify, and to distribute derived works of the content. It is distinct from open content in that it can be modified, whereas one might not have that. Thus, it is a common reference for Ada programmers and not just programmers implementing Ada compilers. Apart from the reference manual, there is also an extensive rationale document which explains the language design and the use of various language constructs. This document is also widely used by programmers. When the language was revised, a new rationale document was written.

One notable free software Free software, software libre or libre software is software that can be used, studied, and modified without restriction, and which can be copied and redistributed in modified or unmodified form either without restriction, or with minimal restrictions only to ensure that further recipients can also do these things and that manufacturers of consumer- tool that is used by many Ada programmers to aid them in writing Ada source code is GPS, the GNAT Programming Studio.

History

In the 1970s, the US Department of Defense The United States Department of Defense is the U.S. federal department charged with coordinating and supervising all agencies and functions of the government relating directly to national security and the United States armed forces. The organization and functions of the DOD are set forth in Title 10 of the United States Code (DoD) was concerned by the number of different programming languages being used for its embedded computer system projects, many of which were obsolete or hardware-dependent, and none of which supported safe modular programming. In 1975, the High Order Language Working Group The High Order Language Working Group was a working group instrumental in developing the Ada computer programming language. The group was established in 1975 with the goal of establishing a single high level programming language appropriate for United States Department of Defense (DoD) real-time embedded computer systems (HOLWG) was formed with the intent to reduce this number by finding or creating a programming language generally suitable for the department's requirements. The result was Ada. The total number of high-level programming languages in use for such projects fell from over 450 in 1983 to 37 by 1996.

Wikisource Wikisource is an online library of free content textual sources, operated by the Wikimedia Foundation. Its aims are to harbour all forms of free text, in many languages. It also provides translation efforts to this end has original text related to this article: Steelman language requirements

The working group A working group is an interdisciplinary collaboration of researchers working on new research activities that would be difficult to develop under traditional funding mechanisms (e.g. federal agencies). The lifespan of the WG can last anywhere between a few months and several years. Such groups have the tendency to develop a quasi-permanent created a series of language requirements documents—the Strawman, Woodenman, Tinman, Ironman and Steelman documents. Many existing languages were formally reviewed, but the team concluded in 1977 that no existing language met the specifications.

Requests for proposals for a new programming language were issued and four contractors were hired to develop their proposals under the names of Red (Intermetrics Intermetrics, Inc. was a software company founded in Cambridge, Massachusetts in 1969 by several veterans of M.I.T.'s Instrumentation Laboratory who had worked on the software for NASA's Apollo Program including the Apollo Guidance Computer led by Benjamin Brosgol), Green (CII Honeywell Bull, led by Jean Ichbiah Jean David Ichbiah was a French-born computer scientist and the chief designer (from 1977–1983) of Ada, a general-purpose, strongly typed programming language with certified validated compilers. At the time, he was a member of the Programming Research division at CII Honeywell Bull (CII-HB) in Louveciennes, France. He had previously designed an), Blue (SofTech, led by John Goodenough), and Yellow (SRI International SRI International, founded as Stanford Research Institute, is one of the world's largest contract research institutes. Based in the United States, the trustees of Stanford University established it in 1946 as a center of innovation to support economic development in the region. It was later incorporated as an independent non-profit organization, led by Jay Spitzen). In April 1978, after public scrutiny, the Red and Green proposals passed to the next phase. In May 1979, the Green proposal, designed by Jean Ichbiah at CII Honeywell Bull, was chosen and given the name Ada—after Augusta Ada, Countess of Lovelace Augusta Ada King, Countess of Lovelace , born Augusta Ada Byron, was an English writer chiefly known for her work on Charles Babbage's early mechanical general-purpose computer, the analytical engine. Her notes on the engine include what is recognized as the first algorithm intended to be processed by a machine; as such she is often[when?]. This proposal was influenced by the programming language LIS that Ichbiah and his group had developed in the 1970s. The preliminary Ada reference manual was published in ACM SIGPLAN Notices in June 1979. The Military Standard reference manual was approved on December 10, 1980 (Ada Lovelace Augusta Ada King, Countess of Lovelace , born Augusta Ada Byron, was an English writer chiefly known for her work on Charles Babbage's early mechanical general-purpose computer, the analytical engine. Her notes on the engine include what is recognized as the first algorithm intended to be processed by a machine; as such she is often[when?]'s birthday), and given the number MIL-STD-1815 in honor of Ada Lovelace's birth year. In 1981, C. A. R. Hoare Sir Charles Antony Richard Hoare , commonly known as Tony Hoare or C.A.R. Hoare, is a British computer scientist best known for the development (in 1960, at age 26) of Quicksort, one of the world's most widely used sorting algorithms. He also developed Hoare logic for verifying program correctness, and the formal language Communicating Sequential took advantage of his Turing Award speech to criticize Ada for being overly complex and hence unreliable,[4] but subsequently seemed to recant in the foreword he wrote for an Ada textbook.[5]

Ada attracted much attention from the programming community as a whole during its early days. Its backers and others predicted that it might become a dominant language for general purpose programming and not just defense-related work. Ichbiah publicly stated that within ten years, only two programming languages would remain, Ada and Lisp.[6] Early Ada compilers struggled to implement the large, complex language, and both compile-time and run-time performance tended to be slow and tools primitive. Compiler vendors expended most of their efforts in passing the massive, language-conformance-testing, government-required "ACVC" validation suite that was required in another novel feature of the Ada language effort.[6]

Augusta Ada King, Countess of Lovelace.

In 1987, the US Department of Defense began to require the use of Ada (the Ada mandate) for every software project where new code was more than 30% of result, though exceptions to this rule were often granted.

By the late 1980s and early 1990s, Ada compilers had improved in performance, but there were still barriers to full exploitation of Ada's abilities, including a tasking model that was different from what most real-time programmers were used to.[6]

The Department of Defense Ada mandate was effectively removed in 1997, as the DoD began to embrace COTS (commercial off-the-shelf) technology. Similar requirements existed in other NATO countries.

Because Ada is a strongly typed language and has other safety-critical support features, it has found a niche outside the military in commercial aviation projects, where a software bug can cause fatalities. The fly-by-wire system software in the Boeing 777 was written in Ada. The Canadian Automated Air Traffic System was written in 1 million lines of Ada (SLOC count). It featured advanced (for the time) distributed processing, a distributed Ada database, and object-oriented design.

Standardization

The language became an ANSI standard in 1983 (ANSI/MIL-STD 1815A), and without any further changes became an ISO standard in 1987 (ISO-8652:1987). This version of the language is commonly known as Ada 83, from the date of its adoption by ANSI, but is sometimes referred to also as Ada 87, from the date of its adoption by ISO.

Ada 95, the joint ISO/ANSI standard (ISO-8652:1995) is the latest standard for Ada. It was published in February 1995, making Ada 95 the first ISO standard object-oriented programming language. To help with the standard revision and future acceptance, the US Air Force funded the development of the GNAT Compiler. Presently, the GNAT Compiler is part of the GNU Compiler Collection.

Work has continued on improving and updating the technical content of the Ada programming language. A Technical Corrigendum to Ada 95 was published in October 2001, and a major Amendment, ISO/IEC 8652:1995/Amd 1:2007, was published on March 9, 2007. Other related standards include ISO 8651-3:1988 Information processing systems—Computer graphics—Graphical Kernel System (GKS) language bindings—Part 3: Ada

Language constructs

Ada is a Algol-like programming language featuring control structures with reserved words such as if, then, else, while, for, and so on. However, Ada also has many data structuring facilities and other abstractions which were not included in the original Algol60, like type definitions, records, pointers, enumerations. Such constructs were in part inherited or inspired from Pascal.

"Hello, world!" in Ada

The Wikibook Ada Programming has a page on the topic of Basic

A common example of a language's syntax is the Hello world program:

with Ada.Text_IO;
procedure Hello is
begin
Ada.Text_IO.Put_Line("Hello, world!");
end Hello;

Ada also provides alternative constructions that are more streamlined.

Data types

The Wikibook Ada Programming has a page on the topic of Type System

Ada's type system is not based on a set of predefined primitive types but allows users to declare their own types. This declaration in turn is not based on the internal representation of the type but on describing the goal which should be achieved.

For example a date might be represented as:

type Day is range 1 .. 31;
type Month is range 1 .. 12;
type Year is range 1800 .. 2100;
type Date is
record
Day : Day;
Month : Month;
Year : Year;
end record;

Control structures

The Wikibook Ada Programming has a page on the topic of Control

Ada is a structured programming language, meaning that the flow of control is structured into standard statements. All standard constructs and deep level early exit are supported so the use of the also supported 'go to' commands is seldom needed.

while a /= b loop
Ada.Text_IO.Put_Line ("Waiting");
end loop;
if a > b then
Ada.Text_IO.Put_Line ("Condition met");
else
Ada.Text_IO.Put_Line ("Condition not met");
end if;
for i in 1 .. 10 loop
Ada.Text_IO.Put ("Iteration: ");
Ada.Text_IO.Put (i);
Ada.Text_IO.Put_Line;
end loop;
loop
a := a + 1
exit when a = 10;
end loop;
case i is
when 0 => Ada.Text_IO.Put("zero");
when 1 => Ada.Text_IO.Put("one");
when 2 => Ada.Text_IO.Put("two");
end case;

Packages, procedures and functions

The Wikibook Ada Programming has a page on the topic of Subprograms
The Wikibook Ada Programming has a page on the topic of Packages

Ada programs consist of packages, procedures and functions.

with Ada.Text_IO;
package Mine is
type Integer is range 1 .. 11;
i : Integer := Integer'First;
procedure Print (j: in out Integer) is
function Next (k: in Integer) return Integer is
begin
return k + 1;
end Next;
begin
Ada.Text_IO.Put_Line ('The total is: ', j);
j := Next (j);
end Print;
begin
while i < Integer'Last loop
Print (i);
end loop;
end Mine;

Packages, Procedures and functions can nest to any depth and each can also be the logical outermost block.

Each package, procedure or function can have its own declarations of goto labels, constants, types, variables, and other procedures, functions and packages, which can be declared in any order.

See also

Notes

  1. ^ ISO-8652:1995
  2. ^ ISO/IEC 8652:1995/Amd 1:2007
  3. ^ J. Fuegi and J. Francis, "Lovelace & Babbage and the creation of the 1843 'notes'." Annals of the History of Computing 25 #4 (October-December 2003): 16-26. Digital Object Identifier
  4. ^ C.A.R. Hoare, "The Emperor's Old Clothes." Communications of the ACM, 1981.
  5. ^ D.A. Watt, B.A. Wichmann and W. Findlay, "Ada: Language and Methodology." Prentice-Hall, 1987.
  6. ^ a b c J-P. Rosen, "The Ada Paradox(es)", Ada Letters, ACM SIGAda, Vol. 24, No. 2, August 2009, pp. 28-35.

References

This article includes a list of references or external links, but its sources remain unclear because it has insufficient inline citations. Please help to improve this article by introducing more precise citations where appropriate. (April 2009)

International Standards

Rationale

(These documents have been published in various forms including print.)

Books

Archives

External links

Wikibooks has a book on the topic of Ada Programming

Categories: Ada programming language | Computer and telecommunication standards | Multi-paradigm programming languages | Statically-typed programming languages | Systems programming languages | ISO standards | IEC standards | .NET programming languages | Avionics Programming Language | High Integrity Programming Language

 

The above information uses material from Wikipedia and is licensed under the GNU Free Documentation License.
Some facts may not have been fully verified for accuracy. [Disclaimers]
This page was last archived by our server on Wed Jul 28 19:22:02 2010. [ refresh local cache ]
Displaying this page or its contents does not use any Wikimedia Foundation's resources.
The owners of this site proudly support the Wikimedia Foundation.


Deamonte's legacy - Baltimore Sun
baltimoresun.com
Deamonte's legacy - Baltimore Sun
Mon, 21 Jun 2010 10:01:45 GMT+00:00
Baltimore Sun According to a February 2010 report by The Pew Center on the States, Maryland was one of only six states to earn an "A" for its oral health programming . ...
Google News Search: Ada (programming language),
Wed Jul 28 19:22:05 2010
omega2 05 jpg
globe3d.sourceforge.net
omega2 05 jpg
409px x 512px | 35.20kB

[source page]



Yahoo Images Search: Ada (programming language),
Wed Jul 28 19:22:05 2010
 Ada Lovelace Kadambam
aronnirmal.wordpress.com
Ada Lovelace Kadambam

aronnirmal

Fri, 11 Dec 2009 14:32:00 GM

Ada. is . programming language. named after her.. Ada. is a structured, statically typed, imperative, wide-spectrum, and object-oriented​ high-level computer . programming language. , extended from Pascal and other languages. ...

Google Blogs Search: Ada (programming language),
Wed Jul 28 19:22:05 2010
How would you produce table in Ada programming language?
Q. I want the final math formula to be Q = (1.486 / N) * A * R 2/3 * s where R = depth * width/ (2 * depth + width) and A=depth*width and S = Slope. The way I am thinking to set it up is to define small vectors for both depth and slope, since the assignment is to test all combinations of given depth and slope values. The array I have set up look like: type SMALL_VEC is array(0..6) of FLOAT; SLOPE:SMALL_VEC; SLOPE := (0.0014, 0.0015, 0.0016, 0.0017, 0.0018, 0.0019, 0.0020); type SMALL_VEC is array(0..3) of FLOAT; DEPTH:SMALL_VEC; DEPTH := (6.00, 8.00, 10.00, 12.00); from there I don't know how to set it up so that both arrays are plugged into the equation, so each combination of the values are plugged into the equation, and the results… [cont.]
Asked by cbgreene9185 - Mon Oct 5 12:32:55 2009 - - 1 Answers - 0 Comments

A. sorry i can't help you directly since I've discontinued my Ada several years ago; but here a place where you can find several high-quality code (from basic to more advanced); among the tasks surely there's something similar enough to what you need
Answered by Tizio 008 - Mon Oct 5 12:42:34 2009

Yahoo Answers Search: Ada (programming language),
Wed Jul 28 19:22:05 2010