Chapter 5 Types

  1. Define the term type as used in describing a programming language and give an example.
  2. Explain the difference between static and dynamic type systems.
  3. Briefly explain how (single precision) floating point numbers are stored on binary computers (following IEEE 754 standard).
  4. Describe some of the basic differences between ASCII encoding and Unicode.
  5. Briefly describe the following data types: enumeration, pointer, array, string
  6. How are C and Java different in their use of pointers & dereferencing?
  7. What are two ways to define type equivalence? Given a block of code similar to that on 125-126, determine which variables have the same type under each of the definitions of type equivalence.

 

Chapter 6: Type Systems

Chapter 7: Semantics

Chapter 8: Semantic Interpretation

Chapter 9 Functions

Be prepared to define / distinguish the following pairs of terms. Examples are effective in clarifying.

Make sure you understand code in figure 9.1 of the text

Chapter 12 Imperative Programming

Copyright © 1999-2008| Gene Rohrbaugh | Privacy Statement