Docsity

Ada Syntax-Modern Programming Languages-Assignment, Exercises of Programming Languages

Toggle sidebar
bg1
Modern Programming Languages (CS508)
SPRING 2012
Assignment No. 2
Total Marks: 20 Dead line: May 04, 2012
Purpose of Assignment:
Intended purpose of this assignment is to give students an exercise that can facilitate them
while working in any professional software development environments. After attempting
this assignment students will be able to:
Familiarize with the core concepts of an internationally standardized, general-
purpose programming language ‘Ada’ which is used in a wide variety of
applications.
Learn language basic syntax.
Students will get comprehensive understanding of an important programming
language concept i.e. modularity w.r.t Ada programming language.
Application:
AlstraSoft E-Friends
Scenario:
Suppose you are developing an online first-degree friendship building social network for
E-friends application at Alstrasoft Pvt Ltd that strive to be the premier provider of web-
based software solutions for businesses worldwide. As a web development and software
company, Alstrasoft specialize mainly in web design and software programming.
Evaluation:
Now In the same E-friends application you are required to develop a payment processor
system ‘EPay Enterprise’, with the growing demand for online payment processing
business similar to Paypal. In this application maintenance typically puts strain on your
organization's resources. So language of choice here would be a structured, statically
typed imperative computer programming language like ‘Ada’.Another important thing to
note here is that you are working in a distributed team with different developers at
different locations.
docsity.com
pf3

Partial preview of the text

Download Ada Syntax-Modern Programming Languages-Assignment and more Exercises Programming Languages in PDF only on Docsity!

Modern Programming Languages (CS508)

SPRING 2012

Assignment No. 2

Total Marks: 20 Dead line: May 04, 2012

Purpose of Assignment:

Intended purpose of this assignment is to give students an exercise that can facilitate them while working in any professional software development environments. After attempting this assignment students will be able to:

 Familiarize with the core concepts of an internationally standardized, general- purpose programming language ‘Ada’ which is used in a wide variety of applications.

 Learn language basic syntax.

 Students will get comprehensive understanding of an important programming language concept i.e. modularity w.r.t Ada programming language.

Application:

AlstraSoft E-Friends

Scenario:

Suppose you are developing an online first-degree friendship building social network for E-friends application at Alstrasoft Pvt Ltd that strive to be the premier provider of web- based software solutions for businesses worldwide. As a web development and software company, Alstrasoft specialize mainly in web design and software programming.

Evaluation:

Now In the same E-friends application you are required to develop a payment processor system ‘ EPay Enterprise ’, with the growing demand for online payment processing business similar to Paypal. In this application maintenance typically puts strain on your organization's resources. So language of choice here would be a structured, statically typed imperative computer programming language like ‘Ada’. Another important thing to note here is that you are working in a distributed team with different developers at different locations.

a) How Ada encourages good programming practices by incorporating ‘ Reliability’ and ‘modularity’. [5]

b) Developing a signup form for users, define and declare variables for following two fields shown in diagram using Ada language [5]

c) Ada supports string concatenation like C/C++ , Write complete Ada Code (program) to print following output: [10]

My Full Name is: Amir Ali

Note: Here” First string is “My Full Name is:" and second string is "Amir Ali"

Uploading instructions:

 Your assignment must be in .doc format.(Any other formats like scan images, PDF, Zip, rar, bmp, docx etc will not be accepted)  Save your assignment with your ID (e.g. bc020200786.doc).  No assignment will be accepted through email.

Rules for Marking:

It should be clear that your assignment will not get any credit if:

 The assignment is submitted after due date.  The submitted assignment does not open or file is corrupted.  Your assignment is copied from internet, handouts or from any other student (Strict disciplinary action will be taken in this case).

Note:

 Your answer must follow the below given specifications. Marks will be deducted if you do not follow these instructions.  Font style: “Times New Roman”  Font color: “Black”