Object Oriented Programming


Weighting: 100%
Instructions:
This is an Open Book assessment. Any resources used in answering the questions should be referenced in the
code in accordance with the coding referencing guidelines discussed in class and set out on the module
Moodle page. All work submitted should be your own. Conferring with others is not permitted.
Answer questions 1 to 4 using the category and functionality assigned to you according to your student
number. Read the instructions for identifying these carefully. Instructions for submission are outlined at the end of the paper.

Questions:
For this assessment you will be assigned a category and an additional piece of functionality according to your student number. Your task is to plan, develop and test an application which enables a user to catalogue a particular category of items.
Each Category has two sub-categories. Details of what information should be catalogued for each category is available in Appendix A. Your application should have a full Swing GUI which allows the user to choose a subcategory and enter information relevant to it.
The catalogue should have functionality enabling the user to add new items, view all items, and search the list by item number. The application should accept the necessary details from the user for their chosen items,
adding them to either an Array of Objects or ArrayList (you may choose your own data structure).

  1. For your given category and functionality, outline the class diagram. Be careful to adhere to
    appropriate syntax and structure and identify suitable data members and methods for each class.
    You may do this either by hand and take a photo, or by using draw.io or a similar application.
    (15 Marks)
  2. Using the Java programming language and the Netbeans IDE, develop the application outlined in your
    using your prescribed categories.
    Your solution must include:
    • a suitable App class (5 marks)
    • a full swing user interface (10 marks)
    • instantiable classes with suitable data members and methods (10 marks)
    • functionality to add a record to the data structure (10 marks)
    • functionality to display all of the contents of your data structure (10 marks)
    • functionality to search the data structure for an item by number (10 marks)
    • functionality to save all records in the data structure to a file (10 marks)
  3. Add the necessary functionality to your application as per your student number
    (10 marks)
  4. Document and run 5 Test Cases for your application
    (10 Marks)
    Submission Instructions:
    • All work must be submitted via Moodle.
    • All work must be submitted using a zipped folder named using your Student ID.
    • The zipped folder should include:
  5. A word document containing the completed Class Diagram and Test Cases
  6. The complete Netbeans project folder
    Page 3 of 3
    Instructions for selecting the correct Categories and Functionality:
    Your category will correspond to the last digit of your Student ID as follows:
    Digit Category
    1,2,3 Book Catalogue
    4,5,6 Car Catalogue
    0,7,8,9 Academic Reference Catalogue
    Descriptions for each category and its attributes are outlined in Appendix A.
    Your additional functionality will correspond to the second last digit of your Student ID as follows:
    Digit Functionality 1,3,5,7,9 Choose an item at random from the list and print the details
    0,2,4,6,8 Find and print the details of the last item on the list
    For example, If your student number is x1912874, then the last digit of your ID 4, so your category would be “4: Car Catalogue”. As the second last digit of your ID is7, you should add the functionality to “Choose an item at
    random from the list and print the details”.
    Appendix A: Category Descriptions
    Book Catalogue
    All books have an id number (i.e. 1), author (i.e. J.K.Rowling), title (i.e. Harry Potter) and cost (i.e.€9.50) but ebooks have a file format (i.e. ePub) and audio books have a narrator (i.e. Stephen Fry).
    Car Catalogue:
    All cars have an id number (i.e. 1), make (i.e. Toyota), registration (i.e. 07D54321) and price (i.e.€10,000) new cars also have a Vehicle Registration Tax (VRT) amount (i.e. €500) and second hand cars have current mileage
    (i.e. 24,000km)
    Academic References Catalogue:
    All references have an id number (i.e. 1), author (i.e. Mr. Writer), year (i.e. 2020) and title (i.e. Java for
    Dummies) but book references also have an edition (i.e. 2nd Edition) and place (i.e. Ireland) while Journal
    Article references have a journal title (i.e. Journal of Java Stuff), volume (i.e. Vol 2) and pages (i.e. 29 – 33).
Research Paper 101
Calculate your paper price
Pages (550 words)
Approximate price: -

Reasons to trust Research Paper 101

On Time Delivery

We pride ourselves in meeting the deadlines of our customers. We take your order, assign a writer but allow some more time for ourselves to edit the paper before delivering to you. You are guaranteed a flawless paper on a timely manner...

24x7 Customer Live Support

Our team at Research Paper 101 is committed to handling your paper according to the specfications and are available 24*7 for communication. Whenever you need a quick help, you can talk to our writers via the system messaging or contact support via live chat and we will deliver your message instantly.

Experienced Subject Experts

Online Experts from Research Paper 101 are qualified both academically and in their experiences. Many are Masters and Phd holders and therefore, are qualified to handle complex assignments that require critical thinking and analyses...

Customer Satisfaction

We offer dissertation papers as per students’ wishes. We also help craft out the best topics and design concept papers. By ordering with us, you are guaranteed of defending and making through those hard faced professors in the defense panel!

100% Plagiarism Free

We at Research Paper 101 take plagiarism as a serious offence. From the start, we train our writers to write all their papers from scratch. We also check if the papers have been cited appropriately. Our website also has a tool designed to check for plagiarism that has been made erroniusly. In essense, the paper you get will be 100% legit...

Affordable Prices

We understand that being a student is very challenging, some students balance between work and studies in order to survive. We therefore offer pocket friendly rates that are very competitive in the market.

Try it now!

Calculate the price of your order

Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.

Essays

Essay Writing Service

No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.

Admissions

Admission Essays & Business Writing Help

An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.

Reviews

Editing Support

Our academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.

Reviews

Revision Support

If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.

error:
Need help? Chat with Us