3.Data Types - Data Types and Identifiers Topics to cover...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Data Types and Identifiers
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Topics to cover here: The notion of Abstraction Data types Identifiers
Background image of page 2
Abstraction An abstraction is a model or simplification of a physical object or concept. We use abstraction in problem solving and programming. Abstraction is an important concept in programming.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The programs we write present an abstract view of: Problem domain elements (e.g. students, money) Their attributes (e.g. names, ages, stages, dollars) Operations (e.g. modify student’s stage, update money) that can be performed on data. This is called data abstraction .
Background image of page 4
Data Types A data type provides a method of modeling or representing a particular set of values and determines what operations can be performed on those values. Representing a particular value in memory is determined by the data type of that value. Most programming languages provide predefined data types (also known as language-defined types ).
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/23/2011 for the course CHEMICAL E 2 taught by Professor Hibasaadeh during the Spring '11 term at University of Jordan.

Page1 / 13

3.Data Types - Data Types and Identifiers Topics to cover...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online