Art Show | Course Home | Homework | Labs | Programming | Schedule & Lecture Notes | Submit

Saint Louis University

Computer Science P125
Introduction to Computer Science

Michael Goldwasser

Spring 2005

Dept. of Math & Computer Science

Homework Assignment 05

User-Defined Functions

Contents:


Overview

Topic: User-Defined Functions
Related Reading: Ch. 6
Due: Monday, 28 March 2005, 12:00pm

Please make sure you adhere to the policies on academic integrity.


Practice Problems

Please note that the answer to "self-check" questions from the text are available via the author's website.


Problems to be Submitted (20 points)

  1. (5 points)

    Exercise 6.13 of the text (p. 345)
    Please make sure your solution is both syntactically and semantically correct.

  2. (5 points)

    Exercise 6.23 of the text (p. 347)
    Please note that you must explicitly explain why the output is as it appears! You will not receive full credit if you only give the output.

  3. (5 points)

    Exercise 6.45 of the text (p. 351)
    Please make sure your solution is both syntactically and semantically correct, including the signature of your function.

  4. (5 points)

    Exercise 6.56 of the text (p. 352-353)


Extra Credit

  1. (2 points)

    Exercise 4.60 of the text (p. 230)


Michael Goldwasser
CS-P125, Spring 2005
Last modified: Monday, 14 March 2005
Art Show | Course Home | Homework | Labs | Programming | Schedule & Lecture Notes | Submit