Java language, Netbeans program.

Shinas College of Technology SULTANATE OF OMAN INFORMATION TECHNOLOGY DEPARTMENT Assignment (To cover the outcomes by Self -reliant, Student Centered Learning Approach ) Level : Diploma II Specialization : IT Course Code: ITSE20 3 Course Name: Object Oriented Programming Date of Issue: 29 -Jan -2020 Date of Submission: 26-Mar -20 20 Assignment Number and Title: 1. Rent Calculation Group : 2 Instructions: 1. E-mail your assignment to [email protected] . No hardcopy or softcopy from USB is accepted for security purposes. 2. After sending your assignment, secure the copy of the sent mail (see Sent Items ) as evidence until you get the confirmation of receiving from your course lecturer. If you don’t get any confirmation in one (1) or two (2) days, send it again and follow -up personally. 3. No updated versions are accepted once the assignment is submitted. 4. Write your ID, your name , and Sectio n in the Subject of your mail. (Example: 62 S151 34_ Ahmed _Section _2) 5. Use only your college mail to send your work. Contact ETC in case you have a log -in problem. 6. Marks will be deducted for late submission. Twenty percent (20%) of assignment scored mark will be reduced for each day of late submission. 7. Plagiarism is a crime . Plagiarism occurs when other’s work such as print material, images, audio -visual creations, computer programs, electronic materials, etc. are used without appropriate acknowledg ement and this can be checked by copying your work to any search engines. Plagiarism includes, but not limited to the following:  Copying full or part (paragraphs, sentences or significant part of a sentence) of other’s work directly  Copying from other’s work with an end reference to the original source but without putting the copied text between quotation marks  Paraphrasing, summarising , or rearranging words, phrases or ideas of other’s work  Copy -Paste of statements from multiple sources (electronic or p rint material)  Presenting work do ne in collaboration with others as independent work  Using one’s own work presented previously Disciplinary Action for Student Plagiarism (for ALL involved) is Zero mark. To avoid plagiarism, you must give credit whenever you use: a. another person’s idea or theory; b. any piece of information which is not a common knowledge; and c. material from a website. A stud ent who sat isfactorily completes the assignment shou ld be ab le to: Learning Objective Course Outcome No. 1. Understand the concepts of object -oriented programming . 1 2. Use Java primitives 2 3. Implement abstraction and encapsulation 3,4,5 4 Implement inheritance and polymorphism 7,11 5. Work with libraries, packages, interfaces and exceptions 6,8,11,12 --------------------------------------------------------------------------------------------------------------------------- --------- Problem: Muscat Property Construction Company is in need of software to calculate the amount to pay for its property based on its type and area . The following is the description of the problem. A Property can be identified by Road Number , and Location . A Flat is a Property having details of type (studio, one bedroom, two bedrooms …) , Furnished (not furnished , partially furnished, completely furnished ), and year (year of construction ). A House is a Property having details of noOfRooms, noOfFloors , and area. Villa is a House having details of ownerName and mobileNumber . Cottage is a House having details of rentalPeriod and depositAmount . Interface method needed : Create an interface by name Rent Calculation . The requirements are listed below: Calcualtion Details meth od that should provide Monthly payment for every type of Property based on the below condition s. Property Condition Rent Amount in OMR Flat No Condition 25 .0 Villa Studio 50.0 One bedroom and not furnished 65.65 Two bedroom and fully furnished 75.0 Cottage Studio 60.0 One bedroom and not furnished 66.9 Two bedroom and partially furnished 80.125 Use necessary validations using exceptions and user -defined exceptions. When there is requirement of printing details of calculation , the program should display all the details of the Property including the calculation detail. Instructions : Your program needs to collect the details of any number of properties . The details required are considered as the most important requirements. In the absence of any one of these requirements provided in the rubric, marks cannot be scored. Ensure every technique to combine these requirements to assure its implementation in the program. Rubrics: Tasks Breakdown of assessment criteria Marks Scored Marks Remarks 1 Adopting coding standards (Naming, indents, alignment, comments, Spacing) 1 2 Handling appropriate packages (for input and output process) 1 3 Interface/abstract class 1 4 Super class – Sub class concept 1 5 Constructor 1 6 Polymorphism 1 7 Accessors 1 8 Mutators 1 9 Exception Handling 1 10 Input process (Presentation of proper information for the user and handling appropriate input data type) 1 11 Variables handling (handling proper data type to support information of output) 1 12 Looping management –loops 1 13 Accuracy of manipulation of data 1 14 Output handling (Receipts display without ambiguity and proper messages) 1 15 Program executable satisfying the requirements completely 1 Total 15 Page 5 of 5 References  Deitel &, Deitel, Java: How to Program, 9th Edition (Deitel), Prentice Hall; 9th edition (2011)  Todd Greanier, (2004). Java Foundations – John Wiley & Sons, Incorporated. • ProQuest Ebook Central: http://ebookcentral.proquest.com/lib/momp/detail.action?docID=267312  Budi Kurniawan, (2010).Java A Beginner’s Tutorial, Second Edition, Brainy Software. • ProQuest Ebook C entral: http://ebookcentral.proquest.com/lib/momp/detail.action?docID=3003873 .  https://docs.oracle.com/javase/tutorial/ Prepa red by: Approved by: Ms.Pradeepa Ms. Amna Al Kaabi Cou rse Teacher HOS -IT