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: 2024 – Write My Essay For Me | Essay Writing Service For Your Papers Online, 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)
Assignment AYR Co. is considering two separate projects known as ‘Aspire’ and ‘Wolf’ which
Assignment AYR Co. is considering two separate projects known as ‘Aspire’ and ‘Wolf’ which are quite different but each of which has the potential to increase AYR Co.’s market share. To date $120,000 has been spent on market research into the increase in demand that can be expected for each project. The next stage is […]