20165314 Learning Basics and C-language basic survey

Source: Internet
Author: User

Skills Learning what skills do you have that are better than most people (more than 90%)? What are your successful experiences with the acquisition of this skill? What do you have in common with the learning experience in your teacher's blog?
  • My parents from childhood forced me to learn a lot of skills, such as piano, Weiqi, calligraphy, etc., but unfortunately I did not persist in the end, so these naturally can not be regarded as I am better than most people's skills, I think that can more than most of the skills, should be the guitar, I began to learn guitar in high school, and different from childhood I was asked to learn, I was playing the guitar free and easy and easy to attract, since then began a road of no return, studied for three years, took a six-level test grade certificate.
  • I think, to learn a thing, and make progress, first of all, you need to have a motive for this thing, not numb to accomplish the task, such as Lou Teacher's "Do the back word of middle school"
    To the bufen of the classmate said:

    He was willing to take the time to score, and his attitude was commendable.
    I feel a little touched when I see this sentence, because I would be very happy to do "to add points and recite the words" This kind of thing, for me, add points naturally is good, recite the word is certainly not a bad thing, since I did a harmless thing to me can bring another thing for me, then I have no reason to do it?
    Second, Rome cold day, want to do one thing, must be the precipitation of time, another factor is to insist , in Lou Teacher's "Do high school table tennis deliberately training one year summary," said, qualitative change caused by quantitative changes, accumulate, New talent who doesn't even understand the terminology can be a good master of amortization.

    How do you study C language study? (Homework, experiment, textbook, others), what are the experiences and lessons of C language learning compared to your superb skills?

    I study C language, mainly with the classroom through the teacher's lectures and after-school reading, compared with my guitar, C language learning can be said to be a weak foundation, my lesson is that although the course requirements of learning is some boring, but can not be perfunctory, I hope I can in this semester's study to make up with other students of the gap.

    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?

    So far I should have written two thousand or three thousand lines of code, to understand the simple program function is not a problem, but more complex procedures will be some difficulties, it is difficult to write, I think the qualitative change and quantitative balance is an inevitable process, your volume to meet the requirements, will naturally occur qualitative changes.

    Learned the C language, you divide the array pointer, pointer array, function pointer, pointer function these concepts? ((X[4]) ()) [4] What is the X in this statement?

    Because there is a semester did not touch C language, so only remember the two groups corresponding to the main body of different, looked up to get the following results:

    Function pointer: Focus on the pointer, indicating that it is a pointer, it points to a function;
    Pointer function: Focus on the function, indicating that it is a function, and that its return value is a pointer;
    Array pointer: Focus on the pointer, indicating that it is a pointer, which points to an array;
    Pointer array: Focus on the array, indicating that it is an array, which contains the elements that are pointers;
    --function pointer, pointer function, array pointer, pointer array distinguish

    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?

    Files are the basic unit of Computer Management data and an important place for applications to save and read data.
    A stream is an abstract concept of a sequence of bytes, such as a file, an input/output device, an internal process communication pipeline, and so on. Stream provides a way to write bytes to the backing store and read bytes from the backing memory.
    A text file is a character-encoded file, and a binary file is a value-encoded file.

    Have you learned C language, do you know what is process-oriented programming? What is the way it solves the problem?

    Process-oriented is a process-centric programming idea. "Process oriented" can also be called "record-oriented" programming thinking, they do not support rich "object-oriented" features.
    To solve the problem is to analyze the steps needed to solve the problem, and then use the function to step through the steps, the use of a one-time call.

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

    Separate a program into multiple parts, each part is a module, I have not written multiple source files.

    Have you learned the C language, do you know what is "high cohesion, low coupling"? How does this principle apply to high-quality programming?

    Each piece of code completes a task independently. Multiple call functions.

    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>main(){int i[5] = {0,1,2,3,4,};int j[5];int k;for(k = 0 ; k < 5 ; k++){  b[k] = a[k];    }      }
    #include <stdio.h>main(){int a[5] = {1,2,3,4,5};int i;for(i = 0 ; i < 5 ; i++){      if(a[i] == 5)         printf("有5");      else         printf("没有5");} }
    #include<stdio.h>main(){int a[4] = {1,9,5,8 };int i,j,k;for(j = 0  ; j < 4 ; j++) for(i = 0 ; i < 3 - j ; i++)if(a[i] > a[i+1]) {    k = a[i];    a[i] = a[i+1];    a[i+1] = k;}for(i = 0 ; i < 3 ; i++)   printf("%d \n",a[i]);}
    Write a program that counts how many lines of code your C language has written.

    This won't

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

    After I set a breakpoint at a line of code, when the program is debugged, it stops automatically when the program runs to that line of code, and then I can step through it.

    What specific goals do you have for the study of Java programming in comparison to the study of C language? 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"?

    Goal: To be able to master the Java computer language, to solve some of the problems of server programming, if there is a chance to use the relevant knowledge to do some of their own procedures.
    Way: 1, first, should follow Lou teacher walk, finish homework on time
    2, then in the book after the practice, I learn C language is too little practice, so learning is not good
    3, to the class to learn the good students ask

20165314 Learning Basics and C-language basic survey

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.