CS 115: Introduction to Computer Science 1, UAE edition

Assignment 6 Common Errors

Contracts

Many students used num instead of int or nat in contracts. Note that you must use the most appropriate data type. The type num allows all real numbers as valid parameter values.

Examples

Many students only included one example for main function. One example is not sufficient, at least 2 examples are needed for each function.

Valid XHTML 1.0 Strict Valid CSS!

Last modified on Tuesday, 27 November 2012, at 12:40 hours.

Course Supported by Instructional Support Group