Ada 95 Tutorial

In order to use this tutorial you need the source code for all of the example programs. There are 86 files for part 1 and another 100 files for part 2 of the tutorial. In addition, there are programming exercises at the end of most chapters which you should attempt to write simply to gain the experience. An answer is given for each of these exercises so you can compare your solution with another.

Complete instructions on downloading the source code and answers to the exercises are given near the end of this web page. Scroll down there now, download the zip files, and unpack them so you can begin your study of Ada.

When you have completed the download operations fully, then click on Introduction immediately below to begin your study of Ada.

Return to Graphics Ada-95 Main page

Return to Text-only Ada-95 Main page

Part 1 - Beginning Ada 95 Tutorial

Introduction - What is Ada and why study it?
Chapter 1 - Getting Started
Chapter 2 - Program Structure
Chapter 3 - The Integer Type Variable
Chapter 4 - Logical Compares & precedence
Chapter 5 - Control Structures
Chapter 6 - Additional Scalar Types
Chapter 7 - Derived Types
Chapter 8 - Subprograms
Chapter 9 - Blocks and Scope of variables
Chapter 10 - Arrays
Chapter 11 - The Character & String Type
Chapter 12 - Records
Chapter 13 - The Access Type Variable
Chapter 14 - Input/Output
Chapter 15 - Packages
Chapter 16 - Example Programs

Part 2 - Advanced Ada 95 Tutorial

Chapter 17 - Exceptions
Chapter 18 - Advanced Subprogram Topics
Chapter 19 - Advanced Array Topics
Chapter 20 - Advanced Record Topics
Chapter 21 - Advanced Packages & Private Types
Chapter 22 - Object Oriented Programming
Chapter 23 - More Object Oriented Programming
Chapter 24 - Binary Input/Output
Chapter 25 - Dynamic Allocation
Chapter 26 - Tasking
Chapter 27 - The Simple Rendezvous
Chapter 28 - The Conditional Rendezvous
Chapter 29 - Additional Tasking Topics
Chapter 30 - Generic Subprograms
Chapter 31 - Generic Packages
Chapter 32 - Control of Representation
Chapter 33 - More Example Programs

Return to Graphics Ada-95 Main page

Return to Text-only Ada-95 Main page

Downloading the source code and answers to exercises
The source code and the answers for part 1 should be kept in a separate directory from those given for part 2 because some of the file names are repeated. This is done to illustrate evolution of software techniques as additional constructs are studied. All of the HTML documentation, however, should be placed in a single directory.

Download HTML Documentation for Ada 95 Part 1 - (a95html.zip) Download the Introduction and Chapters 1 to 16 in one packed file. This file (about 132k) contains the 17 files mentioned (plus the diagrams) which can be downloaded and unpacked for use locally. The content of this file is identical to the content of those 17 files. There are no executable files in this group of files.

Source Code for Ada 95 Part 1 - (a95src1.zip) Download all example programs. This file (about 48k) contains 86 source files which are all explained in the 16 chapters of text. There are no executable files in this group of files.

Answers to Exercises for Ada 95 Part 1- (a95ans1.zip) Download the authors answers to all of the programming exercises. This file (about 20k) contains 37 source files. There are no executable files in this group of files.

Download HTML Documentation for Ada 95 Part 2- (a95htm2.zip) Download the Introduction and Chapters 17 to 33 in one packed file. This file (about 144k) contains the 17 files mentioned (plus the diagrams) which can be downloaded and unpacked for use locally. The content of this file is identical to the content of those 17 files. There are no executable files in this group of files. These files when unpacked, should be placed in the same directory as the documentation files from Part 1 of this tutorial.

Source Code for Ada 95 Part 2- (a95src2.zip) Download all example programs. This file (about 67k) contains 100 source files which are all explained in the 15 chapters of text. There are no executable files in this group of files.

Answers to Exercises for Ada 95 Part 2- (a95ans2.zip) Download the authors answers to all of the programming exercises. This file (about 29k) contains 39 source files. There are no executable files in this group of files.

pkunzip executable - (pkunzip.exe) Download pkunzip.exe version 2.04 to unzip the source code. This executable is pre-registered for your use in unzipping any Coronado Enterprises tutorial files. It will unpack and generate the zipped files in the current directory and all will be ASCII source code files. To unzip the source code files for Ada 95 part 1, execute the following DOS command;

     pkunzip a95src1.zip
Or, to unzip the answers to programming exercises for Ada 95 part 1, execute the following DOS command;
     pkunzip a95ans1.zip

Return to Graphics Ada-95 Main page

Return to Text-only Ada-95 Main page


Copyright © 1988-1999 Coronado Enterprises - Last update, November 7, 1999
Gordon Dodrill - dodrill@swcp.com - Please email any comments or suggestions.