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.
Escuela, estudio y materia
- Institución
- Programming Languages:
- Grado
- Programming Languages:
Información del documento
- Subido en
- 25 de junio de 2024
- Número de páginas
- 20
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
Documento también disponible en un lote