Principles of compilation c language compiler coursework report

How to write a summary of c language lab report

Summary of c language lab report is written in this way:

In today’s highly developed science and technology, the role of computers is becoming more and more prominent among people. And c language as a language of computer, we learn it, help us better understand the computer, communicate with the computer, so the learning of c language is especially important to us.

In this week, our majors had a practical study of c language program under the leadership of our professional teachers. Before this, we have been on the c language this course of study for a semester, have a certain understanding of it, but also just stay in the scope of understanding, a lot of things in it is still very unfamiliar, in the use of up to the time is still very tricky, after all, everything is difficult to begin with.

Because of the relationship between time, our practice course teacher did not give us a detailed introduction, just give us a simple introduction to a few more important practical operation. Including the program module processing. Simple interface program. Advanced interface program. Adding and modifying programs. The program to do one-way linear regression processing and the use of the C language program to draw the particle size distribution graph and so on these several more important time operation.

The on-line experiment is an essential practical part of learning programming language, especially c language is flexible and concise, it is more necessary to really master it through the practice of programming. For the purpose of learning the programming language can be summarized as learning the syntax of the provisions, mastering the program design methodology, improve program development capabilities, these must be completed through sufficient practical on-line operation.

Learning c programming language in addition to classroom lectures, must ensure that there is no less than the classroom lecture hours of computer time. Because of the time limit, the course can not arrange too many unified on-line experiments, so I hope that the students effectively use the opportunity of the course on-line experiments, as soon as possible to master the ability to develop programs with the c language, for the future to continue learning to lay a good foundation.

To this end, we have arranged 12 on-line experiments in conjunction with the content and progress of the classroom lectures. The purpose of the course on-line experiment, not only to verify the content of the textbook and lectures, check their own program is correct, the purpose of the course on-line experiment can be summarized in the following aspects:

1, to deepen the content of the classroom ‘s understanding

The classroom to teach a lot of rules about the syntax of the C language, it sounds very boring, it is not easy to memorize, the rote memorization is not desirable. Rote memorization is not desirable. However, in order to use the c language as a tool to solve practical problems, and must master it.

Through many on-line practice, for the grammatical knowledge has a perceptual awareness, deepen the understanding of it, in the understanding of the basis will naturally master the c language syntax regulations. For some of the content they think they understand in the classroom, but on-line practice will find that the original understanding of the deviation, this is due to the majority of students is the first contact with programming, the lack of programming practice due.

Learning the c language can not stay in the study of its syntax rules, but the use of knowledge learned to write c language program to solve practical problems. That is, the c language as a tool to describe the steps to solve practical problems, by the computer to help us solve the problem. Only through the computer can we test whether we have mastered the c language and whether the program we write can solve the problem correctly.

To verify the correctness of a program written by oneself through on-line experimentation is, I am afraid, the mindset of most of the students in completing the teacher’s homework. But in the field of programming this is a traditional and wrong idea that must be overcome. Because in this kind of thinking, you may try to “cover up” the errors in the program, instead of finding as many problems in the program as possible.

When you make up your own program and run it on the debugging machine, there may be a lot of things you can’t think of, and by solving these problems, you can gradually improve your understanding of the C language and your ability to develop your own program.

2, familiar with the program development environment, learning the operation of the computer system

A c language program from editing, compiling, connecting to run, are in a certain external operating environment. The so-called “environment” is the computer system hardware, software conditions, only to learn to use these environments, in order to carry out program development work.

Through the on-line experiment, skilled mastery of the c language development environment, for the future really write computer programs to solve practical problems to lay the foundation. At the same time, when encountering other development environment in the future will be touching, and quickly master the use of the new system.

3, learning to debug the program

Completion of the program, never means everything is fine. You think that the program is foolproof, the actual machine may be constantly running trouble. For example, the compiler program detects a whole bunch of errors. Sometimes the program itself doesn’t have syntax errors, and it runs fine, but the results are clearly wrong.

The compilation system provided by the development environment is unable to detect such errors in program logic, so you have to rely on your own onboard experience to analyze and determine where the errors are. Program debugging is a very skillful work, for beginners, as soon as possible to master the program debugging method is very important. Sometimes a small error that consumes a few hours of your time can be seen by a debugging expert at a glance.

Through this few days of computer practice learning, we have learned some knowledge about the c language, understanding and consolidate our theoretical knowledge of the c language, which will help us to come to the social work will be of great help. At the same time, it lets me know that as long as you work hard, nothing is too difficult!

C Programming Report Format

The course design (practice week) report generally has the following contents:

1. Table of Contents

The table of contents is to arrange the chapter headings within the report in order.

2. Requirements analysis

The main content includes the course design (practice week) title, the course design (practice week) tasks and requirements, the course design (practice week) ideas, hardware and software operating environment and development tools.

3. Outline design

Mainly describes the flow chart of the design of the subject (each functional module), the main data structure, the completion of the course design (practice week) methodology and a brief description of the principle.

4. Detailed design

Mainly the hardware design and software design required for this topic, including the establishment of the mathematical model required for the design and list the necessary formulas, calculation process and description, the design and implementation of the main algorithms, write the results of the design calculations; draw a block diagram of the computer program, and write a self-programmed program.

5. debugging and operating instructions

System debugging analysis and operating instructions for use.

6. course design (practice week) summary and experience

The main development process of the subject is summarized and summarized, the subject in the design process encountered technical difficulties and solutions. It should also include the remaining problems of this topic, as well as insights and suggestions for further development. And write the harvest and experience through this course design (practice week).

7. Acknowledgements

In brief, express your gratitude to those who have directly helped you in the process of design research and design report writing

8. References

In order to reflect the scientific basis of the dissertation and the seriousness of the author’s respect for the results of other people’s research, as well as provide readers with the source of the relevant information, the main references involved in the design of this course (practice week) should be listed. week) the main references involved.

9. Appendices

Some materials may be included in the main body of the paper, which may impair the organization and logic of the paper, or hinder the compactness of the paper’s structure and highlighting of the main idea, etc. They can be included as appendices at the end of the text.