Abstract Data Type Programming Language

Introduction to Abstract Data Type Programming Language

Abstract  data type programming language recognize  abstract data types as the unit of  program modularity. As such  various programming languages  which  use this develop an effective program.

Abstract data type Programming  language  Is :CLU

CLU C, FORTRAN , Pascal  ML. C++, java  etc. Also use this concept.

Example 3. Consider a program  segment   of Ada to show  the concept  of abstract data types. In  Ada  an abstract data  type definition is  one form  of a package. A package  defining an abstract data  type section type might  the form as shown in fig 6.3 .

Package Section Type is

Type student  ID is integer:

Type section ( Max size  integer)  is private

Procedure assign student( sect: in out section : stud in student ID)

Procedure Create section ( sect : in out section : Instr in  integer: room in integer)

Type section ( Max size: integer ) is  record

Room : integer

Inst : integer:

Class Size : integer range 0 Max size : =0

Class roll: array ( 1: max size) of  student ID

End record: end:

Package  body section type is

Procedure assign student (.....) is

Statements to insert student on class roll end:

Procedure create section (......) is 

Statements  to initialize components of section record end:

Procedure schedule room (...) is

Statements  to schedule  section in a room end

End,

The  declaration in private for type  section indicates that the internal structure of  section data objects are not accessible form  subprograms using the package. The actual details of this type are given at the end of the package in the private component of the  package. Only subprograms within the package definite on have  access to   private data.  Thus for  example  procedures assign student and create section may  access the array class roll that is one component of a section but any other procedure ( outside the package ) cannot access this component even though the other  procedure may  declare a  variable to be of type section.

Latest technology based Software Engineering Online Tutoring Assistance

Tutors, at the www.tutorsglobe.com, take pledge to provide full satisfaction and assurance in Abstract Data Type Programming Language homework help via online tutoring. Students are getting 100% satisfaction by online tutors across the globe. Here you can get homework help for Abstract Data Type Programming Language, project ideas and tutorials. We provide email based Abstract Data Type Programming Language homework help. You can join us to ask queries 24x7 with live, experienced and qualified online tutors specialized in Abstract Data Type Programming Language. Through Online Tutoring, you would be able to complete your homework or assignments at your home. Tutors at the TutorsGlobe are committed to provide the best quality online tutoring assistance for Software Engineering homework help and assignment help services. They use their experience, as they have solved thousands of the software engineering assignments, which may help you to solve your complex issues of Abstract Data Type Programming Language. TutorsGlobe assure for the best quality compliance to your homework. Compromise with quality is not in our dictionary. If we feel that we are not able to provide the homework help as per the deadline or given instruction by the student, we refund the money of the student without any delay.

©TutorsGlobe All rights reserved 2022-2023.