Chapter 1 - Full TOC

Sections

1. BASIC CONCEPTS
1.1 INTRODUCTION
1.2 WHAT IS PROGRAMMING?
1.3 FLOWCHARTING
1.4 INFORMATION REPRESENTATION
1.4.1 INTERNAL REPRESENTATION OF INFORMATION
1.4.1.1 Program representation
1.4.1.2 Representing Numeric Data
1.4.1.2.1 Decimal to Binary
1.4.1.2.2 Operating on Binary Data
1.4.1.2.3 Signed Binary
1.4.1.2.4 One's Complement
1.4.1.2.5 Two's Complement Representation
1.4.1.2.6 The Carry C

1.4.1.2.7 Overflow V
1.4.1.2.8 The carry and the Overflow
1.4.1.2.9 Examples
1.4.1.2.10 Fixed Format Representation
1.4.1.2.11 The Magnitude Problem
1.4.1.2.12 BCD Representation
1.4.1.2.13 Floating-Point Representation
1.4.1.3 Representing Alphanumeric Data
1.4.2 EXTERNAL REPRESENTATION OF INFORMATION
1.4.2.1 Binary
1.4.2.2 Octal and Hexadecimal
1.4.2.3 Symbolic Representation
1.4.2.4 Summary of External Representation
1.4.3 ADDITIONAL EXERCISES

Exercises

Exercise 1.1, Exercise 1.2, Exercise 1.3, Exercise 1.4, Exercise 1.5, Exercise 1.6, Exercise 1.7, Exercise 1.8, Exercise 1.9, Exercise 1.10, Exercise 1.11, Exercise 1.12, Exercise 1.13, Exercise 1.14, Exercise 1.15, Exercise 1.16, Exercise 1.17, Exercise 1.18, Exercise 1.19, Exercise 1.20, Exercise 1.21, Exercise 1.22, Exercise 1.23, Exercise 1.24, Exercise 1.25, Exercise 1.26, Exercise 1.27, Exercise 1.28, Exercise 1.29, Exercise 1.30, Exercise 1.31, Exercise 1.32

List of Figures

Fig. 1.1: A Flowchart for Keeping Room Temperature Constant
Fig. 1.2: Decimal-Binary Table
Fig. 1.3: 2's Complement Table
Fig. 1.4: BCD Table

Fig. 1.5: Typical Floating-Point Representation
Fig. 1.6: ASCII Conversion Table
Fig. 1.7: Octal Symbols
Fig. 1.8: Hexadecimal Codes