All Computer Science Resources
Example Question #24 : Object Oriented Program Design
Consider the history of the following popular programming languages:
Which of the following is the closest ancestor shared by ALL of these languages?
All of these languages are C-based languages.
- Ruby was invented in 1995, the same year as PHP, so it could not have influenced earlier languages like Objective-C and Python.
- Lisp did influence at least one language, Python, but it did not influence any others.
- Ada directly influenced Java, and because it influenced C, it can be argued that it is an ancestor of these other languages; however, because of this, Ada is not the CLOSEST ancestor.
- Smalltalk influenced Objective-C, but no other languages on this list.
A clue was the answer "Objective-C," which is a strict superset of C that adds Object Orientation.