Computer Basics 1

Source: Internet
Author: User

1. The computer hardware is based on the operating system, and then the application software.

2. The Python language processes the operating system and then completes hardware usage through the operating system.

3. Memory: data cannot be stored permanently, but the speed is fast.

Hard Disk: permanent data storage, but slow

4. The operating system and application software are stored in the hard disk, and some programs of the operating system directly enter the memory upon startup.

After the computer is running, the hard disk sends the data to the memory, and the CPU reads the data from the memory for calculation.

5. Python execution methods

(1) Add the python file path to the python Interpreter

(2) Go to the python interpreter and input and obtain the execution result in real time.

6. Differences between advanced and low-level languages:

Advanced Language: simple development and low execution efficiency (dependent on the C language)

Low-level language: C language and assembly language; complicated development and high execution efficiency

PHP: mainly write website pages

Java: higher execution efficiency than pyhon

Python: faster development efficiency than Java

In actual operation, the execution efficiency of different languages is slightly different. The main influencing factors include database and program optimization.

7. interpreter path

#! /User/binn/ENV python is used in the Linux system, and the path of Python written at the beginning of the program

8. Encoding

#-*-Coding: utf8-*-encoding method

Computer Basics 1

Related Article

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.