Send
Close Add comments:
(status displays here)
Got it! This site uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.nbsp; Note: This appears on each machine/browser from which this site is accessed.
P5: Project#5: Module and class
1. P5: Module and class
38: Project#5: Module and class , Name: ___________________________
CS 340, Fall 2019, York College of Pennsylvania
41, 20 points
2. Program requirement
Find a place in code you have written in a main program that could be better written in a module and using a class. Write a small example that has a main code part, a module part, and a class in the module.
Note: Do not pick any of the following languages.
C or C++
Java
If you cannot find any good examples, then you should make up your own example (but not the ones I have provided).
3. Program requirement
You should present the old and new code in your document along with some commentary. Include the code files in your zip file. This should be the small main code and the small module with class code.
4. Relevant content
5. Document requirement
File:
Word document: A Word document (extension
docx) that describes what you have done. The guiding principle when writing the document is the following. "
Would someone who is somewhat familiar with what you are doing and reading your document know what you are doing at each step of the process?"
Include a short descriptive title at the top of the document.
Include the following sections. Each section should be clearly and consistently marked. All program text should have explanatory text before and after the program text.
A short introduction as to what you will convey.
Sections explaining what you have done in a logical manner, including any program code, commands, Bash scripts, etc. (on separate lines/blocks) in a fixed font such as "Courier New".
A short summary at the end as to what you conveyed.
All program or command or command output text should be in a fixed font such as "
Courier New".
If you use LibraOffice or OpenOffice instead of Microsoft Office you need to export your document file to the type
docx and not the native format. Use the appropriate "
Save As" command.
6. Zip file submission
Zip the above files into a zip file. Attach the zip file (and only one zip file) to your email message.
Submit the following by sending an email to my email account at
robinsnyder@gmail.com from your YCP email address/account.
Attach the above zip file to your message.
The subject line should be the following (and only the following).
62
7. General comments
Here are some general comments.
Some students went back to their CS 101 (CloudCoder, etc.) programs to find examples that could be used.
8. Scoring rubric
CS 340 - P5 : Project#5: Module and class
Your grade: _ / 20
[LATE] Late or redo penalty: _ / -20
Programs and output: _ / 8
Document includes programs and output: _ / 4
Document explanations as required: _ / 4
Document style - sections, text, programs: _ / 4
[CREDIT] Extra credit: _ / +4
Comments:
9. End of page