黑龙江大学 本科自考(计算机软件)学位专业课--数据库--复习题(考试题库)

黑龙江大学 本科自考(计算机软件)学位专业课--数据库--复习题(考试题库)
黑龙江大学 本科自考(计算机软件)学位专业课--数据库--复习题(考试题库)

DB: Data base数据库

DBS: DataBase System数据库系统

DBMS: Database management system数据库管理系统

DDL定义数据库的语言

DBA数据库管理员

选择

1.数据库中数据的最小存取项。

C.数据项

2.数据管理系统常用建模有哪三种

C.层次,网状,关系

3.不属于数据库管理系统的管理软件是。

D.office

4.数据库管理系统经历过三个层次

C数据库

5.数据操纵语言有两种形式(宿主,自主)

6.数据应用的格式问题

A数据库设计

7.从关系R到关系S所做的运算是列投影

关系R到关系S'的运算时行选择

8ADO:动态数据连接库ADO的含义是

C动态链接库

SQL语言部分

使用用(order by)设置查询结果的肾虚

填空

1.(数据)是信息的物理符号

2.在关系环境中找出该街工称为(选择)

3核心DBMS

4.数据结构化原则的三种结构:选择,循环,(顺序)

5.利用SQL语言表达名称为图书表的所有记录应用(select * from 图书表)

6.Mid(“学生信息管理系统”,3,2)=信息

lift(“学生信息管理系统”,1,1)=学

right(“学生信息管理系统”,1,1)=统

7.Int(-3.25)= -4

8.在提供的数据操作定义管理语言中(定义语言)漠视定义与屋里存取构建

9.在关系数据库中(用来表示实体)关系的是关系模型。

10.在关系模型中,数据的逻辑结构是(一张二维表)它由行和列组成。

11.Create用来简历表结构并追加新的纪录。

运算题

一.已知关系模式学生(学号,姓名,性别,年龄,系别);选课(学号,课程号,成绩)1.查询处计算机系的男学生

6系别=“计算机”,性别=“男”(学生)

2.法学院,性别“女”

6系别=“法学”,性别=“女”(学生)

3查询选修课成为C2的学生姓名和学号

π学生.学号,学生.姓名(6课程号=‘C2’(学生口选课))4查询年龄在19到25岁包括19,25的学生学号年龄系别名称。

π学生.年龄,选课.系别(6 19≤年龄≤25 (学生))

简答

一描述数据模型的三要素

答数据结构,数据操作,数据约束条件

二.描述。DB,DBS,DBMS,OS三者的关系

DB: Data base数据库

DBS: DataBase System数据库系统

DBMS: Database management system数据库管理系统

数据库系统是由数据库和数据库管理系统组成的OS是操作系统,所有的数据库系统都是建立在操作系统之上的。

三.DDA的职责

答:DDA是数据库管理员

1.DDA应参与数据库和应用系统的设计。

2.DDA应参与决定数据库的存储结构和存储策略。

3.DDA要负责定义数据库的俺去昂性要求和完整性条件。

4.DDA应负责监事和控制数据库的管理运行,负责数据库的维护和恢复。

5.DDA负责数据库的改建和重组。

四.数据独立性

答:数据库中的数据定义和数据管理功能都有数据管理系统提供所以数据对应用程序的依赖就大大降低,数据和程序之间具有较高独立性。两个方面:物理独立性,逻辑独立性。

综合运用SQL操作

SQL 创建表Create() 删除Delete() 插入Insert() 更新Update

查询select __ from __ where __ group by __ order by __

题:

学生数据库包括三个基本表:

学生(学号,姓名,性别,系别)

课程(课程号,课程名,课时)

选课表(学号,课程好,成绩)

1查询选修C1课程的学生学好成绩结果降序排列,成绩相同按学好升序排列

Select 学生.学号,成绩from 学生,选课where 课程号="C1" Order by 成绩desc 学号asc 2.查询年龄19到25之间的学生年龄和系别。

Select 学号,年龄,系别from 学生from 年龄≥15 and 年龄≤25

3.查询计算机系的男生

Select * from 学生where 系别=“计算机”and 性别=“男”

4查询中文系,信息系姓李的学生

Select * from 学生where (姓名like "李*" and 系别="中文")

5描述下面SQL语句的意思

Select 姓名,性别,系别,from 学生where 性别=“女”and 系别in(“中文”“信息”) 从学生表中性别女中文系或信息系的姓名性别系别。

条件NOT 工负额>2000 的含义

除了工负额大于2000的所有记录

数据库期末考试习题及答案

2004-2005学年第二学期期末考试 C 2002级计算机科学与技术专业《数据库原理与应用》课程试题一、选择题(15分,每空1分): 1.在数据库中,产生数据不一致的根本原因是____。 A.数据存储量太大 B.没有严格保护数据 C.未对数据进行完整性控制 D.数据冗余 2.相对于其他数据管理技术,数据库系统有①、减少数据冗余、保持数据的一致性、②和③的特点。 ①A.数据统一 B.数据模块化 C.数据结构化 D.数据共享 ②A数据结构化 B.数据无独立性 C.数据统一管理 D.数据有独立性 ③A.使用专用文件 B.不使用专用文件 C.数据没有安全与完整性保障 D.数据有安全与完整性保障 3.关系运算中花费时间可能最长的运算是____。 A.投影 B.选择 C.笛卡尔积 D.除 4.关系数据库用①来表示实体之间的联系,关系的数学定义是②。 ①A.层次模型 B.网状模型 C.指针链 D.二维表格数据 ②A.若干域(domain)的集合 B.若干域的笛卡尔乘积(Cartesian product) C.若干域的笛卡尔乘积的子集 D.若干元组(tuple)的集合 5.集合R与S的连接可以用关系代数的5种基本运算表示为________。 A.R-(R-S) B.σ F (R×S) C.空 D.空 6.在关系代数中,对一个关系做投影操作后,新关系的元组个数____原来关系的元组个数。 A.小于 B.小于或等于 C.等于 D.大于 7.下列SQL语句中,创建关系表的是____。 A.ALTER B.CREATE C.UPDATE D.INSERT 8.关系数据库设计中的陷阱(pitfalls)是指________。 A.信息重复和不能表示特定信息 B.不该插入的数据被插入 C.应该删除的数据未被删除 D.应该插入的数据未被插入 9.数据库的____是为了保证由授权用户对数据库所做的修改不会影响数据一致性的损失。 A.安全性 B.完整性 C.并发控制 D.恢复 10.事务是数据库进行的基本工作单位。如果一个事务执行成功,则全部更新提交;如果一个事务

数据库期末试题附答案

《数据库原理》课程考试模拟题四 一、单项选择题(在每小题的四个备选答案中选出一个正确答案。本题共16分,每小题1分) 1. 在数据库中,下列说法()是不正确的。 A.数据库中没有数据冗余 B.数据库具有较高的数据独立性 C.数据库能为各种用户共享 D.数据库加强了数据保护 2. 按照传统的数据模型分类,数据库系统可以分为( )三种类型。 A.大型、中型和小型 B.西文、中文和兼容 C.层次、网状和关系 D.数据、图形和多媒体 3. 在数据库的三级模式结构中,( )是用户与数据库系统的接口,是用户用到的那部分数据的描述。 A.外模式 B.内模式 C.存储模式 D.模式 4. 下面选项中不是关系的基本特征的是( )。 A. 不同的列应有不同的数据类型 B. 不同的列应有不同的列名 C. 没有行序和列序 D. 没有重复元组 5. SQL语言具有两种使用方式,分别称为交互式SQL和( )。 A.提示式SQL B.多用户SQL C.嵌入式SQL D.解释式SQL 6. 设关系模式R(ABCD),F是R上成立的FD集,F={A→B,B→C},则(BD)+为( )。 A.BCD B.BC C.ABC D.C 7. E-R图是数据库设计的工具之一,它适用于建立数据库的( )。 A.概念模型 B.逻辑模型 C.结构模型 D.物理模型8. 若关系模式R(ABCD)已属于3NF,下列说法中( )是正确的。 A.它一定消除了插入和删除异常 B.仍存在一定的插入和删除异常C.一定属于BCNF D.A和C都是 9. 解决并发操作带来的数据不一致性普遍采用( )。 A.封锁技术 B.恢复技术 C.存取控制技术 D.协商 10. 数据库管理系统通常提供授权功能来控制不同用户访问数据的权限,这主要是为了实现数据库的( )。 A.可靠性 B.一致性 C.完整性 D.安全性 11. 一个事务一旦完成全部操作后,它对数据库的所有更新应永久地反映在数据库中,不会丢失。这是指事务的( ) 。 A. 原子性 B. 一致性 C. 隔离性 D. 持久性 12. 在数据库中,软件错误属于( )。

历年学位英语试题及答案

广东省学位英语历年真题及答案 - 百度文库 百度文库 搜索文档或关键词 普通分享 > 广东省学位英语历年真题及答案 VIP专享文档 2020-05-09 66页 用App免费查看 I. 会话技能15道15分15分钟 II. 阅读理解20道40分40分钟 III. 词汇和语法40道20分25分钟 IV. 完形填空10道10分10分钟 V . 短文写作100~120个词15分30分钟 考试总时间:120分钟 2011年广东学位英语考试试题及答案 PartⅠ Vocabulary and Structure (25 points, 30 minutes) Directions: There are 50 incomplete sentences in this part. For each sentence there are four choices marked A), B), C) and D). Choose the ONE answer that best completes the sentence. Then mark the corresponding letter on the Answer Sheet with a single line through the center. 1. By 1929, Mickey Mouse was as popular ____ children as Coca Cola. A) for B) with C) to D) in 2. When you buy anything expensive, never forget to ask for the ____ from the shop. A) receipt B) trust C) render D) tale 3. The financial support is decided not only according to your GRE score, but also according to your ____ in college. A) intelligence B) policy C) performance D) statement 4. Professor Smith is also the ____ of the international program office. If you have any problem when you study here, you may go to him for help. A) detective B) president C) manager D) director 5. We do not have a ____ school in our institute. The highest degree we provide for the students is a B. A. and a B. S. .

成人本科学位英语统一考试真题及答案

2017年11月北京成人学士学位英语考试真题及答案 Part I Reading Comprehension (30%) Directions: There are three passages In this part Each passage is followed by some questions or unfinished statements. For each of them there are four choices marked A, B, C and D. You should decide on the best choice and blacken the corresponding letter on the Answer Sheet. Passage 1 Questions 1 to 5 are based on the following passage: In 2014, older Americans fell 29 million times, leading to 7 million injuries, according to a report published last week. About million cases were treated in emergency department, and approximately 800,000 seniors went on to be hospitalized. More than 27,000 falls led to death. (76) And the problem is getting more and more serious. “Older adult falls are increas ing and, sadly, often indicate the end of independence,” said Dr. Tom Frieden. The fallsare preventable, Frieden stressed. He said individuals, families and health care providers can take steps to resist the trend.

数据库期末考试试题及答案

数据库期末考试试题及答案 一、选择题(每题1分,共20分) 1(在数据管理技术的发展过程中,经历了人工管理阶段、文件系统阶段和数据库系统阶段。 在这几个阶段中,数据独立性最高的是( A )阶段。 A. 数据库系统 B. 文件系统 C. 人工管理 D.数据项管理 2(数据库三级视图,反映了三种不同角度看待数据库的观点,用户眼中的数据库称为(D)。 A. 存储视图 B. 概念视图 C. 内部视图 D. 外部视图 3(数据库的概念模型独立于(A)。 A. 具体的机器和DBMS B. E-R图 C. 信息世界 D. 现实世界 4(数据库中,数据的物理独立性是指(C)。 A. 数据库与数据库管理系统的相互独立 B. 用户程序与DBMS的相互独立 C. 用户的应用程序与存储在磁盘上的数据库中的数据是相互独立的 D. 应用程序与数据库中数据的逻辑结构相互独立 5(关系模式的任何属性(A)。 A. 不可再分 B. 可再分 C. 命名在该关系模式中可以不惟一 D.以上都不是 6(下面的两个关系中,职工号和设备号分别为职工关系和设备关系的关键字: 职工(职工号,职工名,部门号,职务,工资) 设备(设备号,职工号,设备名,数量) 两个关系的属性中,存在一个外关键字为( C )。

A. 职工关系的“职工号” B. 职工关系的“设备号” C. 设备关系的“职工号” D. 设备关系的“设备号” 7(以下四个叙述中,哪一个不是对关系模式进行规范化的主要目的( C )。 A. 减少数据冗余 B. 解决更新异常问题 C. 加快查询速度 D. 提高存储空间效率 8(关系模式中各级范式之间的关系为( A )。 A. B. C. D. 9(保护数据库,防止未经授权或不合法的使用造成的数据泄漏、非法更改或破坏。这是指 数据的( A )。 A. 安全性 B.完整性 C.并发控制 D.恢复 10(事务的原子性是指( B )。 A. 事务一旦提交,对数据库的改变是永久的 B. 事务中包括的所有操作要么都做,要么都不做 C. 一个事务内部的操作及使用的数据对并发的其他事务是隔离的 D. 事务必须使数据库从一个一致性状态变到另一个一致性状态 11(下列哪些运算是关系代数的基本运算( D )。 A. 交、并、差 B. 投影、选取、除、联结 C. 联结、自然联结、笛卡尔乘积 D. 投影、选取、笛卡尔乘积、差运算 12(现实世界“特征” 术语, 对应于数据世界的( D )。 A(属性 B. 联系 C. 记录 D. 数据项 13(关系模型中3NF是指( A )。 A.满足2NF且不存在传递依赖现象 B.满足2NF且不存在部分依赖现象

数据库期末考试复习题及复习资料

试题一 一、单项选择题分)2分,共40(本大题共20小题,每小在每小题列出的四个备选项中只有一个是符合题目要求的,请将其代码填写在题后的括号内。错选、多选或未选均无分。)B 1. 数据库系统的核心是( .数据库管理系统B A.数据库 .软件工具D C.数据模型 )2. 下列四项中,不属于数据库系统的特点的是(C .数据由统一管理和控制.数据结构化BA .数据独立性高.数据冗余度大DC )概念模型是现实世界的第一层抽象,这一类模型中最著名的模型是(D 3. .关系模型B.层次模型 A -联系模型D.实体C.网状模型4. )数据的物理独立性是指( C .数据库与数据库管理系统相互独立A .用户程序与数据库管理系统相互独立B .用户的应用程序与存储在磁盘上数据库中的数据是相互独立的C .应用程序与数据库中数据的逻辑结构是相互独立的D A ).要保证数据库的逻辑数据独立性,需要修改的是(5 B.模式与内模式之间的映象A.模式与外模式之间的映象D.三级模式

C.模式 )关系数据模型的基本数据结构是(D 6..关系C.索引 D A.树B.图 有一名为“列车运营”实体,含有:车次、日期、实际发车时间、实际抵7.)达时间、情况摘要等属性,该实体主码是( C .日期BA.车次+情况摘要日期D.车次C.车次+ )S等价于( B 和己知关系RS,R∩8. B. () A. () D. () C. () 学校数据库中有学生和宿舍两个关系:9. 宿舍(楼名,房间号,床位号,学号)学生(学号,姓名)和 假设有的学生不住宿,床位也可能空闲。如果要列出所有学生住宿和宿舍分配)的情况,包括没有住宿的学生和空闲的床位,则应执行( A B. 全外联接A. 左外联接1 / 13 自然联接D. 右外联接C. 10.用下面的语句建立一个基本表:( (4) ,(8) ,(2),) D )可以插入到表中的元组是(21 ,刘祥',A. '5021','刘祥',男, 21 B. ,'',,,男,C. '5021',21 D. '5021','刘祥 C )11. 把对关系的属性的修改权授予用户李勇的语句是(' A.

江苏学位英语考试真题及答案

2014年江苏学位英语考试真题答案 阅读理解一(2005年题) Without proper planning, tourism can cause problems. For example, too many tourists can crowd public places that are also enjoyed by the local people of a country. If tourists create too much traffic, the local people become unhappy. They begin to dislike tourists and to treat them impolitely. They forget how much tourism can help the country’s economy(经济). It is important to think about the people of a destination country and how tourism affects them. Tourism should help a country keep the customs and beauty that attract tourists. Tourism should also advance(推进) the well-being (health and happiness) of local people. Too much tourism can be a problem. If tourism grows too quickly, people must leave other jobs to work in the tourism industry. This means that other parts of the country’s economy can suffer. On the other hand, if there is not enough tourism, people can lose jobs. Businesses can also lose money. It costs a lot of money to build large hotels, airports, air terminals, first-class roads and other support facilities needed by tourist attractions. For example, a major international-class tourism hotel can cost as much as 50 thousand dollars per room to build. If this room is not used most of the time, the owners of the hotel will lose money. Building a hotel is just a beginning. There must be many support facilities as well, including roads to get to the hotel, electricity, sewers to handle waste, and water. All of these support facilities cost money. 91.If they are not used because there are not enough tourists, jobs and money are lost 译文:如果没有适当的规划,旅游可能会出现问题。例如,太多的游客可以围观公共场所,这样它们也享有一个国家的当地人民应享有的待遇。如果游客量太大造成交通拥挤,当地人会变得不高兴。他们开始反感旅游者并无礼地对待他们。他们忘记了旅游的多少可以帮助该国经济。考虑到旅游目的地人民的感受和给他们带来的影响就显得尤为重要,旅游业应该帮助一个国家保护这种风俗和美丽,以此来吸引游客,同时应该预知当地人的幸福感(健康,快乐)。 太多旅游业可能是一个问题。如果旅游业增长太快,人们必须离开其他工作去从事旅游行业工作。这意味着该国经济的其他部分会受到影响。 另一方面,如果没有足够的旅游,人们可能失去工作。企业也可能赔钱。它花费了很多钱去建大酒店,机场,航空终端,一流的道路和所需要的旅游景点等配套设施。举例来说,一个重要的国际一流的旅游酒店每间房建设成本可能高达50万美元。如果房间大部分时间不使用,酒店的老板会赔钱。建酒店只是一个开始。一定有很多的配套设施,还包括到达酒店道路的道路建设,电力,建污水管道处理废物和水。所有这些配套设施的都需要钱。如果他们不投入使用以及没有足够的游客,那么他们将面临赔本和失业 21选D. What is probably the reason if local people dislike tourists? A.Tourists come to enjoy the customs and beauty B.Local people lose jobs C.A lot of hotels are built D.Too many tourists cause traffic problems 22选A. What can we do to solve the problems caused by tourism? A.Make plans properly B.Help the country’s economy C.Build fewer hotels D.Advance the well-being of local people 23选D. If tourism grows too quickly,__D____. A.businesses will lose money B.other parts of the country’s economy will make more money C.local people will be happier D.more local people will work for tourists

sql数据库期末考试题及答案

一、单选题(共 10 道试题,共 50 分。)V 1. SQL Server中,保存着每个数据库对象的信息的系统表是( C)。 A. sysdatabases B. Syscolumns C. Sysobjects D. Syslogs 2. 在存在下列关键字的SQL语句中,不可能出现Where子句的是(D )。 A. Update B. Delete C. Insert D. Alter 3. 在查询语句的Where子句中,如果出现了“age Between 30 and 40”,这个表达式等同于(A )。 A. age>=30 and age<=40 B. age>=30 or age<=40 C. age>30 and age<40 D. age>30 or age<40 4. 如果要在一张管理职工工资的表中限制工资的输入范围,应使用(D )约束。 A. PDRIMARY KEY B. FOREIGN KEY C. unique D. check 5. 记录数据库事务操作信息的文件是(D )。 A. 数据文件 B. 索引文件 C. 辅助数据文件 D. 日志文件 6. 要查询XSH数据库CP表中产品名含有“冰箱”的产品情况,可用( C)命令。 A. SELECT * FROM CP WHERE 产品名称 LIKE ‘冰箱’ B. SELECT * FROM XSH WHERE 产品名称 LIKE ‘冰箱’ C. SELECT * FROM CP WHERE 产品名称 LIKE ‘%冰箱%’ D. SELECT * FROM CP WHERE 产品名称=‘冰箱’ 7. 储蓄所有多个储户,储户能够在多个储蓄所存取款,储蓄所与储户之间是(D )。 A. 一对一的联系 B. 一对多的联系 C. 多对一的联系 D. 多对多的联系 8. SQL的聚集函数COUNT、SUM、AVG、MAX、MIN不允许出现在查询语句的( D)子句之中。 A. SELECT B. HAVING C. GROUP BY… HAVING D. WHERE 9. 列值为空值(NULL),则说明这一列( C)。 A. 数值为0

数据库期末考试试题及答案

数据库期末考试试题 ━━━━━━━━━━━━━━━ 一、填空共30题(共计30分) ━━━━━━━━━━━━━━━ 第1题(分)题号:2385 ORDER BY 子句实现的是【1】. 答案: =======(答案1)======= 排序 第2题(分)题号:2374 如果列上有约束,要删除该列,应先删除【1】 答案: =======(答案1)======= 相应的约束 第3题(分)题号:2394 在每次访问视图时,视图都是从【1】中提取所包含的行和列. 答案: =======(答案1)======= 基表 第4题(分)题号:2372

1.在增加数据文件时,如果用户没有指明文件组,则系统将该数据文件增加到【1】文件组.答案: =======(答案1)======= 主 第5题(分)题号:2371 查看XSCJ数据库信息的存储过程命令是【1】 答案: =======(答案1)======= sp_helpdb 第6题(分)题号:2392 创建视图定义的T-SQL语句的系统存储过程是【1】. 答案: =======(答案1)======= sp_helptext 第7题(分)题号:2379 1.表的外键约束实现的是数据的【1】完整性. 答案: =======(答案1)======= 参照 第8题(分)题号:2390 要进行模糊匹配查询,需要使用【1】关键字来设置查询条件.

答案: =======(答案1)======= LIKE 第9题(分)题号:2380 定义标识列的关键字是【1】. 答案: =======(答案1)======= identity 第10题(分)题号:2383 在进行多表查询是,必须设置【1】条件. 答案: =======(答案1)======= 连接 第11题(分)题号:2363 联系两个表的关键字称为【1】 答案: =======(答案1)======= 外键 第12题(分)题号:2382 用【1】字句可以实现选择行的运算. 答案:

2011年学位英语考试试题

2011年学位英语考试试题 Passage 2 Question 56 to 60 are based on the following passage: A few weeks ago I was talking to a school inspector in one of the more fashionable districts of Paris. She astonished me by saying that if she had young children today, she'd probably send them to a private school. She had devoted 25 years of her life to the ideal of free public education, she said, but the truth was the state system was in a mess. There are two main problems: State schools in France have to accept whatever teachers are assigned to them by the Ministry of Education. As my school inspector friend put it, "one year a school may be excellent; three or four years later, half the teachers may be incapable!" That is not very reassuring if you're a parent. Private schools can choose their own teachers. The other problem is discipline or, rather, the lack of it. Not long ago a school in Birmingham made headlines in Britain because the teachers were being terrorized by their pupils. In the desolate suburbs of low-cost apartment blocks, thrown together in the 1960s on the outskirts of most big French cities, such stories are commonplace. Vandalism(破坏他人财产的行为), drug-taking and extortion aren't limited to schools in poor areas either. A recent poll found that 88 per cent of French children rate as the biggest problem of their school lives the prevalence (流行, 猖獗)of factions and gangs which spend all their time fighting one another. Small wonder, then, that the private schools, with their emphasis on traditional values, are undergoing a new surge of popularity (despite disapproval from France's new socialist leaders), and competition to get into the best of them has now become intense. 56.The French school inspector has long been a supporter of ____. A) compulsory education B) free private education C) private schools D) the state school system 57.The French state education system ____. A) does not guarantee the competence of teachers B) seems to have no serious difficulties C) is running smoothly D) promises to maintain high standards 58.Private schools in France today ____. A) are generally undergoing changes for the worse B) enjoy the prestige(声望) of becoming the place to send one's children to C) have become victims of vandalism D) never hire teachers who stress traditional values 59.Lack of discipline among students is rampant in state schools ____. A) in the Paris slums, but not in other areas B) noticeably and solely in the poorer areas in French cities C) almost everywhere in France D) rather restricted to Birmingham 60.France children who wish to go to the best private schools can do so by ____. A) taking highly competitive examinations B) simply sending in applications C) joining factions and gangs D) drawing lots

河北学位英语考试真题及答案

历年河北学位英语考试真题及答案 历年河北学位英语考试真题及答案 一.语法词汇(50个小题,每个0.5分,共25分.本次考试总计有33个教材上的原题) 4.Before you mail this letter,you shoule check again whether you have it or not. a)sunk(使沉没) b)sighed(叹息) c)sought(寻找; 探寻) d)sealed(密封的) 第二单元第5个 5单元第7个14个 6单元第9个 13. They told me that by the end of the month they ___ in this house for 10 years. A)has lived B)has been living C)will have lived D) would have been living. 答案D 他们告诉我,到本月底,他们就在这所房子里住了10年了。 14. By the time he retires John 历年河北学位英语真题及答案 ____ here for 30 years. A)has taught B)has been teaching C)will have been teaching D)has been taught 答案C 他退休的时候约翰已经教了30年了。 10.Chocolate and ice-cream have different _____. A)favor B)favorites C)fever D)flavors 答案:flavors 巧克力和冰淇淋的味道不同。 U5.15. After __the old man, the doctor suggested that he __ a bad cold. C A. examining, should catch B. examined, had caught C. examining, had caught D. examined, catch 检查过后,医生暗示他得了重感冒。

数据库期末考试模拟试题及答案(一)

四、程序设计题(本大题共2小题,每小题15分,共30分) 1.对于教学数据库的三个基本表 学生student (sno,sname,sex,sage,sdept) 学习sc(sno,cno,grade) 课程course(cno,cname,cpno,ccredit) 试用SQL语句表示:下列语句。 (1)"查询全男同学信息情况" "select * from student where sex='男'" (2)"查询选修了1号课的学生的学号和成绩" "select sno,grade from sc where cno='1'" (3)"查询所有选修过课的学生的姓名,课程名及成绩" "select sname,cname,grade from student,sc,course where student.sno=sc.sno and https://www.360docs.net/doc/7e798553.html,o=https://www.360docs.net/doc/7e798553.html,o" (4)"查询选修了数据库原理课的最高成绩" "select max(grade) as '最高成绩' from student,sc,course where student.sno=sc.sno and https://www.360docs.net/doc/7e798553.html,o=https://www.360docs.net/doc/7e798553.html,o and cname='数据库原理'" (5)查询所有选修了1号课程的同学的姓名" " select sname from student where student.sno in (select sc.sno from sc where cno='1')" 2.设有一个SPJ数据库,包括S,P,J,SPJ四个关系模式(20分)供应商表S(SNO,SNAME,STATUS,CITY); 零件表P(PNO,PNAME,COLOR,WEIGHT); 工程项目表J(JNO,JNAME,CITY); 供应情况表SPJ(SNO,PNO,JNO,QTY);SPJ表 J表 S表 P表 请用关系代数完成如下查询: 1.求供应工程J1零件的供应商号 SNO 2.求供应工程J1零件P1的供应商号吗SNO 3.求供应工程J1零件为红色的供应商号码SNO 4.求没有使用天津供应商生产的红色零件的工程号JNO 5.求至少用了供应商S1所供应的全部零件的工程号JNO 1.∏sno(σJNO=‘J1’(SPJ)) 2.∏sno(σJNO=‘J1’ΛPNO=’P1’(SPJ)) 3.∏sno(σJNO=‘J1’(SPJ)∞σcolor=‘红’(P)) 4.∏jno(SPJ)-∏jno(∏sno(σcity=‘天津’(S))∞∏sno,jno (SPJ)∞∏jno σcolor=‘红’(P)) 5.∏jno, pno(SPJ)÷∏pno(σsno=‘s1’(SPJ)) 五、分析题(本大题共2小题,每小题15分本大题共30分) 1. 学生运动会模型: (1)有若干班级,每个班级包括: 班级号,班级名,专业,人数 (2)每个班级有若干运动员,运动员只能属于一个班,包括:运动员号,姓名,性别,年龄

数据库期末考试复习题及答案共有套卷子

试题六 一、单项选择题 (本大题共10小题,每小题2分,共20分) 在每小题列出的四个备选项中只有一个是符合题目要 求的,错选、多选或未选均无分。 1. DB 、DBMS 和DBS 三者之间的关系是( )。 A .D B 包括DBMS 和DBS B .DBS 包括DB 和DBMS C .DBMS 包括DB 和DBS D .不能相互包括 2. 对数据库物理存储方式的描述称为( ) A .外模式 B .内模式 C .概念模式 D .逻辑模式 3. 在数据库三级模式间引入二级映象的主要作用是( ) 得 分 (考 生 答 题 不 得 超 过 此 线)

A.提高数据与程序的独立性B.提高数据与程序的安全性 C.保持数据与程序的一致性D.提高数据与程序的可移植性 4. 视图是一个“虚表”,视图的构造基于() A.基本表B.视图 C.基本表或视图D.数据字典 5.关系代数中的π运算符对应SELECT语句中的以下哪个子句?()A.SELECT B.FROM C.WHERE D.GROUP BY 6.公司中有多个部门和多名职员,每个职员只能属于一个部门,一个部门可以有多名职员,从职员到部门的联系类型是() A.多对多 B.一对一 C.多对一 D.一对多 7.如何构造出一个合适的数据逻辑结构是()主要解决的问题。

A.关系系统查询优化B.数据字典 C.关系数据库规范化理论D.关系数据库查询 8. 将E-R模型转换成关系模型,属于数据库的()。 A. 需求分析 B. 概念设计 C. 逻辑设计 D. 物理设计 9.事务日志的用途是() A. 事务处理 B. 完整性约束 C. 数据恢复 D. 安全性控制 10.如果事务T已在数据R上加了X锁,则其他事务在数据R上() A. 只可加X锁 B. 只可加S锁 C. 可加S锁或X锁 D. 不能加任何锁

硕士学位英语考试试题

硕士学位英语考试试题 PAPER ONE PART I LISTENING COMPREHENSION (15 MINUTES, 15 points) Section A ( 1 point each ) 1. A. He was on vacation. B. He was moving furniture. C. He was sick. D. He was working for a new company. 2. A. He does not understand it. B. He does not like it. C. He is used to it. D. He does not have to take it. 3. A. He is interested only in her ideas. B. He will not accept a late paper from her. C. He wants her to hand in her paper immediately. D. He will accept a late paper from her. 4. A. In a kitchen. B. In a garden. C. At the pictures. D. In an office. 5. A. Five B. Four. C. Seven. D. Six. 6. A. She was experienced in riding a bicycle. B. She was riding very slowly at that moment. C. She was riding a new bike. D. Some passes-by help her. 7. A. She can't see. B. Her ears was hurt. C. She can’t hear. D. Her eyes hurt. 8. A. She feels that he won't accept anything. B. She thinks he has almost everything he wants. C. She's sure he already has a pocket calculator. D. She's afraid he wants more than she can afford. 9. A. At the jewelry store. B. Down the hall. C. From other customers. D. From a machine Section B ( 1 point each ) Question 10 through 12 are base on the following conversation. 10. A. Peter's research paper. B. Peter's composition. C.A library book. D. Peter's take-home exam. 11. A. By studying in the library. B. He was absent that day. C. He did very well. D. He did very poorly. 12. A. Talk to the professor. B. Quit working. C. Get a better-paying job. D. Try to get a job on the campus. Question 13 through 15 are base on the following passage. 13. A. The development of animals. B. The development of land animal. C. The origin of sea creatures. D. The origin of human beings 14. A. Stand on their heads. B. Swim backward. C. Move on their fins. D. Swim upside down. 15. A. The appearance of tile fish. B. The size and the color of fish. C. The way the fish swims. D. The way the Fish uses its fins. PART II VOCABULARY ( 10 MINUTES, 10 POINTS ) Section A ( 0.5 point each ) 16. Frank and Jauntier asked their science teacher to settle the dispute once and for all. A. temporarily B. permanently C. cautiously D. decisively 17.The police found it difficult to apprehend the criminal because of the incomplete details supplied by the witness. A. sketchy B. complicated C. stern D. artistic 18.In order to maintain physical well-being, a person should eat wholesome food and get sufficient exercise. A. fresh B. stale C. well-cooked D. healthful 19. Not afraid of being fired, John Smith continued to defy the boss. A. avoid B. admire C. oppose D. guide 20. Many pure metals have little use because they are too soft, rust too easily, or have some other drawbacks. A. properties B. behavior C. disadvantages D. performances 21. After a number of disagreements with the committee, the chairman decided to quit. A. resign B. dismiss C. retire D. desert 22. The experiment shows this cathode emits electrons in a controlled environment. A. submits B. gives off C. rejects D. passes by . 23. To what place are you going to haul the furniture that you no longer need. A. sell B. put C. transport D. paint 24. The zealous demonstrators were ignored by all the media of this country. A. passionate B. colorful C. rude D. clever 25. In prehistoric times, eclipses of the moon and Sun were probably terrifying to people.

相关文档
最新文档