北京科技大学2015年C++期末考试复习资料
- 格式:ppt
- 大小:938.50 KB
- 文档页数:23
一、名词解释1、Cache 2:1 经验规则:大小为N的直接映像Cache的失效率约等于大小为N/2的两路组相联Cache的失效率。
2、计算机体系结构:指那些对程序员可见的系统属性,还包括设计思想与体系结构。
3、同构型多处理机:由多个同类型,至少担负同等功能的处理机组成,同时处理同一作业中能并行执行的多个任务。
4、通道处理机:能够执行有限I/O指令,并且能够被多台外围设备共享的小型DMA专用处理机。
5、堆栈型机器:其CPU中存储操作数的主要单元是堆栈。
6、Victim Cache:在Cache与下一级存储器的数据通路之间增设一个全相联的小Cache,用来存放由于失效而被丢弃(替换)的那些块。
7、RAID:廉价磁盘冗余阵列或独立磁盘冗余阵列8、累加器型机器:其CPU中存储操作数的主要单元是累加器9、透明性:在计算机技术中,对本来存在的事物或属性,但从某种角度看又好象不存在的概念称为透明性。
10、向量处理机:面向向量型并行计算,以流水线结构为主的并行处理计算机。
11、通用寄存器型机器:CPU中存储操作数的主要单元是通用寄存器。
12、虚拟Cache:访问Cache的索引和标识都是虚拟地址的一部分。
13、机群:机群是一种价格低廉、易于构建、可扩放性极强的并行计算机系统。
它由多台同构或异构的独立计算机通过高性能网络或局域网互连在一起,协同完成特定的并行计算任务。
从用户的角度来看,机群就是一个单一、集中的计算资源。
14、定向技术:当流水线中出现数据冲突时,可以将计算结果从其产生的地方直接送到其他指令中需要它的地方,或所有需要它的功能单元,避免暂停。
15、系列机:由同一厂家生产的具有相同的系统结构,但具有不同组成和实现的一系列不同型号的机器。
16、强制性失效:当第一次访问一个块时,该块不在Cache中,需从下一级存储器中调入Cache,这就是强制性失效。
17、失效率:CPU在第一级存储器中找不到所需数据的概率。
2015-2016-1-概率统计-北科大A 卷北京科技大学2015—2016学年度第一学期 概率论与数理统计 试题答案及评分标准一.填空题(每小题3分,共15分)1. 设事件A 和B 中至少发生一个的概率为56,A 和B 中有且仅有一个发生的概率为23,那么A 和B 同时发生的概率为 。
2. 从1,2,3,4中任取一个数记为X ,再从1,,X中任取一个数记为Y ,则{}2P Y == 。
3. 设An 是n 次独立试验中事件A 发生的次数,p 是事件A在每次试验中发生的概率,则对于任意的0ε>,lim A n n P p n ε→+∞⎧⎫-≥=⎨⎬⎩⎭。
4. 设X 服从区间[]0,θ(0θ>)上的均匀分布,12,,,nX X X 是来自该总体的样本,则θ的矩估计量θ=。
5.设12,,,,1,n X X X n >是来自正态总体()2,N μσ的样本,1111n i ii X X k -+==-∑σ为总体参数σ的无偏估计量,则k =.填空题答案:1.16 2.13483.04.2X 21n π-二.选择题(每小题3分,共15分)1.设()()()0.6,0.8,0.8P A P B P B A ===,则下列结论中正确的是 。
(A )事件,A B 互不相容(B )事件,A B 互逆(C )事件,A B 互相独立 (D )A B ⊃2.设,X Y 是两个随机变量,则下列命题正确的是 。
(A ),X Y 不相关⇒,X Y 不相互独立 (B ),X Y 相互独立⇒,X Y 不相关 (C ),X Y 不相关⇒,X Y 相互独立 (D ),X Y 相关⇒,X Y 相互独立3. 设,X Y 是相互独立的随机变量,其分布函数分别为()X F x 和()Y F y ,则{}max ,Z X Y =的分布函数是 。
(A )()()(){}max ,zXY F z Fz F z =(B )()()()z XY F z Fz F z = (C )()()(){}max ,zXY F z F z F z =(D )()()zXF z Fz =4. 设总体()2,X N μσ,μ与2σ均未知,123,,X X X 是一个样本,则非统计量的是 。
C++程序设计实践_北京科技大学中国大学mooc课后章节答案期末考试题库2023年1.Raptor流程通过拖动顺序、选择、循环、赋值等流程图框进行算法描述,能够根据输入数据得到运行结果吗?答案:可以,只要raptor流程图正确描述了算法,九能够根据输入执行得到正确结果2.Hanoi塔问题,现要求将塔座A上的所有圆盘移到塔座B上,并仍按同样顺序叠置,移动圆盘时遵守Hanoi塔问题的移动规则,由此设计出解Hanoi塔问题的递归算法正确的是()答案:void Hanoi(int n, int A,int B,int C){ if(n>0){ Hanoi (n-1,A,C,B);Move(n,a,b); Hanoi(n-1,C,B,A);} }3.在寻找n个元素中第k小元素问题中,如快速排序算法思想,运用分治算法对n个元素进行划分,如何选择划分基准?下面()答案解释最合理。
答案:以上皆可行,但不同方法,算法复杂度上界可能不同4.使用分治法求解不需要满足的条件是( )。
答案:子问题必须是一样的5.实现合并排序利用的算法是( )答案:分治策略6.求递归次数,请问当调用f(10)时, f() 被调用()次?int f(int x) { if(x <= 2) return1; returnf(x - 2) + f(x -4) + 1; }答案:157.设计模式一般用来解决什么样的问题( )答案:同一问题的不同表相8.关于继承表述错误的是:()答案:继承本质上是“白盒复用”,对父类的修改,不会影响到子类。
9.应用设计模式的一个优点是【】。
答案:适应需求变化10.某公司欲开发一个软件系统的在线文档帮助系统,用户可以在任何一个查询上下文中输入查询关键字,如果当前查询环境下没有相关内容,则系统会将查询按照一定的顺序转发给其他查询环境。
基于上述需求,采用【】最为合适。
答案:责任链模式11.已知int a[10] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }, *p = a;,不能表示数组a中元素的式子是()。
装 订 线 内 不 得 答 题自觉遵 守考 试 规 则,诚 信 考 试,绝 不作 弊(A) 空或只有一个结点 (B) 高度等于其结点数(C) 任一结点无左孩子 (D) 任一结点无右孩子6.一趟排序结束后不一定能够选出一个元素放在其最终位置上的是( )。
(A) 堆排序 (B) 冒泡排序 (C) 快速排序 (D) 希尔排序7.设某棵二叉树中只有度数为0和度数为2的结点且度数为0的结点数为n,则这棵二叉中共有()个结点。
(A) 2n (B) n+l (C) 2n-1 (D) 2n+l8.顺序查找不论在顺序线性表中还是在链式线性表中的时间复杂度为( )。
(A) O(n) (B) O(n2) (C) O(n1/2) (D) O(1og2n)9. 下列程序段的时间复杂度为()。
i=0,s=0; while (s<n) {s=s+i;i++;}(A) O(n1/2) (B) O(n1/3) (C) O(n) (D) O(n2)10. 深度为k的完全二叉树中最少有( )个结点。
(A) 2k-1-1 (B) 2k-1 (C) 2k-1+1 (D) 2k-111.设指针变量front表示链式队列的队头指针,指针变量rear表示链式队列的队尾指针,指针变量s指向将要入队列的结点X,则入队列的操作序列为( )。
(A) front->next=s;front=s; (B) s->next=rear;rear=s;(C) rear->next=s;rear=s; (D) s->next=front;front=s;12.设某无向图中有n个顶点e条边,则建立该图邻接表的时间复杂度为( )。
(A) O(n+e) (B) O(n2) (C) O(ne) (D) O(n3)13.设某哈夫曼树中有199个结点,则该哈夫曼树中有( )个叶子结点。
(A) 99 (B) 100 (C) 101 (D) 10214.设无向图G中的边的集合E={(a,b),(a,e),(a,c),(b,e),(e,d),(d,f),(f,c)},则从顶点a出发进行深度优先遍历可以得到的一种顶点序列为()。
2014 年大学 C++期末考试题库一、单选题:1.能作为 C++程序的基本单位是 ( C ) 。
A.字符B.语句C.函数D.源程序文件2.程序中主函数的名字为( A )。
A. mainB. MAINC. MainD.任意标识符3.关于 C++与 C 语言的关系的描述中,( D)是错误的。
A. C语言是C++的一个子集;B. C语言与C++是兼容的;C. C++对C语言进行了一些改进;D. C++ 和 C语言都是面向对象的4.可用作C++语言用户标识符的一组标识符是( B) 。
A. void define +WORDB. a3_b3 _123 YNC. for-abc CaseD. 2a DO sizeof5.存储以下数据,占用存储字节最多的是(D)。
A. 0B.‘ 0’C.“ 0”D. 0.06.设 int a=12;则执行完语句a+=a*a ;后, a 的值是 ( C )。
A. 12B. 144C. 156D. 2887.假设在程序中 a 、 b、c 均被定义成整型,所赋的值都大于1,则下列能正确表示代数式1的表达式是 (D) 。
abcA. 1.0/a*b*cB. 1/(a*b*c)C. 1/a/b/(float)cD. 1.0/a/b/c8.以下说法中正确的是( B)。
A.C++程序总是从第一个定义的函数开始执行B.C++程序总是从main函数开始执行C.C++函数必须有返回值,否则不能使用函数D.C++程序中有调用关系的所有函数必须放在同一个程序文件中9.下面有关构造函数的描述中,正确的是( B )。
A.构造函数可以带有返回值B.构造函数的名字与类名完全相同C.构造函数必须带有参数D.构造函数必须定义,不能缺省10.10.在声明类时,下面的说法正确的是()。
A.可以在类的声明中给数据成员赋初值B.数据成员的数据类型可以是registerC.private ,public , protected 可以按任意顺序出现D.没有用 private ,public , protected 定义的数据成员是公有成员11. 在下面有关析构函数特征的描述中,正确的是(A)。
北京科技大学土木与环境工程学院地质学2003——2010工程流体力学2003——2005,2007——2010结构力学2004,2007——2010安全原理2008——2010生物化学2005岩石力学2000——2005,2007——2010晶体光学2004——2006,2008——2010普通化学2006——2010普通化学(A)2004——2005结晶学及矿物学2003——2005,2008材料力学2003(注:试卷上面标注的是:材料加工工程专业)材料力学B 2004——2005(注:试卷上面标注的是:材料加工工程、材料科学与工程专业)材料力学2003(注:试卷上面标注的是:车辆工程、机械制造及自动化、机械电子工程、机械设计及理论、固体力学专业)材料力学C 2010(注:试卷上面标注的是:车辆工程、物流工程、机械工程专业)材料力学C 2004——2008(注:试卷上面标注的是:车辆工程、机械制造及自动化、机械电子工程、机械设计及理论、机械工程、物流工程、机械装备及控制专业)材料力学D 2004——2005,2007——2010(注:试卷上面标注的是:固体力学专业)电工技术2003——2005,2008——2010化工原理2003——2005普通地质学2003,2005,2007,2010流体力学2003——2008水处理原理2003——2010钢筋混凝土结构2003——2005工程地质学2003——2005微生物学A 2008——2010微生物学B 2008——2010微生物学2007环境微生物学2004——2005环境规划与管理2007——2010有机化学A(分析化学专业)2004有机化学(分析化学专业)2005有机化学(生物化工、环境科学专业)2004有机化学(生物化工专业)2003有机化学B(生物化工、环境科学、环境工程专业)2005有机化学(B)(化学专业)2010有机化学(B)(分析化学、无机化学、有机化学、物理化学专业)2007——2008 建筑材料学2004——2005矿床学2003——2004矿山岩石力学2007——2010浮选原理2008——2010土力学2004——2005土力学与地基基础2003液压与液力传动2003——2005环境学2004——2005单考数学2003——2004,2008——2010单考俄语2008——2010单考英语2008——2010单考政治2008——2010冶金与生态工程学院传输原理2003——2010冶金物理化学2003——2010普通生态学2006——2010普通物理2008——2010普通物理(A)2004——2005普通化学2006——2010普通化学(A)2004——2005物理化学(A)2003——2010物理化学(B)2005——2010综合科技史2003——2010文物保护基础2004——2006,2008——2010中国古代史2004——2010社会学理论2010社会学2003——2008材料力学2003(注:试卷上面标注的是:材料加工工程专业)材料力学B 2004——2005(注:试卷上面标注的是:材料加工工程、材料科学与工程专业)材料力学2003(注:试卷上面标注的是:车辆工程、机械制造及自动化、机械电子工程、机械设计及理论、固体力学专业)材料力学C 2010(注:试卷上面标注的是:车辆工程、物流工程、机械工程专业)材料力学C 2004——2008(注:试卷上面标注的是:车辆工程、机械制造及自动化、机械电子工程、机械设计及理论、机械工程、物流工程、机械装备及控制专业)材料力学D 2004——2005,2007——2010(注:试卷上面标注的是:固体力学专业)钢筋混凝土结构2003——2005微生物学A 2008——2010微生物学B 2008——2010微生物学2007环境微生物学2004——2005生物化学2005统计物理2003——2005,2010单考数学2003——2004,2008——2010单考俄语2008——2010单考英语2008——2010单考政治2008——2010材料科学与工程学院物理化学(A)2003——2010物理化学(B)2005——2010材料化学2005金属学2003——2005,2007——2010材料力学2003(注:试卷上面标注的是:材料加工工程专业)材料力学B 2004——2005(注:试卷上面标注的是:材料加工工程、材料科学与工程专业)材料力学2003(注:试卷上面标注的是:车辆工程、机械制造及自动化、机械电子工程、机械设计及理论、固体力学专业)材料力学C 2010(注:试卷上面标注的是:车辆工程、物流工程、机械工程专业)材料力学C 2004——2008(注:试卷上面标注的是:车辆工程、机械制造及自动化、机械电子工程、机械设计及理论、机械工程、物流工程、机械装备及控制专业)材料力学D 2004——2005,2007——2010(注:试卷上面标注的是:固体力学专业)钢筋混凝土结构2003——2005统计物理2003——2005,2010传输原理2003——2010冶金物理化学2003——2010普通化学2006——2010普通化学(A)2004——2005综合科技史2003——2010文物保护基础2004——2006,2008——2010社会学理论2010社会学2003——2008设计基础2004——2006,2008——2010设计理论2004——2010传热学2003——2005,2007——2010工程热力学2003——2005,2007——2010生产运作与管理2003——2004现代生产管理2005,2007——2010电路及数字电子技术2003——2010通信原理2004——2010计算机组成原理及数据结构2006——2008计算机组成原理2003计算机组成原理及计算机网络2004——2005计算机组成原理及计算机系统结构2004——2005数据结构1999——2000,2003(2003有答案)数据结构及软件工程2004——2005高等代数2003——2010数学分析2004——2010常微分方程2003——2005概率统计2004——2005概率与数理统计2003——2005普通物理2008——2010普通物理(A)2004——2005固体物理2007——2010固体物理(A)2003——2005量子力学2007——2010量子力学(B)2003——2005(2004有答案)热力学与统计物理(B)2003——2005基础化学2003——2005无机化学2003——2010有机化学A(分析化学专业)2004有机化学(分析化学专业)2005有机化学(生物化工、环境科学专业)2004有机化学(生物化工专业)2003有机化学B(生物化工、环境科学、环境工程专业)2005有机化学(B)(化学专业)2010有机化学(B)(分析化学、无机化学、有机化学、物理化学专业)2007——2008 综合化学(含有机化学、分析化学)2004模拟电子技术与数字电子技术基础2004——2010(注:2007年试卷共4页,缺P4)理论力学(A)2005,2007——2010理论力学(B)2003——2005微生物学A 2008——2010微生物学B 2008——2010微生物学2007环境微生物学2004——2005单考数学2003——2004,2008——2010单考俄语2008——2010单考英语2008——2010单考政治2008——2010机械工程学院设计基础2004——2006,2008——2010设计理论2004——2010材料力学2003(注:试卷上面标注的是:材料加工工程专业)材料力学B 2004——2005(注:试卷上面标注的是:材料加工工程、材料科学与工程专业)材料力学2003(注:试卷上面标注的是:车辆工程、机械制造及自动化、机械电子工程、机械设计及理论、固体力学专业)材料力学C 2010(注:试卷上面标注的是:车辆工程、物流工程、机械工程专业)材料力学C 2004——2008(注:试卷上面标注的是:车辆工程、机械制造及自动化、机械电子工程、机械设计及理论、机械工程、物流工程、机械装备及控制专业)材料力学D 2004——2005,2007——2010(注:试卷上面标注的是:固体力学专业)理论力学(A)2005,2007——2010理论力学(B)2003——2005传热学2003——2005,2007——2010工程热力学2003——2005,2007——2010工程流体力学2003——2005,2007——2010生产运作与管理2003——2004现代生产管理2005,2007——2010单考数学2003——2004,2008——2010单考俄语2008——2010单考英语2008——2010单考政治2008——2010信息工程学院自动检测技术2007——2010电路及数字电子技术2003——2010通信原理2004——2010概率统计2004——2005计算机组成原理及数据结构2006——2008计算机组成原理2003计算机组成原理及计算机网络2004——2005计算机组成原理及计算机系统结构2004——2005数据结构1999——2000,2003(2003有答案)数据结构及软件工程2004——2005信号系统与数字电路2008——2010单考数学2003——2004,2008——2010单考俄语2008——2010单考英语2008——2010单考政治2008——2010经济管理学院管理学与经济学基础2006——2010(注:2006年缺页)管理学原理2004——2010(2004——2005有答案)数据库原理与管理系统2003单考数学2003——2004,2008——2010单考俄语2008——2010单考英语2008——2010单考政治2008——2010应用科学学院高等代数2003——2010数学分析2004——2010常微分方程2003——2005概率统计2004——2005概率与数理统计2003——2005普通物理2008——2010普通物理(A)2004——2005固体物理2007——2010固体物理(A)2003——2005量子力学2007——2010量子力学(B)2003——2005(2004有答案)热力学与统计物理(B)2003——2005基础化学2003——2005无机化学2003——2010分析化学2006——2010物理化学(A)2003——2010物理化学(B)2005——2010有机化学A(分析化学专业)2004有机化学(分析化学专业)2005有机化学(生物化工、环境科学专业)2004有机化学(生物化工专业)2003有机化学B(生物化工、环境科学、环境工程专业)2005有机化学(B)(化学专业)2010有机化学(B)(分析化学、无机化学、有机化学、物理化学专业)2007——2008 综合化学(含有机化学、分析化学)2004模拟电子技术与数字电子技术基础2004——2010(注:2007年试卷共4页,缺P4)材料力学2003(注:试卷上面标注的是:材料加工工程专业)材料力学B 2004——2005(注:试卷上面标注的是:材料加工工程、材料科学与工程专业)材料力学2003(注:试卷上面标注的是:车辆工程、机械制造及自动化、机械电子工程、机械设计及理论、固体力学专业)材料力学C 2010(注:试卷上面标注的是:车辆工程、物流工程、机械工程专业)材料力学C 2004——2008(注:试卷上面标注的是:车辆工程、机械制造及自动化、机械电子工程、机械设计及理论、机械工程、物流工程、机械装备及控制专业)材料力学D 2004——2005,2007——2010(注:试卷上面标注的是:固体力学专业)理论力学(A)2005,2007——2010理论力学(B)2003——2005生物化学与分子生物学2008——2010细胞生物学2007——2010微生物学A 2008——2010微生物学B 2008——2010微生物学2007环境微生物学2004——2005运筹学2007——2008单考数学2003——2004,2008——2010单考俄语2008——2010单考英语2008——2010单考政治2008——2010文法学院文学原理2010中国语言文学2010民法学2004——2010综合考试(民商法学、经济法学专业)2005——2010合同法2004民事诉讼法2004知识产权法2004社会学研究方法2007——2010社会学理论2010社会学2003——2008马克思主义哲学原理2007——2010马克思主义政治经济学原理2007——2010文艺美学2004文艺学原理2004——2005,2007——2008中国文论史2005,2007——2008历史唯物主义2004——2005思想政治教育原理2003——2010科学技术史2007——2010科学技术概论2007——2010现代科学技术概论2005综合科技史2003——2010行政管理学2003——2010政治经济学2003——2005教育史2005(2005有答案)普通教育学2003——2005,2007——2010(2004——2005有答案)管理学原理2004——2010(2004——2005有答案)普通心理学2003——2005,2007——2010计算机基础2003——2005,2007——2010教育学专业基础综合(全国统考试卷)2007——2008单考数学2003——2004,2008——2010单考俄语2008——2010单考英语2008——2010单考政治2008——2010外国语学院二外法语2004——2010二外日语2004——2010二外俄语2004——2010二外德语2004——2008综合英语2003——2006,2008——2010基础英语2004——2010新金属材料国家重点实验室物理化学(A)2003——2010物理化学(B)2005——2010金属学2003——2005,2007——2010材料力学2003(注:试卷上面标注的是:材料加工工程专业)材料力学B 2004——2005(注:试卷上面标注的是:材料加工工程、材料科学与工程专业)材料力学2003(注:试卷上面标注的是:车辆工程、机械制造及自动化、机械电子工程、机械设计及理论、固体力学专业)材料力学C 2010(注:试卷上面标注的是:车辆工程、物流工程、机械工程专业)材料力学C 2004——2008(注:试卷上面标注的是:车辆工程、机械制造及自动化、机械电子工程、机械设计及理论、机械工程、物流工程、机械装备及控制专业)材料力学D 2004——2005,2007——2010(注:试卷上面标注的是:固体力学专业)钢筋混凝土结构2003——2005单考数学2003——2004,2008——2010单考俄语2008——2010单考英语2008——2010单考政治2008——2010下面是余秋雨经典励志语录,欢迎阅读。
北京科技大学网络教育入学考试专升本大学英语模拟题及答案C大学英语复习题C一、阅读理解(20%)Passage 1A very strange old man used to live in our town. He didn’t do anything as the rest of people did. He lived alone and didn’t talk to anybody. He liked to walk in the woods where there were no roads, following the narrow paths made by animals. People were afraid of him. They thought he was crazy and might do something terrible, like hurting one of the children.One day a little boy disappeared. His parents looked for him for hours, and finally the whole town started a search of the woods. Some people thought the strange old man had taken the child away.Several hours later, the boy was found, very cold and hungry, and it was the old man, who knew the woods so well, who had found him. After that, he still lived alone and walked in the woods, but no one was afraid of him any more.1.The old man was very strange because ____.A.he liked to live aloneB.people didn’t like him and were afraid of himC.he liked to walk in the woods without roadsD.he didn’t do anything as the others did2.What kind of person would you say the old man was?A.He was not happy because people didn’t understand him.B.He was kind enough though very strange.C.He was a person who remained puzzling after much thought.D.He was expert at the study of the woods.3.Which of the following statements is true?A.The old man had nobody to talk to.B.The old man took the child away and then sent him back.C.The old man wouldn’t change his way of life.D.What some people thought about was partly right.4.“They thought he was crazy and might do something terrible …”, “crazy” here means ___.A. foolishB. madC. hopelessD. cruel5.What can we learn from the passage?A.Don’t judge a person only by his looks.B.People need understanding.C.Conditions can change a man.D.Anyone has his strong points and shortcomings.Passage 2The office has always been a place to get ahead. Unfortunately, it is also a place where a lot of natural resources start to fall behind. Take a look around next time you’re at work. See how many lights are left on when people leave.See how much paper is being wasted. How much electricity is being used to run computers that are left on. Look at how much water is being wasted in the restrooms. And how much solid waste is being thrown out in the rubbish cans.Now, here are some simple ways you can produce less waste at work. When you are at the copier, only make the copies you need. Use both sides of the paper when writing something less important. Turn off your lights when you leave. Use a lower watt bulb in your lamp. Drink your coffee or tea out of your mugs instead of single-use cups. Set up a recycling box for cans and one for bottles. And when you’re in the bathroom brushing your teeth or washing your face, don’t let the tap run. Remember, if we use fewer resources today, we’ll save more for tomorrow.6. The main purpose of the passage is to tell people ___.A.the disadvantages of working in an officeB.the waste produced in an officeC.to save resources when working in an officeD.how to save water in a restroom7. How many kinds of waste are mentioned in the passage?A. TwoB. ThreeC. FourD. Five8. From the passage we can infer that in the office ___.ing computers is a waste of resourceB.many people don’t turn off the computers after using themputers are run by electricityD.a computer is not a must for working9. It is suggested that we use both sides of the paper at the copier because ___.A.we are short of paperB. the printing is not importantC. we should save paperD. we have to pay for the paper10. The underlined word “mugs” is most likely to be_____A.a machine that makes coffeeB. a container that can be used again and againC. a paper product for teaD. something that can only be found in an office二、单项选择(20%)11. The old lady suddenly heard a ___ cry outside her house in the middle of the night.A. aloudB. loudC. aloudlyD. loudly12. George feels very regretted that he has ___ such a mistake in public.A. doneB. manufacturedC. madeD. carried13. The man managed ___ the prison at last.A. to escapeB. escapeC. escapingD. in escaping14. The color of the sofa and the color of the curtain don’t quite ___.A. goB. suitC. fitD. match15. I don’t know exactly what he _____ by giving me a chance next Monday.A. saysB. meansC. sayingD. message16. I can’t remember that Tom has made any ___ of having seen her before.A.mentionB. memoryC. sayingD. message17. The people in this country are leading a ___ life because of the war.A. miseribleB. miserableC. painD. painful18. The salesman used all his ___ to persuade the customers to buy this new product.A. methodsB. mindsC. meansD. measures19. Would you mind ___ talking for a while?A. stopB. to stopC. to stoppingD. stopping20. He ___ his plane because he got up late this morning.A. losedB. lostC. missedD. mist21. My brother’s room is always in a ___.A. dirtB. messC. troubleD. untidiness22. They failed to carry ___ the task in time.A. outB. onC. upD. through23. The girl was so tired that she couldn’t catch ___ with her classmates.A. forB. inC. upD. to24. This book ___ seven parts.A. is consisted ofB. is consisted byC. consists ofD. consists by25. The secretary was very busy this morning and she ____ with16 letters altogether.A. madeB. didC. setD. dealt26. The scientist devotes all his life ___ this important problem.A. to studyB. to studyingC. studyingD. in studying27. It is known that smoking ___ great harm to people.A. makesB. producesC. doesD. gives28. The practice of children working in factories has nearly died___.A. outB. throughC. downD. in29. She was so concentrated ___ the novel that she didn’t notice the change of the weather outside.A. inB. withinC. onD. up30. Mother doesn’t know what causes her son ___ a good mood these days.A. inB. withinC. onD. to三、完型填空(10%)The price of hotels in Britain is going up 31_ at any other time since the war. There are a number of reasons for this but the _32_ all is the Government’s economic policy. Managers in factories see _33_ so they are attracted to the idea of owning _34 _ businesses _35_ Britain’s weather is often disappointing, the tourist industry is growing. Many people _36 _ like to combine a _37_ holiday with the opportunity of improving their English. It is therefore not surprising that businessmen are buying hotels. The only thing _38_ worries me is the kind of treatment their guests are 39_ to receive since _40 _ of them know anything about hotel management.31. A. more fast thanB. more fast thatC. faster thanD. faster that32. A. most important ofB. more important ofC. most important fromD. more important from33. A. to fall their standard of livingB. falling their standard of livingC. their standard of living to fallD. their standard of living falling34. A. his properB. his ownC. their properD. their own35. A. In spite ofB. AlthoughC. EvenD. However36. A. in the ContinentB. in the overse asC. abroadD. foreign37. A. fortnightB. fortnight’sC. two weeksD. two weeks’38. A. thatB. whatC. asD. who39. A. likeB. probableC. probablyD. likely40. A. littleB. at littleC. fewD. a few复习题C答案一、阅读理解(20%,共10题,每小题2分)1~5 DBCBA 6~10 CCBCB二、单项选择(20%,共20题,每小题1分)11~15 BCADB 16~20 ABCDC21~25 BACCD 26~30 BCACA三、完型填空(10%,共10题,每小题1分)31~35 CADDB 36~40 ABADC。
北京科技大学计算机组成原理本科生期末试卷及参考答案二十一、选择题(每小题1分,共10分)1.下列数中最小的数是______。
A.(100101)2B.(50)8C.(100010)BCDD.(625)162.从下面浮点运算器的描述中选出两个描述正确的句子______。
A.浮点运算器可用两个松散连接的定点运算部件—阶码部件和尾数部件。
B.阶码部件可实现加、减、乘、除四种运算。
C.阶码部件只进行阶码相加、相减和比较操作。
D.尾数部件只进行乘法和除法运算。
3.一个8位的二进制整数,若采用补码表示,且由3个“1”和5个“0”组成,则最小值为______。
A.-127B.-32C.-125D.-34.计算机经历了从器件角度划分的四代发展历程,但从系统结构上来看,至今绝大多数计算机仍属于______型计算机。
A.实时处理B.智能化C.并行D.冯.诺依曼5.在多级存储体系中,“cache—主存”结构的作用是解决______的问题。
A.主存容量不足B.主存与辅存速度不匹配C.辅存与CPU速度不匹配D.主存与CPU速度不匹配6.采用虚拟存贮器的主要目的是______。
A. 提高主存贮器的存取速度B. 扩大主存贮器的存贮空间,并能进行自动管理和调度C. 提高外存贮器的存取速度D. 扩大外存贮器的存贮空间7.以下四种类型指令中,执行时间最长的是______。
A.RR型指令B.RS型指令C.SS型指令D.程序控制指令8.在以下描述PCI总线的基本概念中,不正确的是______。
A.PCI总线是一个与处理器无关的高速外围总线B.PCI总线的基本传输机制是猝发式传送C.PCI设备一定是主设备D.系统中只允许有一条PCI总线9.CRT的分辨率为1024*1024像素,像素的颜色数为256,则刷新存储器的容量为______。
A.512KBB.1MBC.256KBD.2MB10.发生中断请求的条件是______。
A.一条指令执行结束B.一次I/O操作结束C.机器内部发生故障D.一次DMA操作结束二、填空题(每小题3分,共24分)1.在计算机术语中,将运算器、控制器、cache合在一起,称为A______,而将B______和存储器合在一起,成为C______。
that 装订线内不得答题自觉遵 守 考 试 规 则,诚 信 考 试,绝 不 作弊8. Which of the following is an example of exocentric compound?A. babysitterB. virus-sensitiveC. breakthroughD. maneating9. Which of the following meanings is not a term of Geoffrey Leech?A. Conceptual meaningB. Social meaningC. Lexical meaningD. Thematic meaning10. Since in the class animal we have both animal and human, animal can be called _____.A. superordinateB. hyponymC. auto-hyponymD. co-hyponym11. [ ] is used for _____.A. broad transcriptionB. narrow transcriptionC. phonetic transcriptionD. phonemic transcription12. Which of the following is not the focus of pragmatics?A. contextual meaningB. utterance meaningC. metaphorical meaningD. speaker meaning12. The distinction between competence and performance was proposed by _____.A. William JamesB. Noam ChomskyC. John SearleD. Paul Grice13. Which of following semantic change is known as zero-derivation?A. Broadening.B. Narrowing.C. Meaning shift.D. Class shift.14. Which of the following is described as “close front tense rounded vowel”?A. [i]B. [y]C. [e]D. [u]15. Which of the following are allophones in English?A. [p h] in peak and [p] in speakB. [p h] in pig and [b h] in bigC. [ ] in think and [ ] in theseD. [i:] in beat and [i] in bitII. Decide whether the following statements are true or false and write the answerbelow (1x 15):1. ____2. ____3. ____4. ____5. ____6. ____7. ____8. ____9. ____ 10. ____11. ____ 12. ____ 13. ____ 14. ____ 15. ____1.When dividing syllables, we normally put consonants in the coda position.2.Historical linguistics is a synchronic study of language.3.Since language is arbitrary, learners of a foreign language should pay more attention to thearbitrariness instead of the conventionality of the target language.mp is an example of anticipatory coarticulation.5.The only difference between /p/ and /k/ is that the former is a bilabial while the latter is avelar sound.6.The word “bridge” to mean a method of playing cards is an example of loanshift.7.If two words are synonymous, this means one can be used to replace the other in anycontext.8. By “cardinal vowels ”, we refer to a set of basic vowels in the received pronunciation ofBritish English.9. By “reflective meaning ”, Leech means what is communicated of the feelings and attitudesof the speaker / writer.10. The Chinese lines “枯藤老树昏鸦,小桥流水人家” stand as an typical example ofparatactic relation between sentences.11. Linguistic phenomena such as coordination and subordination, conjoining and embedding,hypotactic and paratactic, are all means to extend sentences.12. Linguistic units linked together by coordination are endocentric constructions while thoselinked by subordination are exocentric ones.13. Paradigmatic relation is a term used by Saussure to refer to the relation of substitutability.14. All the allomorphs should have the same sememe and should be in complementarydistribution.15. The distinction between free morpheme and bound morpheme is whether they can be addedto other morphemes to form words.III. Define the following terms (5x 6):1. root2. duality3.inflectional affix:4.blending装 订 线 内 不 得 答 题自觉遵 守考试规则,诚信考试,绝不 作弊5.metathesis6. langue1. Related to the design features of language, what does “A rose by any other name would smell as sweet” mean?2. Suppose you are considering X for a position that involves philosophical studies. Below is the recommendation letter written by X’s professor:Dear Sir,Mr X’s command of English is excellent, and his attendance at tutorials has been regular.Yours, etc.1)What maxim or maxims does the professor seem to flout?2)What implicature would you draw about X for this position?3)Why do you think the professor phrased the letter this way?V . What different types of antonyms can you specify? What are their characteristics? Please illustrate with examples (20):装 订 线 内 不 得 答 题 自觉遵 守 考 试 规 则,诚 信 考 试,绝 不 作 弊C卷北京科技大学2014 —2015 学年度第二学期语言学概论试题答案及评分标准I. (15分,每小题1分)1. D2. B3. C4. B5. C6. B7. B8. C9. C 10. C 11. C 12. C 12. B 13. D 14. D 15. AII. (15分,每小题1分)1. F2. F3. F4. F5. T6. T7. F8. F9. F 10. T 11. T 12. F 13. F 14. T 15. FIII. (30分,每小题5分)1. Root is the base form of a word that cannot be further analyzed without destroying its meaning. It is the part of the word that is left when all the affixes are removed.2. Duality refers to the property of having two levels of structures, such that units of the primary level are composed of elements of the secondary level and each of the two levels has its own principles of organization.3. Inflectional affixes are bound morphemes that are added to stems to add a minute or delicate grammatical function to the stem (2 points), which do not change the word class of the stem (2 points). For example, -es in teaches, -ing in teaching, etc (1 point).4. Blending is a way of forming new words, in which two words are blended by joining together the initial part of the first and the final part of the second word, or by joining only the initial parts of the two words.5. Metathesis is a process involving a change in the sequence of sounds. It was originally a performance error which was overlooked and accepted by the speech community.6. Langue refers to the language system shared by a speech community. It is a grammatical system that has a potential existence in each brain of a group of individuals.IV. (每小题10分,共20分)1. This sentence indicates the arbitrariness of language. By arbitrariness we mean there is no intrinsic relationship between a sound and the object it refers to in reality. That is to say, whether the flower is called rose or meigui, it doesn’t alter its nature. Or it can be called whatever sound the speech community has chosen to represent it.2. The professor seems to have flouted the maxim of quantity –he didn’t provide enoughinformation as required and relevance – the information he provides is not directly related to ability of philosophy studies. Then we can draw the implicature that X is not suitable for the position. The Professor worded the letter this way to avoid saying directly X is not good enough, to be polite at least at the surface level.V. (20分)There are three main sub-types: gradable antonymy, complementary antonymy, and converse antonymy. The commonest type is gradable antonyms, like good and bad, long and short, etc. They are gradable, in the sense that the members of a pair differ in terms of degree and they can have comparative and superlative forms. They are graded against different standards and there is usually a cover term for the pair of words involved. With complementary antonyms like dead and alive, male and female, the assertion of one is the denial of the other, the denial of one is the assertion of the other. They cannot be modified by “very” and they don’t have comparative or superlative forms. Converse antonyms are relational opposites. In this type of antonymy, the members of a pair do not constitute a positive-negative opposition. They show the reversal of a relationship between two entities, for example, up and down, teacher and student.。
C语言程序设计一、预备知识1.指令= 操作码(操作类型)+ 操作对象(操作数或存储单元地址)2.机器语言是设计计算机硬件时确定的。
3.高级语言源程序(.C——编辑器)——编译(编译程序——编译器)——机器语言目标程序(.OBJ)——连接(连接程序——将目标程序与标准库函数连接)——可执行程序(.EXE——Windows或DOS平台可直接执行)——运行——运行结果4.第四代语言将实际问题中处理的事物抽象成对象与对象之间的关系,而与该事物有关的数据及对数据的具体操作都与对象封装在一起。
5.提出问题——数据结构、算法——编制程序——输入程序——编译——调试和运行6.N-S结构图(方块图或盒图)处理框、判断框、当型循环框、直到型循环框(成立循环)7.结构化设计:自顶而下(分为多个功能模块)、逐步细化(每模块分为多个子模块)、模块化(对各模块编写程序)、结构化(只能由3种结构化语句实现——顺序、选择、循环,限制使用goto语句)8.32个关键字(数据类型:int、char、float、double、short、long、void、signed、unsigned、enum、struct、union、const、typedef、volatile;存储类别:auto、static、register、extern;语句命令字:break、case、continue、default、do、else、for、goto、if、return、switch、while;运算符:sizeof。
),9种控制语句,基本字符集(大小英文字母、数字、特殊字符、空白符——空格、换行、制表)9.取地址运算、位运算、指针运算可直接对硬件进行操作,实现汇编多数功能,通过参数传递实现对系统软件的底层调用。
10.函数= 函数首部(函数类型、函数名、参数名、参数类型)+ 函数体(变量定义——变量名和变量类型、可执行的操作语句)11.“;”是空语句,标识符(字母、下划线、数字)= 系统定义标识符(关键字、预定义标识符——库函数名和编译预处理命令)+ 用户定义标识符(字母或下划线开头,未规定长度)标识符用以标识程序中操作对象的名字。