20165237 Learning Basics and C-language basic survey

Source: Internet
Author: User

Learning basic and C language Basic survey I. Skills Learning and Specialty
    • What skills do you have that are better than most people (more than 90%)?

My hobbies and skills to tell the truth is quite extensive. If you want to pick out a good thing, I think it should be the piano.

    • What are your successful experiences with the acquisition of this skill?
    1. First there is a certain interest and pursuit, this will allow me to continue to the momentum and courage, but also I keep practicing the reason.
    2. The second is to have patience, only to keep practicing and thinking, ability will be improved, skills will become skilled.
    3. Finally, adhere to the learning process has a lot of bottlenecks, only adhere to, will reach the other side of success, eventually in the crowd stand out.
    • What do you have in common with the learning experience in your teacher's blog?

Read Lou Teacher's "Do High School (learning by Doing)" Table tennis deliberately training one year summary, I think there are many similarities. Like what:

Reference:

In real life, only a very small number of people have the willpower to be able to repeat the boring basic exercises for a long time. Halfway is something that many people often face.

The piano teacher often tells us to stick to the word. Although the fingers of a lot of cocoon, joint pain, but if you persist, these pain will disappear and scattered, into the success of the road on the sweat and power. Moreover, the practice process, must be highly focused , not focused, the effect will really poor.

II. Survey on C language learning
    • How do you learn C language? (Homework, experiment, textbook, others), what are the experiences and lessons of C language learning compared to your superb skills?
    1. Learn through intensive reading materials, website brushes and exercise experiments.
    2. I think the C language learning process, must be flexible thinking, more thinking, a problem can be simplified, can also complicate, see how programmers think.
    • 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?

If you follow 15 lines of code per question on the site, there are probably nearly 4,500 lines. Some of the pointers to understand some of the lack of understanding, but the basis of the previous I think it is questionable. Qualitative change is the result of quantitative changes, but can not be pursued by a uniform rough quantitative changing the qualitative.

    • Learned the C language, you divide the array pointer, pointer array, function pointer, pointer function these concepts?
    1. Array pointer: A pointer to an array.
    2. Pointer array: The element is an array of pointers.
    3. function pointer: A pointer variable that points to a function.
    4. Pointer function: A function that returns a pointer to a 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? Do you know what is process-oriented programming? What is the way it solves the problem? What is a module? Have you ever written a program for multiple source files? Do you know what is "high cohesion, low coupling"? How does this principle apply to high-quality programming?

Of these problems, I just knows.

    1. Process-oriented is the process-centric programming idea.
    2. Solution: By analyzing the steps required by the program, and then using the function to write each step, and then called in turn.
    3. A module divides a program into a number of complete components, which are then programmed to implement each of these parts.
    • 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 the integer array a (from large to small)?
#include <stdio.h>#include <stdlib.h>#define N 100int main(){    int a[N],b[N],i,j,k,temp;    printf("输入数组中有几个数:");    scanf("%d",&k);    for(i=0;i<k;i++)           //复制a->b    {        scanf("%d",&a[i]);        b[i]=a[i];    }    for(i=0;i<k;i++){        printf("%d ",b[i]);}    for(i=0;i<k;i++)      //循环查找5    {        if(a[i]==5)        {            printf("数组中有5\n");            break;        }    }    printf("数组中没有5\n");    for(i=0;i<k-1;i++)        //从大到小排序    {        for(j=i+1;j<k;j++)        {            if(a[i]<a[j]) //此处若改成>,则为从小到大排序            {                temp=a[i];                a[i]=a[j];                a[j]=temp;            }        }    }    return 0;}
    • Do you know what a breakpoint is? Give an example of your own debug program.

A breakpoint is a breakpoint that is set at a line of code in the program, and the program runs to stop and begins a single step of debugging.

Debugging:

    • Each chapter raises a question
    1. How are Java application source files written and saved?
    2. How do arrays allocate element space?
    3. How are conditional statements and loop statements used?
    4. How do I reference an object?
    5. How do you target abstract programming?
    6. How does the interface overcome the Java single inheritance disadvantage?
    7. How do I use internal classes and anonymous classes?
    8. What is the string class and the StringBuffer class? What's the connection?
    9. How to construct and understand JFrame?
    10. How do I get a cloned object for an object?
    11. How do I update, add, and delete?
    12. Why are garbage entities generated?
    13. What is a URL class? Where is the special place?
    14. How do I draw basic graphics and play audio?
    15. How do I use the various collection framework classes?
Third, compare the study of C language, what are your specific goals for the study of Java programming? How to improve the program design ability and develop the computational thinking through deliberate training? How do you achieve your goals through "doing middle school"?
    • I think positive practice and extensive thinking are essential. I hope that in the course, I really understand the meaning of the programming language, like the understanding of Chinese language to know the true meaning and thinking of Java. The combination of comprehension and practice, learning, learning and learning.

20165237 Learning Basics and C-language basic survey

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.