2019-2020-26 "data structures and object-oriented programming," the first week of learning summary

2019-2020-26 "data structures and object-oriented programming," the first week of learning summary

Learning content summary

  1. Java is an object-oriented language. There are many different Java development environment, we are using the JDK.
  2. Development process will encounter three types of errors: compilation errors, runtime errors and logic errors, logic errors are the most difficult to solve.
  3. Object-oriented design is the ultimate goal of learning Java. We must first define an object (ie, the definition of the class), for example, I buy clothes, make sure I want to buy clothes or short-sleeved jacket. Defines a class, you can create multiple objects, for example, I decided to buy short-sleeved, short-sleeved have a variety of styles to choose from.

Textbook learning and problem-solving process

  • Question 1: What does it mean polymorphism?
  • Problem 1 Solution: Polymorphism refers to the same entity also has a variety of forms.
  • Question 2: how to write Java annotations?
  • Problem 2 Solution:
// this is comment.
/* this is another comment.*/
  • Question 3: Java capitalization how to use?
  • Question 3 Solution: java inside the case is in fact a number of customary rules evolved from, so when other people read your program easier to understand.

Code debugging and problem solving in the process

  • Question 1:
jdb -classpath .:./bin hello.java

image

  • Problem 1 Solution: remove java

- Question 2: Can not install program
- Question 2 solutions: to grant file permissions. I can not install the code statistics script, enter

chmod 777 statistics.sh

You can be successfully installed.
- Question 3: How will the code to paste on vim?
- Question 3 Solution: Install enhancements. In addition, that can be sent by mail to the Linux system with the help of the Wei classmates, and then copy paste to.

Code hosting

image
image

Last week exam wrong question summary

  • Wrong question 1: Linux Bash, you can use the help, man and (info) command to find help for the command.
  • The wrong question 2: Linux Bash can be used in man pintf help documentation c language printf function. (×)
  • Wrong question 3: You can use (chmod) in order to modify the file permissions in Linux
  • Wrong question 4: linux Bash, a wc and statistics hello.c main.c command has few lines of code is (wc -l hello.c main.c)
    reason: I am very familiar with the Linux operating system, so that this shortcoming I deeply appreciate the learning in peacetime. I need to remember this and be practicing.

Pair peer review and

Grading

  1. Proper use Markdown syntax (1 point):
  2. Elements range (1 point) template
  3. Textbook learning and problem solving process, a problem 1 point
    • Add 5 points
  4. Code debugging and problem solving in the process, a problem 1 point

  5. Week over 300 branches valid code (plus 2 points)
    • Submitted one week fewer than 20 times without points
  6. Other plus points:
    • Hair blog before Friday 1 point
    • Feelings, experience does not leave large empty 1 point
    • Typesetting fine plus one point
    • Progress bar records the learning time and improve the situation of 1 point
    • There are hands-on writing new code, add 1 point
    • After class choice has verified 1 point
    • Code Commit Message Specification 1 point
    • Learning the wrong questions in depth, add 1 point
    • Comments seriously, I can point out problems and blog code plus 1 point
    • Pair learning authentic plus 1 point
  7. Points:
    • Plagiarism buckle to 0
    • Cheat codes to buckle 0
    • Late assignments to buckle 0

Comment:

  • Worth learning problems or blog:
    • Thinking multi-faceted textbook, code.
    • Seriously looking for their own shortcomings.
    • Illustrate the problem.
  • Code is worth learning or problem:
  • Based on score, I give this blog scoring: 14 points. Scores are as follows:
    • Feelings, experience does not leave large empty 1 point
    • Typesetting fine plus one point
    • Pair learning authentic plus 1 point
    • Proper use Markdown syntax
    • Elements range (1 point) template
    • Learning the wrong questions in depth, add 1 point
    • Comments seriously, I can point out problems and blog code plus 1 point
    • Textbook learning and problem-solving process, add 5 points
    • The code debugging and problem solving process, plus 2 points

Comments had students blog and code

  • Pair this week learning
    • Pair students 20,182,301
    • Pair Photo
      image
      image
      image
    • Pair learning content
      - Code download statistics
      • Markdown about writing
        -vim related operations
  • Last week blog peer assessment case

Other (sentiment)

Java language and c language wording is different, which is a bit difficult for me, Linux operating system is also very strange, I have to work harder to learn.

Learning progress bar

The number of lines of code (add / accumulate) Blog amount (add / accumulate) Learning time (add / accumulate) Important growth
aims 5000 rows 30 400 hours
the first week 26/200 2/2 20/20

Guess you like

Origin www.cnblogs.com/20182326lyj/p/11503211.html