# # #01.01_ Computer Basics (Computer overview) (Learn)
* A: What is a computer? Examples of computer applications in life
* Computer (computer) Full name: Electronic computer, commonly known as computers. It is a modern intelligent electronic device which can operate according to the program, automatically and high-speed processing massive data. A computer consisting of hardware and software that does not have any software installed is called bare metal. Common forms are desktop computers, laptops, mainframe computers, and so on.
* Application Examples
* 1: Scientific calculation
* 2. Data processing
* 3, Automatic control
* 4. Computer Aided design
* 5, Artificial intelligence
* 6, multimedia applications
* 7. Computer network
* ...
* B: What is hardware? Examples of hardware
* Computer hardware (computer Hardware) refers to a computer system consisting of electronic, mechanical and optoelectronic components, such as a variety of physical devices collectively. These physical devices constitute an organic whole to provide the material basis for the computer software operation according to the requirements of the system structure.
* von Neumann architecture
* The hardware of the computer is divided into 5 components: an operator, a controller, a memory, an input device, and an output device.
* Operators and controllers are the core of the computer, collectively referred to as central processing unit (processing UNIT,CPU) or processor. There are also some high-speed storage units inside the CPU, called registers. Where the operator performs all arithmetic and logic operations, the controller is responsible for removing the instruction from the memory, decoding and issuing various control commands to the computer, while the register provides the processing unit with the data required for operation.
* Memory is the memory part of a computer, used to store the program and the data involved in the program. It is divided into internal memory and external memory. The internal memory is used to store the program being executed and the data used, its cost is high, the capacity is small, but the speed is fast. External memory can be used for long-term preservation of a large number of programs and data, low cost, large capacity, but slower.
* Input devices and output devices are collectively referred to as external devices, referred to as peripheral or I/O devices, for human-computer interaction and inter-machine communication. Microcomputers commonly used in the input device has a keyboard, mouse, etc., the output device has a display, printer and so on.
* C: What is software? Software classification and examples
* Computer software (computer software) is an essential thing in the process of using computer, computer software can enable the computer to complete the specific function in a predetermined order
* Computer software is divided into system software and application software according to its function.
* System software: DOS (Disk Operating system), Windows, Linux, Unix, Mac, Android, IOS
* Application software: Office QQ chat YY language minesweeper
# # #01.02_ Computer Basics (software development and Computer language Overview) (Learn)
* A: what is software
* Collection of computer data and instructions organized in a specific order
* B: What is development
* Process of software production
* C: What is software development
* Build software with development tools and computer language
* D: What is computer language
* A special language for communication of information between people and computers
* E: Classification of computer languages
* Machine Language:
* Machine language is a computer language directly expressed as a binary code instruction, which is a string of code consisting of 0 and 1, which have a certain number of digits and are divided into segments, and the coding of each segment represents different meanings.
Assembly language
* Assembly language is the use of some special symbols to replace the machine language binary code, the computer can not directly recognize the need for a software to translate assembly language into machine languages.
* Advanced Language:
* The source code is written in plain English, and the source code is translated by the compiler into a machine language that is directly recognized by the computer and then executed by the computer.
* Advanced languages include C,c++,c#,java
# # #01.03_ Computer Basics (man-machine Interaction) (understanding)
* A: Two ways of human-computer interaction
* A: Command line mode
* Need to have a console, enter specific instructions, let the computer do some operations. More trouble, need to record some commands.
* B: Graphical interface mode
* This method is simple and intuitive, the user is easy to accept, easy to operate.
# # #01.04_ Computer Basics (keyboard function keys and shortcut keys) (master)
* A: Keyboard function keys
* A:tab
* B:shift
* C:ctrl
* D:alt
* E: space
* F:enter
* G:window
* H: up or down key
* I:PRTSC (Printscreen) screen
* B: Keyboard shortcuts
* A:ctrl+a Select All
* B:ctrl+c Copy
* C:ctrl+v Paste
* D:ctrl+x Cut
* E:ctrl+z Revocation
* F:ctrl+s Save
# # #01.05_ Computer Basics (How to open the DOS console) (master)
* How do I open the DOS console under A:XP?
* A: Start--Program--Attachments--command prompt
* B: Start-run--cmd--Enter
* c:win+r--cmd--Enter
* How do I open the DOS console under b:win7?
* A: Start-All Programs--attachments--command prompt
* B: Start-search programs and files--cmd--enter
* c:win+r--cmd--Enter
* C:win8 How to open the DOS console
* A: Left mouse click Start--down arrow--command prompt
* B: Mouse Right click Start--Search--cmd--Enter
* C: Mouse Right click Start-run--cmd--Enter
* d:win+r--cmd--Enter
# # #01.06_ Computer Basics (Common DOS commands explained)
* A:D: Enter drive letter Toggle
* B:dir (Directory): Lists the files and folders in the current directory
* C:CD (change directory) changes the specified directory (enter the specified directory)
* D:CD. : Back to the top level directory
* e:cd\: Go back to the root directory
* F:cls: (Clear screen) clear
* G:exit: Exit DOS command line (need to master on split Line, understand below)
* /=========================================================
* MD (make directory): Create directory
* RD (remove directory): Delete directory
* DEL (delete): Delete files, delete a bunch of suffix names like files *.txt
* Notepad Create File
* Delete a folder with content
* Rd +/S folder name (ask whether to delete)
* RD +/q +/S folder name (delete directly)
# # #01.07_java Language Basics (Java language Overview) (Learn)
* A:java Language history
* James Goslin James Gosling received a BS in computer Science from the University of Calgary in 1977, a PhD in computer science from Carnegie Mellon University in 1983, and worked at IBM after graduating to design IBM's first generation workstation news system, but with no regard for attention. Later transferred to Sun, 1990, and Patrick,naughton and Mike Sheridan and other people to cooperate "Green plan", later developed a set of languages called "Oak", then renamed Java.
* SUN (Stanford University Network, Stanford University Internet company)
* B:java language version
* JDK 1.1.4Sparkler Gem 1997-09-12
* JDK 1.1.5Pumpkin Pumpkin 1997-12-13
* JDK 1.1.6Abigail Abigail--Women's name 1998-04-24
* JDK 1.1.7Brutus Brutus--Roman statesman and general 1998-09-28
* JDK 1.1.8Chelsea Chelsea-city name 1999-04-08
* J2SE 1.2Playground Stadium 1998-12-04
* J2SE 1.2.1none No 1999-03-30
* J2SE 1.2.2Cricket Cricket 1999-07-08
* J2SE 1.3Kestrel American Red Falcon (SǓN) 2000-05-08
* J2SE 1.3.1Ladybird Ladybug 2001-05-17
* J2SE 1.4.0Merlin Grey back Falcon 2002-02-13
* J2SE 1.4.1grasshopper Grasshopper 2002-09-16
* J2SE 1.4.2Mantis Mantis 2003-06-26
* Javase 5.0 (1.5.0) Tiger Tigers
* Javase 5.1 (1.5.1) Dragonfly Dragonfly
* Javase 6.0 (1.6.0) Mustang Mustang
* Javase 7.0 (1.7.0) Dolphin Dolphin
* C:java Language Platform
* J2SE (Java 2 Platform standard Edition) edition
* is a solution for the development of common desktop and business applications, which is the basis of the other two, and can complete the development of some desktop applications
* J2ME (Java 2 Platform micro Edition) Mini version
* is a solution for the development of electronic consumer products and embedded devices
* EE (Java 2 Platform Enterprise Edition) Corporate Edition
* is a set of solutions for applications in developing enterprise environments, including technologies such as Servlets, JSPs, etc., primarily for web application development
* C:java Language Features
* Simple Nature
* Explanatory nature
* Object Oriented
* High Performance
* Distributed processing
* Multithreading
* Robustness
* Dynamic
* Structural neutrality
* Security
* Open Source
* Cross-platform
# # #01.08_java Language Basics (Java language Cross-platform principle) (master)
* A: What is cross-platform
* B:java Language Cross-platform principle
* Just install a Java Virtual machine (JVM Java VM) on the operating system that needs to run the Java application. The JVM is responsible for the operation of the Java program in the system.
* C:java language cross-platform illustration
* Write once, run anywhere! (one compile, run everywhere)
# # #01.09_java Language Basics (Overview of JRE and JDK) (master)
* A: What is the JRE
* Including Java virtual machines (JVM Java) and Java programs required by the core class library, if you want to run a well-developed Java program, the computer only need to install the JRE.
* jre:jvm+ class Library.
* B: What is a JDK
* JDK is available to Java developers and includes Java development tools and JRE. So with the JDK installed, you don't have to install the JRE separately.
* Development tools: Compiler tool (Javac.exe) packaging Tool (Jar.exe), etc.
* Development tools for Jdk:jre+java.
* C: Why the JDK contains a JRE
* Why does the JDK contain a JRE?
* After the development of the program, you need to run a look at the effect.
* Role and relationship of D:JDK,JRE,JVM
# # #01.10_java Language Basics (Download and installation process diagrams for JDK) (learn)
* Download of A:JDK
* A: Official website http://www.oracle.com
* B: Demo download process
* Installation of B:JDK
* A: Fool-type installation
* Double click on the installer, then all the way next (but not recommended)
* B: Recommended way to install
* Installation path do not have Chinese or special symbols such as spaces.
* All development related software is best installed directory unified.
* Example: my JDK installation path
* D:\develop\Java\jdk1.7.0_72
* When prompted to install the JRE, you can choose not to install. Recommended or installed.
* C: Demo installation process
* You can set up a folder on the D drive first develop
* Then demonstrate the installation process
* C: Verify the installation is successful
* A: Through the DOS command, switch to the JDK installation bin directory.
* D:\develop\Java\jdk1.7.0_72\bin
* B: Then enter Javac and Java separately, if some content is displayed correctly, the installation is successful.
# # #01.11_java Language Basics (Directory interpretation under JDK installation path) (learn)
* A:bin Directory: This directory is used to store some executable programs.
* such as Javac.exe (Java compiler), Java.exe (Java Runtime Tool), Jar.exe (Packaging tool) and * Javadoc.exe (document Generation tool), etc.
* B:DB directory: DB directory is a small database.
* Starting with JDK 6.0, a new member javadb is referenced in Java, a pure Java implementation, open source database management system. This database is not only lightweight, but also supports all JDBC 4.0 specifications, when learning jdbc, no more need to install a database software, choose to use JAVADB directly.
* C:jre directory: "JRE" is the abbreviation for Java Runtime environment, meaning Java Program Runtime environment. This directory is the root of the Java Runtime Environment, which includes Java virtual machines, runtime class packages, Java application initiators, and a bin directory, but does not include development tools in the development environment.
* D:include directory: Because the JDK is implemented through C and C + +, you need to introduce some C-language header files at startup, which is used to store these header files.
* E:lib Directory: LIB is the abbreviation for the library, meaning the Java class library or library file, which is the archive package file used by the development tool.
* F:src.zip file: Src.zip is a compressed file for the SRC folder, and the source code of the JDK core class is placed in SRC, which allows you to view the source code of the Java base class.
# # #01.12_java Language Basics (Introduction to Java Development tools) (Learn)
* A:NOTEPAD (Microsoft OS comes with)
* b:editplus/notepad++
* C:eclipse
* D:myeclipse
* Give us a brief introduction to these tools and then tell us the order in which we use them.
* Basic classes: First Notepad, then EditPlus, then Eclipse.
* Employment classes: MyEclipse and Eclipse are used.
# # #01.13_java Language Foundation (HelloWorld case writing and running) (master)
* A: Define Class
* B: Write the Main method
* C: Write output statement
* D:java Program Development operation and working principle
* E: Compile and run the program
Class HelloWorld {
public static void Main (string[] args) {
System.out.println ("HelloWorld");
}
}
# # #01.14_java Language Basics (HelloWorld case FAQs) (master)
* A: Unable to find the file (show them all, let the students see what is wrong with them)
* A: File extension shadowing causes compilation to fail
* B: The file name is wrong
* B: Spelling problems (show them all, let the students see what is going on)
* A:class written as Class
* B:string written as String
* C:system Written system
* D:main written Mian
* C: Bracket matching problem (show the students to see what is the problem)
* A: Remove the curly braces from the class body
* B: Remove the curly brace of the method body
* C: Take out the curly brace of the output statement.
* D: Chinese and English issues (show me the students and see what's going On)
* A: Message: Error: illegal character: \???? The format
* Note: English characters are basically required in Java programming
# # #01.15_java Language Basics (Java language Writing format (conventional)) (master)
* 1, curly braces to align, and write in pairs
* 2, with a space in front of the left curly brace
* 3, encountered opening brace to indent, Tab
* 4, blank line between method and program block makes the program look clear
* 5, add spaces between statements, such as for statement
* 6, plus spaces on both sides of the operator
# # #01.16_java Language Base (Path environment variable function and configuration Method 1) (master)
* A: Issues that are prone to developing programs in the bin directory of the JDK
* A: If there are too many files, it is inconvenient to manage
* B: Delete the unwanted files that you have written, and may accidentally remove the tool from the JDK.
* B: How to solve the problem?
* Notepad Such commands can be executed under any path, configuring the PATH environment variable
* C: Configuration method
* A:XP System
* Right click on desktop computer → select Properties → select advanced tab → Click environment variables → find path→ in system variable double-click path→ to add the bin directory under the JDK installation directory to the leftmost and add a semicolon.
* B:WIN7/WIN8 System
* Right click on desktop computer → select Properties → select advanced system settings → select advanced tab → Click environment variables → find path→ under System variables double-click path→ to add the bin directory under the JDK installation directory to the leftmost and add a semicolon.
* path is configured with executable file. exe, which can be configured to access executable files under Path paths under different drive characters
# # #01.17_java Language Foundation (PATH environment variable configuration 2) (master)
* A: Configure Java_home First
* B: Modify path again
* C: Finally, the path is a sequential relationship.
# # #01.18_java Language Basics (The role of CLASSPATH environment variables and their configuration) (learn)
* A: Why to configure Classpath
* Principle of B:classpath configuration
* C: How to configure Classpath
* The difference between path and classpath
* path is configured with executable file. exe, which can be configured to access executable files under Path paths under different drive characters
* CLASSPATH configuration Java class file, which is the. class file
# # #01.19_java Language Basics (editplus developer and compile run) (learn)
* A: Configure shortcut key compilation run
* B: Remove backup files
# # #01.20_java Language Basics (Overview of annotations and their classifications) (master)
* A: What is a comment
* B: Classification and explanation of notes
* Documentation comments are not spoken at the moment, said the following explanation
* The role of annotations
* A: Explanation procedure
* B: Help us Debug errors
# # #01.21_java Language Basics (Overview and use of keywords) (master)
* A: What is a keyword
* Words that are given a specific meaning by the Java language
* B: Features of keywords
* The letters that make up the keywords are all lowercase
* C: Common keywords
* public static void class, etc.
* D: Keyword considerations
* Goto and Const exist as reserved words, not currently used, advanced Notepad like EditPlus, with special color tag for keywords, very intuitive
# # #01.22_java Language Basics (Overview and composition Rules for Identifiers) (master)
* A: What is an identifier
* is a sequence of characters to use when naming classes, interfaces, methods, variables, etc.
* B: Constituent rules of identifiers
* English uppercase and lowercase letters
* Numeric characters
* $ and _
* C: identifier considerations
* 1, cannot use keyword
* 2, cannot start with a number
# # #01.23_java Language Foundation (common naming conventions in identifiers) (learn)
* See the meaning of the name
* A: Package
* Preferably the domain name upside down, requires all the letters lowercase
* B: Class or interface
* If the first letter of a word is capitalized
* If it is more than one word, capitalize each word first (hump mark)
* C: Method or Variable
* If it is a word all lowercase
* If multiple words, capitalize from the first letter of the second word
* D: constant
* If it is a word, all letters capitalized
* If there are multiple words, all the words are capitalized, each word is distinguished by an underscore
# # #01.24_DAY01 Summary
* Summarize today's knowledge points.
Java Foundation Work1