Saturday, 21 November 2015

ADA Program

Evaluation of ADA Program

The most important aspect of the design of the Ada language is to consider the following.

v     The designs are  competitive, there were no limits on participation.
v     It embodies most of the concepts of software engineering and language design of late 1970s
v     The development of the compile, for the  Ada  language was a difficult task.Ada compilers begin to appear only in 1985th
The drawbacks of Ada were did it was too large, too complex and less reliable.
  
Example of Ada program.

With Ada_text_IO, Ada_Integer, Text_IO;
Use Ada_Text_IO, Ada_Integer_Text_IO;
Procedure is Ada_Ex
Type Int_List_Type is array (1 ... ..99) of integers;
Int_List; Int _List Type;
List_Len, sum, average, Result, Integer;
Begin
Result = 0;
Sum = 0;
Get (List_len)
If int_List (counter)> then Average
Result: = result + 1;
End if;
END LOOP;

  • Ada 95 and Ada 2005
  • Ada 95 Provides Inheritance, Dynamic Binding of subprogram calls to subprogram definition, polymorphism and Encapsulating the shared data among concurrent process.
  • Ada is Mainly used in Both commercial and  defense, air traffic control.







No comments:

Post a Comment