Introduction to basic computer knowledge is a very important subject for beginners. PHP editor Baicao has brought you a detailed introductory tutorial, which will explain everything from the basic concepts of computers to the use of operating systems to the installation and use of applications. If you want to learn basic computer knowledge, please read the following content carefully. I believe you will benefit a lot.
Introduction to basic computer knowledge
1. If you want to learn how to use a computer, you must first start by turning it on and off. The computer must be switched on and off in the correct method and sequence. When turning on the computer, first turn on the monitor, then press the power button on the host. To shut down the computer, on the contrary, you need to click the start menu with the mouse, and then click the shutdown button on the page that appears, that is, shut down through the software. You cannot directly press the power button on the host to shut down, because directly pressing the power button to shut down the computer will cause a sudden power outage of the hard disk, resulting in the loss of the hard disk system and data.
You can also shut down via keyboard shortcuts. That is, by pressing the Windows key + alt + F4 on the keyboard, you can bring up shutdown, and the computer will automatically shut down.
Learn to turn on and off the computer, and then learn how to operate the mouse and keyboard on the computer. Let’s talk about mouse operations first. Clicking the left mouse button is a selection. , click the left mouse button twice to select and confirm execution. The right button of the stand-alone mouse opens the menu of the selected folder. Once you understand this, you can operate the mouse.
The other thing is learning the keyboard. There is a lot to learn about the keyboard. First of all, you have to remember the functions of each key on the keyboard, remember the order of letters on the keyboard, learn the correct fingering typing, and learn a pinyin input method or a 5-stroke input method.
The next step is to learn how to use commonly used office software. Learn the office family, WPS software, Photoshop, etc.
In addition, you need to learn how to operate folders on your computer. Create new files, rename files, copy and paste files, save files, and other related file operations.
Basic computer knowledge includes the basic components of computer hardware and software, how to view computer configurations, interpretation of CPU models, concepts of operating systems, basic computer operations, computer inquiries, computer security knowledge, etc. 1. Beginners can first understand the basic components of a computer, including hardware parts such as monitors, hosts, keyboards, and mice, as well as software parts such as operating systems and application software.
After understanding the basic components of computer hardware and software, you can learn the specific hardware information of the computer by checking the computer configuration2. At the same time, beginners also need to understand the naming rules of CPU models in order to choose the CPU1 that suits their needs. In addition, you also need to learn basic computer operations, such as document editing, file management, etc., as well as master computer query and security knowledge to ensure the normal use and security of computers3.
1. Execute commands
In the process of drawing CAD drawings, there are many ways to execute commands. There are basically two ways. One is to enter the command first and then execute the operation; the other is to select the object first and then execute the command. Just like if you want to delete an object, enter the delete command first and then click the object; you can also select the object first and then enter the command. Both operations are possible.
2. Transparent commands
When drawing, the execution process of most commands is single, usually the execution ends or is canceled midway, but there are also some commands that can execute another command during the execution of one command. Order. For example, while you are executing command 1, you can execute command 2. After command 2 is executed, you can continue to execute command 1.
3. View drawings on the mobile terminal
Generally speaking, high-end operations such as drawing are performed on the computer. Usually, you need to view the drawn drawings. Turning on the computer is a bit overkill. A very small and fast CAD drawing viewing APP can be used. Quickly open CAD drawings in DWG, DXF and other formats. There is also a drawing sharing function to collect and download the drawings you need. The biggest highlight is that you can synchronize viewing of drawings on your mobile phone and computer with just one account.
4. Mouse operation
We all know that in Windows, the left mouse button is OK and the right button is selection; and in CAD drawing:
Left button: represents the selection function, and the drag operation is to hold down the left mouse button. Drag the mouse;
right button: represents the confirmation function, press the right button to indicate the end during continuous operation;
wheel: scroll key for zoom function, double-click the wheel to display all current graphics, press and hold the wheel, the mouse becomes a small hand that can be moved Screen.
5. Keyboard operation
When drawing, we cannot just use the mouse to cross over. The fastest way to enter commands is to use the keyboard. The basic common sense on the keyboard is as follows:
You can enter directly on the keyboard at any time Command and execute, no need to click somewhere and then enter the command;
It is too troublesome to enter the full name when entering the command, you can also enter the command abbreviation;
The space bar and the enter key are both used to execute the command. After you enter the command, press space or enter to execute it;
If you need to continue executing the previous command, you can press space directly without having to re-enter the command or select the button.
1. Function definition, function name, function body, and calling function definition syntax:
def function name ():
function body
Function call: Use the function name to call the function, writing method: Function name (), at this time the function body will be executed
2. Function return
After executing the function, you can use return to return the result to function name ().
The use of return in functions:
1) When the function encounters return, the function ends and execution will no longer continue.
2) Give the function caller (function name + ()) an access result
3. Parameters of the function
Parameters, the function specifies a specific value of a variable when it is called.
def function name (parameter list ):
Function body
Function name (parameter)
1) Formal parameters
The variables written at the position where the function is declared are called formal parameters. They are complete in form but the actual parameters must be given when calling
2) Actual parameters
The values passed to the function when the function is called are called actual parameters
3) Parameter passing
The process of passing the actual parameters to the formal parameters when passing information to the function is called parameter passing.
4-1) Positional parameters
means that when passing parameters to a function, values are passed in sequence
4-2) Default parameters
Definition: It means that when writing a function, you directly pass the default value to the parameter. When calling, the default parameters already have values, so there is no need to pass values.
Function: The biggest benefit is to reduce the difficulty of calling functions.
def power(m, n=3):
result=1
while n>0:
n=n-1
result=result*m
return result
# Call the function and output the result
print(power(4))
There are two things to note when setting default parameters:
First: the required parameters come first and the default parameters come last, otherwise the python interpreter will report an error.
Second: The default parameters must point to immutable objects! Point to an immutable object! Point to an immutable object!
(Note: Strings, numbers, and tuples in python can all be regarded as objects.)
Why should we design immutable objects like str and None? Because once an immutable object is created, the data inside the object cannot be modified, which reduces errors caused by modifying the data. In addition, since the object does not change, there is no need to lock when reading objects simultaneously in a multi-tasking environment, and there is no problem at all when reading simultaneously. When we write a program, if we can design an immutable object, then try to design it as an immutable object
4-3) Keyword parameters
Definition: Variable parameters allow you to pass in 0 or any number of parameters. These Variable parameters are automatically assembled into a tuple when the function is called.
Keyword parameters allow you to pass in 0 or any number of parameters with parameter names. These keyword parameters are automatically assembled into a dict inside the function. When calling a function, you can only pass in the required parameters:
Function: Extend the function of the function
Features: **kw
Classification of parameters:
From the perspective of actual parameters:
1. Positional parameters are as follows Positionally assign values to formal parameters
2. Keyword parameters are passed to functions according to the names of formal parameters
3. Mixed use: first write positional parameters, then write keyword parameters
Standing in formal parameter supervision:
1. Position Parameters
2. Default value If the parameter is given a value, it will get a value. If not, use the default value
5. What are the basic knowledge for getting started with computers?
1. Hardware composition: Understand the composition of computer hardware, including motherboard, CPU, memory, hard disk, graphics card, sound card, etc.
2. Operating system: Master the basic operations of computer operating system, including installation, upgrade, driver installation and system settings, etc.
3. Software applications: Learn computer software applications, including commonly used office software, entertainment software, security software, etc.
4. Network knowledge: Understand the basic knowledge of the network, including network types, network protocols, network security, etc.
5. Maintenance: Learn how to maintain your computer, including cleaning up junk files, updating drivers, cleaning hardware, etc.
The above is the detailed content of Getting started with computer basics?. For more information, please follow other related articles on the PHP Chinese website!