assignment 1-4 - Vu Nguyen Organization of Programming...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Vu Nguyen Organization of Programming Languages CS-4337 Section 001 September 11,2008 Assignment 1 Student ID: 10234309
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Assignment 1 Due: The assignment must be submitted over the webct and the due date is: Thursday, September 11, 2008 1) In Java, integers can be assigned to real variables, but not vice versa. What design principle does this violate? In C, this restriction does not exist. What design principle does this violate? The principle violated would be writability, because this restriction disallows a user to create a program to what he or she desires in lieu of greater reliability (5 points) 2) Describe the following features and explain how they affect the readability and reliability of a programming language? Type checking, Data Types, and Orthogonality. Type checking creates greater reliability because it checks the user to maintain integrity of programming structures enumerated by the language, but has relatively no effect on readability. Data Types create greater readability by allowing users to envision a higher level of abstraction, with
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/02/2009 for the course CS 4337 taught by Professor Karrah during the Fall '08 term at University of Texas at Dallas, Richardson.

Page1 / 3

assignment 1-4 - Vu Nguyen Organization of Programming...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online