Main reference book chapter II study content (information representation and processing)
All key content: Information storage
Integer Representation/operation
Floating point number
16 binary representation
0~9
A~f
0000~1111
Note: (Main reference textbook P22 )
Word length: Nominal size of integer and pointer data
The average computer is 32 bits and 4,000 megabytes after 64 bits
Data size: integer, floating point
Char Individual bytes
Addressing and byte order (type conversions)
typedef named data types
printf formatted output
Pointers and Arrays
Creation and indirect referencing of pointers
Note: Reference textbook 25-27 page
Two integer representations
Shaping data types (the C language supports a variety of shaping data types and defines the smallest range of values that each data type must be able to represent, and the textbook P38 gives a detailed example)
Encoding for unsigned numbers
Complement code
The conversion of signed number and unsigned number
Truncate numbers
Note: All of the above reference textbooks P38-p45
Three-integer arithmetic
unsigned addition
Complement of non-
unsigned multiplication
Complement multiplication
Note Reference Textbook p56-p67
Four floating point
Binary decimals
Floating point Arithmetic
Floating-point numbers in the C language
After finishing the blog there are problems and thoughts:
Teacher this week to decorate the task is after class carefully look at the second chapter content, and give the after-school reference exercises, the problem is after reading the textbook, still have a large number of lessons after the problem will not do, especially contains code, probably because the original C language
Foundation is not thick, so in the completion of some exercises is very difficult, and the blog is also written very simple, because think it only play a guide to the role of learning outline, the next will not find classmates help.
Linux Experiment Three