CSC 160 Fall 2015 - Homework #1 (100 points)
Assigned Aug 31, due WED Sept 9

Assignments submitted on Moodle with time stamps during class time (Mon or Wed 4:15-5:40pm) will be given a grade of ZERO.

[10 pts.] Syllabus
  • Read the syllabus.
  • Submit the tear-off from the syllabus in class.

    [0 pts.] Python Setup
  • Download and install Python 3.4.3 on your computer.

    [20 pts.] Moodle Forum #1
  • Read the blog posting: "Want to learn the world's most powerful language?".
  • Read the book excerpt: "Joys (and Woes) of the Craft of Programming".
  • Write and post a reaction (3 to 5 sentences) to the blog posting and/or book excerpt.
  • Write and post a response (2 to 3 sentences) to someone else's reaction posting.
    ***To receive credit for Forum #1, you must post directly to the forum (not to the HW1 link).***

    [30 pts.] Chapter 1: pg.1-12
  • Read pages 1-12 of the textbook.
  • Do Discussion Question 1 on pages 22-23:
    In full grammatically correct sentences, compare and contrast the following pairs of concepts from the chapter:
    (a) Hardware vs. Software
    (b) Algorithm vs. Program
    (c) Programming Language vs. Natural Language
    (d) High-Level Language vs. Machine Language
    (e) Interpreter vs. Compiler
    (f) Syntax vs. Semantics

    [40 pts.] Chapter 2A: pg.27-36
  • Read Sections 2.1-2.4 of the textbook.
  • Do Discussion Question 5 on page 53:
    Why is it a good idea to first write out an algorithm in pseudocode rather than jumping immediately to Python code?
  • Use Steps 1-5 of the Software Development Process to:
    Write a program that asks the user for a number of hours and prints out a sentence stating the number of minutes.


    Submitting your Assignment
  • To receive credit for Forum #1, you must post directly to the forum (not to the HW1 link).
  • For the chapter 1 & 2A Discussion questions, you can submit them on paper in class or through the HW1 link on Moodle using the filename "hw1paper-LASTNAME".
  • For the chapter 2A programming exercise, submit each step as follows:
    Steps 1-4: Submit your module file with the filename "hw1program-LASTNAME.py". Steps 1-3 need to be commented out.
    Step 5: Submit your shell file with the filename "hw1test-LASTNAME.py". This file must include at least 2 tests of your program.



    Last Modified: 8/10/15