Programming Languages: Final Exam Review Guide/ Questions and Answers/ .
Programming Languages: Final Exam Review Guide/ Questions and Answers/ . Terms like: Polymorphism. (Definition. Examples) - Answer: Allows a single body of code to work with objects of multiple types. It may or may not need run-time type checking. For example, integers and floats are implicitly polymorphic since you can add, subtract, multiply and so on, irrespective of the fact that the types are different. They're rarely considered as objects in the usual term. Discrete types and scalar types (Examples) - Answer: Discrete Data Type - represents items that can be counted. They can be classified as integers, Booleans, characters, enumerations, or subranges. Must have a clear successor and predecessor. Scalar Type - It is a simple single numeric value (i.e. 1, 2/3, 3.14, etc.) usually an integer, fixed point, or float, as opposed to an array, structure, object, or complex vector which contain more than one single numeric value.
Written for
- Institution
- Programming Languages:
- Course
- Programming Languages:
Document information
- Uploaded on
- June 25, 2024
- Number of pages
- 20
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
Also available in package deal