计算机基本的硬件由:CPU / 内存 / 主板 / 硬盘 / 网卡 / 显卡 等组成,如果只有硬件,硬件之间无法进行交流和通信。
2 操作系统
操作系统用于协同或控制硬件之间进行工作,常见的操作系统有那些:
-
windows
-
xp
-
win7
-
win10
-
window server
-
linux 免费、开源
-
centos 【公司线上一般用】:图形化界面差
-
ubuntu :个人开发(图形化比较好)
-
redhat ,企业级
-
mac
3 解释器或编译器
编程语言的开发者写的一个工具,将用户写的代码转换成010101交给操作系统去执行。
下载解释器
-
python 2.7.16 (2020年官方不在维护)
-
python 3.6.8 (推荐)
3.1 解释和编译型语言
解释型语言就类似于: 实时翻译,代表:Python / PHP / Ruby / Perl
编译型语言类似于:说完之后,整体再进行翻译,代表:C / C++ / Java / Go ...
4 软件(应用程序)
软件又称为应用程序,就是我们在电脑上使用的工具,类似于:记事本 / 图片查看 / 游戏
5 进制
对于计算机而言无论是文件存储 / 网络传输数据本质上都是:二进制(010101010101),如:电脑上存储视频/图片/文件都是二进制; QQ/微信聊天发送的表情/文字/语言/视频 也全部都是二进制。
进制:
-
2进制,计算机内部。
-
8进制
-
10进制,人来进行使用一般情况下计算机可以获取10进制,然后再内部会自动转换成二进制并操作。
-
16进制,一般用于表示二进制(用更短的内容表示更多的数据),一般是:x 开头。
-