2017-2018-1 20155332 《信息安全系统设计基础》第3周学习总结
来源:互联网 发布:中美抗苏 知乎 编辑:程序博客网 时间:2024/06/06 01:22
# 2017-2018-1 20155332 《信息安全系统设计基础》第3周学习总结
教材学习内容总结
计算机系统是由硬件和软件组成的,它们共同协作以运行应用程序。
计算机内部的信息被表示为一组组的位,它们依据上下文有不同的解释方式。所以,信息=位+上下文。
程序被其他程序翻译成不同的形式,开始时是ASCII文本,然后被编译器和连接器翻译成二进制可执行文件。main.c——main.i——main.s——main.o——可执行文件
处理器读取并解释存放在主存里的二进制指令。因为计算机花费了大量的时间再内存,I/O设备和CPU寄存器之间复制数据,所以将系统中的存储设备划分成层次结构
- CPU寄存器、多层的硬件高速缓存存储器、DRAM主存和磁盘存储器。
- 在层次模型中,位于更高层的存储设备要更快,单位比特造价也越高。
- 操作系统内核是应用程序和硬件之间的媒介。它提供三个基本的抽象:
- 文件是对I/O设备的抽象
- 虚拟内存是对主存和磁盘的抽象
- 进程是处理器、主存和I/O设备的抽象
教材学习中的问题和解决过程
- 问题1:不理解Amdahl定律的推导过程
问题1解决方案:查阅维基百科
- Slatency is the theoretical speedup of the execution of the whole task;
- s is the speedup of the part of the task that benefits from improved system resources;
- p is the proportion of execution time that the part benefiting from improved resources originally occupied.
- Furthermore,
shows that the theoretical speedup of the execution of the whole task increases with the improvement of the resources of the system and that regardless of the magnitude of the improvement, the theoretical speedup is always limited by the part of the task that cannot benefit from the improvement.
Amdahl’s law applies only to the cases where the problem size is fixed. In practice, as more computing resources become available, they tend to get used on larger problems (larger datasets), and the time spent in the parallelizable part often grows much faster than the inherently serial work. In this case, Gustafson’s law gives a less pessimistic and more realistic assessment of the parallel performance.
- 推导过程参阅[Amdahl’s law]
代码调试中的问题和解决过程
- 问题1:编译运行hello.c
问题1解决方案:
vi hello.c
预处理:gcc –E hello.c –o hello.i;gcc –E调用cpp
编 译:gcc –S hello.i –o hello.s;gcc –S调用ccl
汇 编:gcc –c hello.s –o hello.o;gcc -c 调用as
链 接:gcc hello.o –o hello ;gcc -o 调用ld./a.out
代码托管
主要是暑假做ACM竞赛时写的代码。
本周结对学习情况
- 尚未结对
其他(感悟、思考等,可选)
xxx
xxx
学习进度条
尝试一下记录「计划学习时间」和「实际学习时间」,到期末看看能不能改进自己的计划能力。这个工作学习中很重要,也很有用。
耗时估计的公式
:Y=X+X/N ,Y=X-X/N,训练次数多了,X、Y就接近了。
参考:软件工程软件的估计为什么这么难,软件工程 估计方法
计划学习时间:2小时
实际学习时间:2小时
改进情况:无
(有空多看看现代软件工程 课件
软件工程师能力自我评价表)
参考资料
- 《深入理解计算机系统V3》学习指导
- 2017-2018-1 20155332 《信息安全系统设计基础》第3周学习总结
- 信息安全学习总结(1):基本概念
- 信息安全第三节课总结
- 网络信息安全学习平台---注入关第3题
- 信息安全数学基础 第一篇-数论基础-第一章 整除
- 信息安全概论总结-3
- 信息安全概论总结-1
- 信息安全学习总结(2):加密算法
- 信息安全快讯2017年8月第1期
- 信息安全学习笔记(3)
- 信息安全学习笔记(1)
- 信息安全学习日记1
- PHP安全基础学习与总结
- 密码学基础-用于信息安全(1)
- 设计模式--基础学习总结
- 设计模式--基础学习总结
- 设计模式--基础学习总结
- 网络信息安全基础
- IDE创建JavaWeb项目
- 【Linux学习之路】——在虚拟机VirtualBox上安装CentOS 7.x
- PHP将8字节ASCII码数据表示转化成浮点数值
- 将项目打成war包
- Ctrip App 启动流程
- 2017-2018-1 20155332 《信息安全系统设计基础》第3周学习总结
- ThreadLocal使用介绍
- leetcode003-Kth Largest Element in an Array
- 整数划分
- 使用PHP强制下载PDF文件
- 1000的阶乘
- 梯度下降法
- java并发编程学习9--同步器--倒计时门栓
- The realization of a simple single linked list【1.6】