Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
PartII
Only of your total course grade
In this part of the course work, you are required to design and implement a class called HPLaptop with instance variables specific to this type of items, a constructor with parameters which initialises class data members and invokes the IteminStock constructor when it is invoked using inheritance concept in python and initialises data members of Iteminstock 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 HPLaptop and getItemDescription that returns HPIGGBTB The Class should also override the getitemdetails method to display the complete details of an item.
Task Redraw UML class diagram which was drawn in part of the course work with this new class HPLaptop". Relationships should also be represented.
Task Implement a class called Itemcheck with a main method to test HPLaptop 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.
tableTest 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started