Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

CSC 220.03 ASSIGNMENT 01 FALL 2017 TA A SSIGNMENT I NSTRUCTIONS Assignment 01: 5

ID: 3884997 • Letter: C

Question

CSC 220.03                                        ASSIGNMENT 01                                       FALL 2017 TA

ASSIGNMENT INSTRUCTIONS

Assignment 01:                                                 55 points with 10 possible extra credit points

Assignment Due Date & Time:      09-14-2017 at 11:59 PM

WHAT TO SUBMIT

There are 2 upload slots for this assignment:

SLOT #1: 1 file, either Word or PDF,                                                                                             <Firstname><Lastname>-Assignment-01-Report.pdf

SLOT #2: 1 ZIP archive of all of your code for this assignment, <Firstname><Lastname>-Code.zip

HOW TO SUBMIT

        •     Via iLearn Turnitin

PART 1 OOP Class Design Guidelines, 20 points

           

Lecture-01 slides introduce Y. Daniel Liang’s 8 Class Design Guidelines. Please choose 4 guidelines and discuss them in depth.

For each guideline, use 1 page or more for your discussion. You can use the code provided in class to demonstrate your points. The code should not be more than one-third of your writing.

PART 2 Designing Classes, 10 points

You are hired to redesign the sign-up system for Facebook. (Their sign-up page is currently at https://www.facebook.com/reg/). There are at least 2 actors who interact with this system: user and administrator.

Please choose from the tools and the techniques demonstrated in Lecture-04 slides 17 to 48 to design your classes, from problem statement to creating an interface. Provide your reasoning for your choices.

The goal of this part is for you to demonstrate your understanding of the designing-classes process and your knowing how

to use the tools and the techniques. Please ask questions in class so you will not overdo this part.

PART 3 Programming, 25 points

A bakery hired you to write a program.

20 points: A previous programmer left some code (at http://csc220.ducta.net/Assignments/Assignment-01-Code.zip). USERNAME: SFSU PASSWORD: STUDENT

Please continue implementing the code to produce the following output:

                                                                                                                                                                                                 Updated: 9/6/2017 8:25 PM

CSC 220.03                                        ASSIGNMENT 01                                       FALL 2017 TA

2. 5 points: “TesterAskUser” is an interactive version of “Tester”.

“TesterAskUser” askes users for a type of bread and a number of loaves they want to buy then tell them how much the total is for each type of bread. It also gives the owner the total earnings.  

If a user tells “TesterAskUser” an amount the user wants to spend and the type of bread the user wants to buy, “TesterAskUser” lets the user know how many loaves of that bread type the user may buy.

You need to handle IllegalArgumentException().

PART 4 Extra Credits, up to 10 points

                               

Expand the program for the bakery. Add and implement more appropriate classes and interfaces. In your report, document clearly what you did and how your addition helps demonstrate the material we covered in class especially in Lecuture-03.  

-OR-

Expand the PART 2 problem. Add and implement more appropriate classes and interfaces which should help demonstrate material covered in chapters 2 and 3. In your report, document clearly what you did and how your addition helps demonstrate the material.

IN NEED ASAP

                                                                                                                                                                                                 Updated: 9/6/2017 8:25 PM

Explanation / Answer

SLOT #1: 1 file, either Word or PDF,                                                                                           

SLOT #2: 1 ZIP archive of all of your code for this assignment,

Please choose from the tools and the techniques demonstrated in Lecture-04 slides 17 to 48 to design your classes, from problem statement to creating an interface. Provide your reasoning for your choices.

The goal of this part is for you to demonstrate your understanding of the designing-classes process and your knowing how

to use the tools and the techniques. Please ask questions in class so you will not overdo this part.