20165324 Learning Basics and C language learning experience

Source: Internet
Author: User

20165324 Skills Learning experience and C language learning one, reading book and Skills Learning

Do Secondary school Reading

I think it is a good way to arouse students ' interest, curiosity and curiosity by giving students concrete, practical and immediate knowledge of the cause and effect of teaching materials and exercises. That's how I learned programming and software development. So I am very fond of the method of "learning to learn". The software engineering has the theory part, has the engineering part; Having the part of art, having a handicraft part; Before students reach the stage of theory/art, a lot of practice is necessary.

It is quoted from "doing High school"

Feeling after reading
Lou Teacher first elaborated the method which stimulates the student interest, namely concrete, the practice, can see the causal effect the textbook and the practice is particularly important. Then it refers to the "learning" method, and finally warns the reader that a great deal of practice is necessary to achieve the theoretical/artistic stage. I agree with the teacher, interest is our best teacher, and the method of arousing interest is especially important. For a computer language learning should use the correct method, I think the online teaching resources such as MOOC, NetEase Cloud class, as well as the teacher mentioned the flip class to stimulate students interest, curiosity, thirst for knowledge has a good role. Although a person can learn a book, but I am more suitable for the teacher's explanation to achieve the goal of learning. Through the combination of books and practice to better grasp a computer language.

Skills Learning
There seems to be no more than normal skills for myself, but I have some feelings for skill learning. Elementary school, I have some sports talent, I also pay more attention to physical fitness exercise, entered the school's sports training team. Every day on time in the coach's leadership to repeat the training, that period of time every morning early self-study and after school for a long time in the training: Frog jump, ramp training, endurance training and so very painful, but very grateful to have with me to persist in the efforts of the partners, there are strict but cordial coach teaching, Urge us to complete our daily training. Exhausted training every day, we will be under the leadership of the coach, around the playground walk one or two laps, we say that the time is particularly precious.

Second, C language learning
    • How do you learn C language? What are the experiences and lessons of C language learning compared to your skill?

In the study C language, I did not actively learn the relevant knowledge, class also did not listen carefully, under the class can only grope. Later, by looking at some simple procedures, they slowly try to imitate to grow. The resources from the internet have given me a lot of help.

    • How many lines of C code have you written so far? What is the understanding? Quantitative change caused qualitative change, how to balance the quality and quantity?

I wrote about 3000 lines of code a semester, but seldom did it by myself, with a lot of foreign help. Often after reading a program, it is simple to modify, imitate. Many did not understand thoroughly and hastily ended. Especially the back of the knowledge point a lot of sloppy. Pure brush points, only consider passing the examination in front of the finished. It took a lot of time, but it was not very rewarding.

    • Learned the C language, you divide the array pointer, pointer array, function pointer, pointer function these concepts?

Array pointer: Refers to the pointer to the array name, which is the pointer to the address of the first element of the array.
Pointer array: An array of array elements that are pointers, essentially arrays.
Function pointer: is a pointer variable that points to a function.
Pointer function: First it is a function, except that the return value of this function is an address value.

    • Have you learned the C language, do you understand the differences and connections between files and streams? How do I differentiate between text files and binaries? How do I programmatically manipulate these two files?
      Have you learned C language, do you know what is process-oriented programming? What is the way it solves the problem?

Do not understand Baidu's file and the flow of the difference and contact
How to differentiate between text files and binary files
What do you mean process-oriented programming

    • What is a module in C language? Have you ever written a program for multiple source files?

Module: A class of independent, recognizable program directives that implement a function as a whole.
Not written.

    • Have you learned the C language, do you know what is "high cohesion, low coupling"? How does this principle apply to high-quality programming?
    • I don't know. Baidu get high cohesion, low coupling
    • Having learned C, how do you copy the contents of array A into array B? How do I find the number 5 in an integer array a? How do I sort an integer array a (small to large, from large to small)? Write the appropriate program.
  #include <stdio.h> #define N 40int Main () {int a[n],b[n];    int i,n,k=0;    printf ("The number of a[]:");    scanf ("%d", &n);    printf ("Please enter a serial number:");        for (i=0;i<n;i++) {scanf ("%d", &a[i]);        B[i]=a[i];        if (a[i]==5) k=1;        } k==1?printf ("The array has 5\n"):p rintf ("The array has no 5\n");        printf ("Array output is: \ n");        for (i=0;i<n;i++) {printf ("%d\t", B[i]);    } printf ("\ n");    printf ("%s\n", CC); return 0;}  
Enter integers, from small to large or from large to small.    #include <stdio.h> #define N 40int main () {void xd (int a[],int n);    void dx (int a[],int n);    int a[n],i,n,k;    printf ("Please enter the number: \ n");    scanf ("%d", &n);    printf ("Please enter numbers:");    for (i=0;i<=n;i++) scanf ("%d", &a[i]);    printf ("Small to large input 0, from large to small input 1\n");    scanf ("%d", &k);        if (k==0) {xd (a,n);        printf ("From small to large after the integer sequence is: \ n");        for (i=0;i<=n;i++) printf ("%d\t", A[i]);    printf ("\ n");        } if (k==1) {dx (a,n);        printf ("Integer from large to Small" followed by: \ n ");        for (i=0;i<=n;i++) printf ("%d\t", A[i]);    printf ("\ n"); } return 0;}    void xd (int a[],int n) {int i,j,temp; for (i=0;i<n-1;i++) {for (j=i+1;j<n;j++) {if (A[i]>a[j]) {T                Emp=a[i];                A[I]=A[J];            A[j]=temp;    }}}}void dx (int a[],int n) {int i,j,temp;           for (i=0;i<n-1;i++) {for (j=i+1;j<n;j++) { if (A[i]<a[j]) {temp=a[i];                A[I]=A[J];            A[j]=temp; }        }    }}
    • Write a program that counts how many lines of code your C language has written.

No, and the C language written has been gone and deleted.

    • Do you know what a breakpoint is? Give an example of your own debug program

Do not know Baidu got a breakpoint

Java Learning Goals

Use time, resources, consciously learn every day, adhere to write code, and try to complete the learning task.

20165324 Learning Basics and C language learning experience

Related Article

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.