MCS-177 Project 7: Facebook part A (Spring 2017)

Start: Tuesday 4/25; Recommended completion date: Monday, May 1; Actual Due date: Tuesday, May 2 - DUE DATE MOVED TO WED, MAY 3 (10 PM)


Overview

In this project, you will experiment with building your own Python classes. This project is a first-part of a two-part work, where the main goal is for you to build classes to represent a text-version of Facebook.

This is an individual project. Please remember to write down all individuals and sources that you discuss this project with. If you use a different textbook or other written resources, please include the textbook's author/title and URLs.

Warm up exercises (prior to attempting the project)

  • Finish the suggested textbook exercises Moodle quiz from Week 12 Monday reading homework.

  • Read Sections 10.2, 10.3, 10.4 p. 330-341.
  • Do exercises 10.1-10.3, 10.4, 10.5ab p. 338
  • Do exercise 10.11 p. 340
  • Do exercises 10.13-10.17 p. 342-343
  • Do exercises 10.28abc p. 348 and 10.30-10.32 p. 352
  • Read Sections 10.5 p. 349-350.
  • Do exercises 10.30, 10.32 p.352
  • Do exercises 10.33, 10.34 p.352. You may use built-in functions such as sort.
  • Go back to Table 4.2 p. 125. Try Session 4.6 p. 126 on the computer and do Exercise 4.2(a)-(f). Do Exercise 4.7 p. 128.

    Task 1: Comment class

    Implement the Comment class (notice the capital C) in a new file called comment.py (notice the all-lowercase) such that:

    Task 2: Status class

    Implement the Status (notice the capital S) class in a new file called status.py (notice the all-lowercase) such that:

    Submitting your work

    Submit your code using Moodle; click on the following link for instructions on submitting code using Moodle. For this project, you will need to submit the following files:

    Grading Rubric

    If you submit your project early, you will get an early feedback on the accuracy of your work.

    The grader will test your program against various input values. Check your work against the grading rubric project7gradesheet.pdf which the grader will use when grading your lab.