E1 C language programming

C is the language of choice for developing system software, and considering that many of the students participating in "One Student One Chip" project majored in non-computer science, the learning curve for C is relatively simple. You need to know the following: recursion, pointers, linked lists, and be able to write a correct program on your own (not by searching for a so-called sample code on Google).

Learn C language through online websites

You should have already used the Compiler Exploreropen in new window online website to run C programs. Now you will systematically learn C language programming and complete some programming assignments through this online website.

Specifically, you need to learn One-stop Learning for Linux C Programmingopen in new window Chapters 1-9, Chapters 11-16, Chapter 21, Chapters 23-25, and Chapter 26, Section 1 (i.e., ‘Linked Lists’). You need to complete all the exercises and test your programs in Compiler Explorer to see if it is correct.

In addition, after running the program correctly, you need to save the corresponding program code locally. On the one hand, you can keep these programs as your assignments. On the other hand, after installing Linux, we will ask you to run some of the code again.

If you are confident in your C language skills and can independently write a linked list program and debug it correctly without referring to other code, you can skip this part of the course. If you have not fully learned C language programming, or have forgotten most of it, we strongly advise you not to skip this part of the course.