Lab 8: Object Oriented Programming

Lab 8: Object Oriented Programming.

I need help with a Python question. All explanations and answers will be used to help me learn.

Assignment

  • A cell phone has the ability to save contact information. In this assignment, you will simulate the contact list for a very simple cell phone.
  • Download lab8.py below, rename it according to the instructions above, and make sure you understand it.
  • Take the program above and modify it by adding the missing Contact class such that when the program is run, it produces this output.
  • Hint: for help on formatting output, revisit the online textbook’s chapter 9.5.1

Grading – 10 points

  • 2 points – The constructor of the Contact class is correct.
  • 2 points – The reader methods of the Contact class are correct.
  • 2 points – The writer methods of the Contact class are correct.
  • 2 points – The print_entry method of the Contact class is correct.
  • 2 points – Your program’s output matches the output format of the transcript above (1 point for each type of difference up to 2 points).
MSU Contacts:_x000D_
----------------------------------------_x000D_
Daniel DeFrance             406-994-1624_x000D_
MSU Bobcat                  406-994-0000_x000D_
John Paxton                 406-994-5979_x000D_
Waded Cruzado               406-994-CATS_x000D_
----------------------------------------_x000D_
_x000D_
MSU Contacts:_x000D_
----------------------------------------_x000D_
Instuctor Daniel DeFrance   406-994-1624_x000D_
Champ Bobcat                406-994-0000_x000D_
Director John Paxton        406-994-5979_x000D_
President Waded Cruzado     406-994-CATS_x000D_
----------------------------------------_x000D_
 

Daniel’s MSU phone line is 1624

Lab 8: Object Oriented Programming

"Looking for a Similar Assignment? Order now and Get a Discount!