Discuss how algorithms address object-oriented classes and objects.2. Choose a value for each of the variables X and Y.

1. Read the following pseudocode class definitions:
Class Plant
Public Module message()
Display “I’m a plant.”
End Module
End Class

Class Tree Extends Plant
Public Module message()
Display “I’m a tree.”
End Module
End Class
Given these class definitions, determine what the following pseudocode will display:
Declare Plant p
Set p = New Tree()
Call p.message()

In pseudocode, write the first line of the definition for a class X. The class should extend the class Y.
Discuss your classmates’ class definitions. Given their class definitions, determine what the following pseudocode will display:
Declare X p
Set p = New Y ()
Call p.message()3 Often programmers are asked to find errors in code that has been created previously, and often not by them or anyone currently with the organization.
Complete the “Debugging Exercise” in Ch. 10, “Files,” of Starting Out with Programming Logic and Design.
Discuss the errors. How could these errors be avoided? See attachment

Use the order calculator below and get started! Contact our live support team for any assistance or inquiry.

[order_calculator]