20,182,332 2019-2020-1 "data structures and object-oriented programming," the first week of learning summary

20,182,332 2019-2020-1 "data structures and object-oriented programming," the first week of learning summary 1

Learning content summary

  • 1. Configure linux virtual machine, java environment.
  • 2. understood that object-oriented programming, including the concept of properties, methods, and other packaging.
  • Java basic structure, environment variable configuration, an integrated development environment.
  • JAVA file compilation process:
  • 1. The source file is compiled by a compiler into bytecode (the ByteCode)
  • 2. java byte code is interpreted by the virtual machine is running.
  • git command:
  1. git init to create a local repository;
  2. git clone to establish contact with a remote repository;
  3. git add adds the current directory files to the staging area.;
  4. git commit files mentioned Warehouse from scratch;
  5. git push uploaded to the remote repository.

    Textbook learning and problem-solving process

  • args meaning?
  • Solve: args parameter-based method entry, it is an abbreviation for arguments, but a default name, according to generally customary to write.
  • Java reserved keyword:
abstract assert boolean byte break
case catch char class const
continue default do double else
enum extends final finally float
for goto if implements import
instanceof int interface long native
new package private protected public
return strictfp short static super
switch synchronized this throw throws
transient try void volatile while

Detailed reserved keyword:

https://blog.csdn.net/Myuhua/article/details/81411707

Code debugging and problem solving in the process

  • Question 1: VM startup error: Can not find or load the main class: code.java.
  • Solutions (provisional program): In bash, enter:
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64
export PATH=$JAVA_HOME/bin:$PATH     
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar 
  • Question 2: git push to push unrelated files.
  • Solution: git clone code in a file directory.

    Code hosting

Last week exam wrong question summary

correct:

  1. Fill in the blank: Linux Bash, use the echo to see the value of the environment variable PATH command (echo $ PATH)
  2. Analyzing: Linux Bash tar command using the home directory is packaged into home.tar command (tar -cf home.tar ~)
  3. Fill in the blanks Linux Bash in the current directory grep to find .c command in the main function in the file is (grep main .c)
  4. Fill in the blank: Linux Bash, find the command file in the home directory is created yesterday (find ~ -ctime 1).

    Reflection:

    Linux command to understand not deep, subconscious command to discharge priority, resulting in the case of some unfamiliar command.

    Pair peer review and

    Reviews

  • Blog worth learning:
    • Learning content summarized strong lines, and clear introduction.
    • The new code has its own beat, to find their own problem.
  • problem:
    • Hoping to summarize the contents of textbooks and problem solve their own thought process & added, enrich the contents of the blog.
    • Can increase some of their own feelings, constantly sum up, progress.
      Based on score, I give this blog Rate: 12
      scores as follows:
      the proper use Markdown syntax (1 point)
      feature templates in the range (1 point)
      issues textbook learning and resolution process (2 points)
      code for debugging the problem and resolution process (2 points)
      other extra points (plus 6 points)
      progress bar records the learning time and improvements (1)
      feelings, experience does not leave large empty (1)
      there are hands-on writing new code (1)
      the wrong questions to learn depth (1)
      Comments seriously, can point out problems and blog code (1)
      twinning authentic learning (1)

      Other (perception, thinking, etc., optional)

      Everything needs to Jing Xiaxin, not anxious.

The number of lines of code (add / accumulate) Blog amount (add / accumulate) Learning time (add / accumulate) Important growth
aims 10,000 lines 30 400 hours
the first week 138/138 2/2 23/23 Use the mouse to reduce the number of

Guess you like

Origin www.cnblogs.com/Stark-GR/p/11504257.html