[Solved] CSE222/505-Homework3-Construct GTU Computer Engineering Course structure by using Java LinkedList class

$25

File Name: CSE222/505-Homework3-Construct_GTU_Computer_Engineering_Course_structure_by_using_Java_LinkedList_class.zip
File Size: 970.26 KB

SKU: [Solved] CSE222/505-Homework3-Construct GTU Computer Engineering Course structure by using Java LinkedList class Category: Tag:
5/5 - (1 vote)

Homework 03

Part 1-Construct GTU Computer Engineering Course structure by using Java LinkedList class. The list hold courses and the courses contain all data on the table which can be accessed by the link below. Write 3 methods (dont extend the LinkedList class, but use the object instance of LinkedList) after the structure have been constructed: getByCode (string code): Returns all courses which have given course code.

  • listSemesterCourses (int semester): Returns all courses on given semester.
  • getByRange(int start_index, int last_index): Returns all courses from given start index to last index.

In all three methods, exceptions must handle if there are no matched course.

anibal.gyte.edu.tr/ects/?dil=en&menu=lisans_ogretimprogrami&bolum=104&tip=lisans&d uzey=ucuncu

Part 2- Extent Java LinkedList class. Implement disable(), enable() and showDisabled() methods in the extended class. disable() method disables any list item and disabled list items are prevented from get, set, size, remove and listIterator methods. enable() method enables back any disabled list item and showDisabled() method lists all disabled items. Note that, when a disabled item is enabled, the item must be located at its previous location. Use the list on Part-1 to test your class.

Part 3- Implement a new course list structure so that besides the links between courses used to form the list, courses in same semester are also linked together as circular list as shown figure below. Construct the same course structure mentioned in question one with your new list class.

*The boxes represent courses and the numbers are semesters.

The custom list must have:

  • add(): Add new item to list
  • remove(): Delete specified item from list
  • next(): Move next node
  • nextInSemester(): Move next node in same semester
  • size(): Get size of the list

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CSE222/505-Homework3-Construct GTU Computer Engineering Course structure by using Java LinkedList class
$25