m2 lab assignment working with lists

e commerce 43
March 20, 2021
application of technology in nursing education
March 20, 2021

m2 lab assignment working with lists

In this assignment you will work with Linked Lists in JAVA.

Complete the following tasks:

  1. Create a linked list called Rainbow.
  2. Load the colors of the Rainbow into the linked list (Remember: ROYGBIV)
  3. Display the number of items in the list and print its values to the screen
  4. Add a item to the head of the list by asking the user for a item to add at the beginning. Display the updated list
  5. Add an item to the end of the list by asking the user for a item to add at the end. Display the updated list
  6. Prompt the user for an item to remove from the list, make sure that it exists before attempting to remove it, also ensure you check to make sure the list is not empty. Display the updated list
  7. Ask the user to either exit or repeat removing items. If the user choses exit, quit the program. If they choose to repeat removing elements return to step 5.

In completing this assignment answer the following questions and submit a document along with your source code containing the following elements:

  • Were you able to complete all the tasks?
  • What did you find most challenging?
  • Describe Cicular Linked Lists, Doubly Linked Lists and Doubly Circular Lists.
  • Screen shots showing your:
    • Code for the above program.
    • Your program being executed.

Be sure to submit both your source code and the document.

General Instructions for Lab Assignments

Your lab assignment needs to be presented in a professional manner and include your name, course, the title of assignment, professor’s name, date, task, and include a list of sources used, if applicable. The Research and Library Tips page will help you properly cite sources using a consistent format, so that your academic integrity is not called into question. The final lab assignment must include answers that are clear and any rationale that helps to detail how you derived your answers. The evaluation of your submission will consider grasp of readings, depth of analysis, content organization, clarity of writing and vocabulary use. Be sure to submit your lab assignment by the close of this module, I would prefer that it is attached as a .doc or .rtf formatted document.

Grading Criteria

  • 50% Completing the programming tasks above.
  • 30% Answering the written questions and providing screen shots.
  • 20% Demonstrating programming best practices (comments, indention, error handling, etc.).
 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.

Buy Custom Nursing Papers