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
DISCUSSION QUESTION 3
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)
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more