Discussion Question: Object-Oriented Programming

Discussion Question: Object-Oriented Programming

Choose a value for each of the variables X and Y.

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()

Discussion Question: Algorithms and Object-Oriented Classes

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()

Discuss how algorithms address object-oriented classes and objects.

At least 150 words each


Message expanded. Message read File Access Methods

posted by A DONAHUE , Aug 08, 2018, 2:47 AM

After a file has been created by opening, processing, and closing the file. Their are two different methods of accessing it. There is the direct access method, in which go directly to the specific data. Versus the sequential method of access, where you have to read up to the point of the data needed. I like the method of cds compared to tapes.

In the reading some new information for me was the definition of the delimiter and the EOF tools. The delimiter is how programmers mark the end of every piece of code, while the EOF mark the end of a file. Another key fact that is continues to be of importance is closing out the files.

What may happen if you fail to close a file?

(create a response 200 WORDS)

Order Similar Assignment Now!

  • Our Support Staff are online 24/7
  • Our Writers are available 24/7
  • Most Urgent order is delivered within 4 Hrs
  • 100% Original Assignment Plagiarism report can be sent to you upon request.

GET 15 % DISCOUNT TODAY use the discount code PAPER15 at the order form.

Type of paper Academic level Subject area
Number of pages Paper urgency Cost per page: