How To Program Chapter 01 – C++

Data Hierarchy – one bit – eight bits make up one byte – one byte makes and ASCII character – many character make up a word – many words make up a field- many fields make up a record – many records make up a file.

Machine language – strings of numbers

Assembly language – English like abbreviations

High-level language – single statements to accomplish significant tasks

Member Functions and Classes – class of object and how it functions

Instantiation – creating an object of specified class

Reuse – reuse any type of class when possible

Messages and member function calls – sending a message to an object to perform a function

Attributes and data members

Encapsulation – attributes and data members are encapsulated within classes

6 Phases of a C++ program – edit – pre-process – compile – link – load – execute

loading – moving the program into memory so it can be executed

Chapter 01 Self Review Exercises

1.1 a) Apple b) IBM personal computer c) programs d) cpu unit, arithmetic logic unit, memory unit, input unit, output unit, secondary storage unit e) machine, assembly, high level f) compiler g) android h) Release canidate i) accelerometer

1.2 a) integrated development environment  – editor b) pre-processor c) linker d) loader

1.3 a) information hiding b) classes c) object oriented analysis and design d) inheritance e) UML unified modeling language f) attributes

1.4 a) input unit b) program c) Assembly d) output unit e) memory unit and secondary memory unit f) arithmetic and logic unit g) central processing unit h) high-level languages i) machine language j) central processing unit

1.5 a) Java b) Objective C c) Google d) Pascal e) C++




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s