Linux Experiment Three

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.