Basic computer learning Python

The first chapter basic computer

 

1.1 Hardware

The basic hardware from the computer: CPU / memory / motherboard / hard disk / card / graphics card and other components, only the hardware but can not communicate, and communication between the hardware

1.2 operating system

Synergy between the operating system for hardware or control work, common operating systems are:

  • windows

    • xp

    • win7

    • win10

    • windows server

  • linux

    • centos online companies generally use (poor patterning)

    • ubuntu personal development (graphical better)

    • redhat enterprise

  • mac office

1.3 interpreter or compiler

Programming language developers to write a tool that converts user-written code into 010101 to the operating system to perform

1.3.1 interpreted and compiled language

Interpreted language is similar: real-time translation, on behalf of: Python / PHP / Ruby / Perl

A compiled language like this: After finished, and then the whole translation representatives: C / C ++ / Java

1.4 software (applications)

Also known as application software that we use on computer tools, like: Notepad / picture viewing / game

1.5 hex

For a computer, whether it is a file stored / network transmission input are essentially: Binary (01010101), such as: storing video / image / computer files are binary; QQ expression / micro transmitted message chat / text / voice / video , but also all are binary.

 

Hex:

  • Binary: Internal computer

  • Octal

  • 10 hex: human beings use, the computer 10 can obtain the decimal Generally, internally and automatically converted into binary operations, and

  • Hex: generally used to represent a binary (represented more data with less content), generally: \ begin with x.

Binary Octal Decimal Hex
0 0 0 0
1 1 1 1
10 2 2 2
11 3 3 3
100 4 4 4
101 5 5 5
110 6 6 6
111 7 7 7
1000 10 8 8
1001 11 9 9
1010 12 10 a
1011 13 11 b
1100 14 12 c
1101 15 13 d
1110 16 14 e
1111 17 15 f
10000 20 16 10
10001 21 17 11
10010 22 18 12
10011 23 19 13
10100 24 20 14

1.6 learn programming language

  • Installation interpreter / compiler / virtual machine

  • Learning grammar

Guess you like

Origin www.cnblogs.com/duncan1863/p/11407414.html
Recommended