Assignment No. 01
SEMESTER Fall 2014
CS508- Modern Programming Languages
otal Marks: 20
Due Date: 19/11/2014
Please read the following instructions carefully before solving & submitting assignment:
It should be clear that your assignment will not get any credit if:
Your submission must include:
Assignment submission through email is highly discouraged
The objective of this assignment is
Your answer must follow the below given specifications.
Lectures Covered: This assignment covers Lecture # 01 - 08
Your assignment must be uploaded/submitted at or before 19/11/2014.
Question No. 01:
a) Language Comparison is not an easy task and need a deeper look of different aspects of programming languages. Readability is one of the important criteria for language comparison. What is the direct effect of poor readability on maintenance? Marks: 03
b) In which way the following factors affect the software readability? Marks: 09
Question No. 02:
Different criteria like Readability, portability and Reliability etc. is used for language comparison. Compare
For any query about the assignment, contact at firstname.lastname@example.org
koi start kary discussion
"What is the direct effect of poor readability on maintenance? " is ka mtlb ha agr hm readability achy sy ni krain gy to kia disadvantages hon gy is k ye btana ha???
Number of exceptional rules (orthogonality). If a programming language has only a small number of rules and the exceptions to these rules are few, then the language is easier to learn and therefore easier to read. For example, all data in Smalltalk is object and all respond to the message class, which
returns the class type of the object. Therefore, you should have no problem to understand the meaning when you encounter this statement. On the other hand, in Java, some data are primitive data while others are objects. Therefore you have to remember a different set of rules for primitive data and objects.
Control statements. It is known that program readability is severely reduced by indistinguishing usage of goto statements. If a programming language has sufficient control constructs, the need for goto statements can be nearly eliminated. This increases the readability.
to understand asgnmnt topic chck this
In contrast, an imperative language (like C++) have computations specified by variables and assignment statements
Abstraction means: complicated structures can be stated in simple ways by ignoring many of the details. The goal is to allow data structures, types, and operations to be defined and maintained as self contained abstractions the programmer may use them in other parts of program knowing only abstract properties
Procedures and functions are starts in this direction.
User defined types are a start
Black Box vs. Clear Box
chck this to solv second q at the last of this page copmrision between fortran and algol igvn
thnk u frnds....
Tanku sooooooooooo much sumaira shabbir
welcom u alllll
Please Discuss here about this assignment.Thanks
Our main purpose here discussion not just Solution
We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions.