当前位置:网站首页>1.2(补充)
1.2(补充)
2022-06-30 06:12:00 【是李黏黏鸭】
一、地址
二、位(bit)
- 用小写的字母b表示;1bit、2bit......
三、字节(Byte)
- 用大写的字母B表示;例如1B、2B......
四、字、字长
- 32位的CPU,一次能处理32位的二进制(32bit是一个字),此时字长是32;
- 64位的CPU,一次能处理64位的二进制(64bit是一个字),此时字长是64;
- 如遇考题,需先找题干中是否明确告知CPU是多少位的,也就是字长是多少位的。
- 或者是否明确告知CPU是多少字的。
五、常用的单位(存储)

- n位二进制对应的表示编码的个数的计算公式:
六、考法1:直接考察相关概念

- 解析:1TB=210GB=220MB=230MB
七、考法2:计算机内存容量/芯片数量

1、辅助理解
- 假设一个仓库的大小是8个立方米(对应题中的字节),仓库从1开始编号(对应题中的A5000H),能编到4(对应题中的DCFFFH);那么我们这个仓库的容积是多少呢?(对应题中其存储量是多少)
- 那么只要仓库的编码个数,也就是仓库的的个数(4-1+1),再乘以一个仓库的容积,就可以得出这个仓库总得容积;
- 也就是[(4-1)+1]*8=32立方米;
注意:
求编码个数时,需要用最大编号减去最小编号,再加一;
因为编码时两端都有编码,用最大编码减去最小编码时相当于丢掉了最小编码,所以还需要加回来。
2、回归本题
- 每一个地址占一个字节;
- H表示16进制;
- 编码从A5000到DCFFF,编号个数为 (DCFFF+1)-A5000=48000H个 ((DCFFF-A5000)+1=48000H个);
- 48000H转二进制,就是将16进制的每一位数,通过四位二进制来表示,不够的从高位开始用0补齐,最后按照从左到右的顺序链接起来即可;所以48000H等于00111000000000000000B;
- 又因为1KB=210B,所以单位为B的二进制值去掉十个0,就是相应的单位为KB的二进制值;所以00111000000000000000B等于11100000KB;也就是1*28+1*27+1*26+=128+64+32=224;
- 所以这道题选D;

边栏推荐
- Common NPM install errors
- Wuenda coursera deep learning course
- 观察者模式、状态模式在实际工作中的使用
- Résoudre le problème de décompiler la compilation normale
- 数据读写:Unity中基于C#脚本实现数据读写功能
- Decompilation normal decompilation problems. Solve them yourself
- DOM (document object model) document XML file object model
- [database] transaction
- Set in set (III)
- Several commands not commonly used in MySQL
猜你喜欢
1.9 - Cache
Summation of basic exercise sequence of test questions
New project folder based on PIO plug-in in vscode -- Interpretation
Intelligent question - horse racing question
A complete performance test process
关注这场直播,了解能源行业双碳目标实现路径
01. 正则表达式概述
Learn fpga---ram IP core and key parameters from the bottom structure
1.6 - CPU组成
JS prototype chain object function relationship
随机推荐
Altium designer creates multiple class networks to realize different lineweights of multiple networks
[regular expression series] greedy and non greedy patterns
Several commands not commonly used in MySQL
Improve simulation speed during ROS and Px4 joint simulation
ES6数组遍历与ES5数组遍历
Data read / write: realize data read / write function based on C # script in unity
880. 索引处的解码字符串
反编译正常回编译出现问题自己解决办法
Idea run SQL file
One sentence introduction to Trojan horse
Set in set (III)
反編譯正常回編譯出現問題自己解决辦法
Title: enter two positive integers m and N to find their maximum common divisor and minimum common multiple
A small template (an abstract class, a complete process is written in a method, the uncertain part is written in the abstract method, and then the subclass inherits the abstract class, and the subclas
Spin official tutorial
Common mistakes daily practice 01
ini解析學習文檔
My experience in functional testing for so many years
46. full arrangement -dfs double hundred code
MySQL summary