Question: I need table ( test case , purpose,expected result ) in question Part - II ( Only 3 0 % of your total course grade

I need table (test case , purpose,expected result) in question
Part-II
(Only 30% of your total course grade)
In this part of the course work, you are required to design and implement a class called HP_Laptop with instance variables specific to this type of items, a constructor with parameters which initialises class data members and invokes the Item_in_Stock constructor when it is invoked using inheritance concept in python and initialises data members of Item_in_stock class as well. This class should be designed and implemented in a way that it overrides getItemCategory() that returns the category of the item, getItemName() that returns HP_Laptop and getItemDescription() that returns "HP_I5_11G_8GB_1TB"". The Class should also override the get_item_details() method to display the complete details of an item.
Task 2.1. Re-draw UML class diagram which was drawn in part 1 of the course work with this new class "HP_Laptop". Relationships should also be represented.
Task 2.2. Implement a class called Item_check with a main method to test HP_Laptop class by defining object of the class and invoking methods.
Testing is an integral part of development. Write suitable test cases in the given format below for your classes.
\table[[Test Case,Purpose,Expected result],[,,],[,,]]
OUTPUT:
Refer to output in part I, item category, item name and item description should be according to the Items.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!