Uploaded by hj386146

TPLAssignment 01B

advertisement
Shaheed Zulfikar Ali Bhutto Institute of Science & Technology
COMPUTER SCIENCE DEPARTMENT
Total Marks:____05____
Marks Obtained:_____________
Theory of Programming
Language
Section B
Assignment # 01
Due Date: 19-Oct-2020
Submitted To :____Muhammad Qasim_________
Student Name :_____________________________
Reg. Number
TPL
:_____________________________
BSCS
SZABIST-ISB
Shaheed Zulfikar Ali Bhutto Institute of Science & Technology
COMPUTER SCIENCE DEPARTMENT
Q1: Use Language Evaluation Criteria to evaluate C++ programming
Language.
1. Readability:
a. Overall simplicity
b. Orthogonality
c. Data types
d. Syntax considerations
2. Writability:
a. Simplicity and Orthogonality
b. Support for abstraction
c. Expressivity
3. Reliability:
a. Type checking
b. Exception handling
c. Aliasing
d. Readability and Writability
4. Cost:
5. Portability
6. Generality
7. Well-Definedness
Q2: What is an example of two language design criteria that are in direct
conflict with each other?
Q3: What common programming language statement, in your opinion, is most
detrimental to readability?
TPL
BSCS
SZABIST-ISB
Download