文档库 最新最全的文档下载
当前位置:文档库 › oracle 11g(钱慎一)课后习题答案

oracle 11g(钱慎一)课后习题答案

oracle 11g(钱慎一)课后习题答案
oracle 11g(钱慎一)课后习题答案

一、选择题

1. 若关系的某一属性组的值能唯一地标识一个元组,我们称之为(B)。

A、主码

B、候选码

C、外码

D、联系

2. 以下不属于数据库模型的三要素的是(C)。

A、数据结构

B、数据操作

C、数据控制

D、完整性约束

3. 以下对关系性质的描述中,哪个是错误的?(B)

A、关系中每个属性值都是不可分解的

B、关系中允许出现相同的元组

C、定义关系模式时可随意指定属性的排列次序

D、关系中元组的排列次序可以任意交换

二、填空题

1.数据管理发展的三个阶段是人工管理、文件管理和数据库管理。

2.数据库系统的三级模式包括逻辑数据模型(逻辑模型)、逻辑数据模型(概念模型)、物理数据模型(物理模型)。

三、思考题

1. 数据库管理系统的主要功能有哪些?

1)数据定义功能。DBMS提供相应数据语言来定义(DDL)数据库结构,它们是刻画数据库框架,并被保存在数据字典中。

2)数据存取功能。DBMS提供数据操纵语言(DML),实现对数据库数据的基本存取操作:检索,插入,修改和删除。

3)数据库运行管理功能。DBMS提供数据控制功能,即是数据的安全性、完整性和并发控制等对数据库运行进行有效地控制和管理,以确保数据正确有效。

4)数据库的建立和维护功能。包括数据库初始数据的装入,数据库的转储、恢复、重组织,系统性能监视、分析等功能。

5)数据库的传输。DBMS提供处理数据的传输,实现用户程序与DBMS之间的通信,通常与操作系统协调完成。

2.思考关系规范化的过程。

答:对于存在数据冗余、插入异常、删除异常问题的关系模式,应采取将一个关系模式分解为多个关系模式的方法进行处理。一个低一级范式的关系模式,通过模式分解可以转换为若干个高一级范式的关系模式,这就是所谓的规范化过程。

3.思考数据库设计的步骤。

答:1需求分析、2概念设计阶段、3逻辑结构设计阶段、4数据库物理结构设计阶段、5数据库实施阶段、6数据库运行和维护阶段。

一、选择题

1、Oracle 11g不具备的版本是(C)

A.个人版

B.标准版

C. 扩展板

D.企业版

2、oracle 数据库的数据字典不能做的工作有(B)

A.查找oracle数据库用户信息

B.查找oracle数据库表中的信息

C.查找oracle数据库模式对象的信息

D.查找oracle数据库存储结构的信息

二、填空题

1、 Oracle体系结构由内存结构、进程结构和存储结构组成。

2、 Oracle数据库中,段包括数据段、牵引段、回滚段和临时段四种。

3、 Oracle物理存储结构包含三种数据文件:控制文件、数据文件和日志文件。

三.思考题

1.名词解释:

数据块:是数据块使用的I/O最小单元,也是最基础的存储单位,又称逻辑块或oracle块。数据块包括块头和存储区。

区:是数据存储空间分配的逻辑单元,,在一个段中可以存在多个区间,区间是数据一次性预留的一个较大的存储空间。

段:是对象在数据库中占用的空间。段和数据库对象是一一对应的,但段是从数据库存储的角度来看。一个段只能属于一个表空间,一个表空间可以有多个段。表空间。

2.Oracle的物理结构主要包括那些类型的文件?

答:控制文件、数据文件、日志文件。(还包括参数文件)

第三章

一:选择题

1.下列操作系统中,不能运行Oracle 11g的是(C)。

A.Windows

B.Linux

C.Macintosh

D.Unix

2.以下不属于Oracle安装前的准备工作的是(C)。

A.对服务器进行正确的网络配置,并且记录IP地址、域名的网络配

置信息,如果采用动态IP,需先将Microsoft LoopBack Adapter

配置为系统的主网络适配

B.卸载其他的数据库管理系统

C.如果服务器上运行有其他Oracle服务,必须在安装前将他们全部

停止

D.关闭Windows防火墙和某些杀毒软件

二:填空题

1.卸载Oracle需要经过停止Oracle服务、卸载Oracle组件和删除遗留

成分三个步骤。

2.Oracle数据库监听器的启用有3种方法:利用Enterprise Manager、

用监听器控制实用程序和利用Net Manager提供的“监听程序”。

第四章

一、选择题

1、SQL语言中不属于数据定义的命令动词是(C)。

A、CREATE

B、DROP

C、GRANT

D、ALTER

2、在同样的条件下,下面的哪个操作得到的结果集有可能最多?(D)

A、内连接

B、左外连接

C、右外连接

D、完全外连接

3、下列操作权限中,在视图上不具备的是(C)。

A、SELECT

B、ALTER

C、DELETE

D、INSERT

二、填空题

1、SQL语言的功能主要包括数据定义、数据操作和数据控制三类。

2、希望删除查询结果集中重复的行,需要使用distinct 关键字。

3、常用的统计函数有count 、MIN、MAX、sum 和A VG。

三、实训题

1、登陆Oracle,进入HR方案,使用DESC和SELECT命令查看各个表的结构以及现有的数据。

代码如下:

(1)a.查看JOBS表的结构:DESC JOBS;

b.查看JOBS 表的部分数据:SELECT * FROM JOBS;

(2)a.查看EMPLOYEES表的结构:DESC EMPLOYEES;

b.查看EMPLOYEES表的部分数据:SELECT * FROM EMPLOYEES ;

(3)a.查看表的结构:DESC DEPARTMENTS;

b.查看DEPARTMENTS表的部分数据:SELECT * FROM DEPARTMENTS;

(4)a.查看REGIONS表的结构:DESC REGIONS;

b.查看REGIONS表的部分数据:SELECT * FROM REGIONS;

(5)a.查看LOCA TIONS表的结构:DESC LOCA TIONS;

b.查看LOCA TIONS表的部分数据:SELECT * FROM LOCATIONS;

(6)a.查看COUNTRIES表的结构:DESC COUNTRIES;

b.查看COUNTRIES表的部分数据:SELECT * FROM COUNTRIES;

(7)a.查看JOB_JISTORY表的结构:DESC JOB_JISTORY;

b.查看JOB_JISTORY表的部分数据:SELECT * FROM JOB_JISTORY;

2、在HR方案中进行表的创建、修改和删除(CREATE、DROP、ALTER命令)。

创建表:CREATE TABLE MANAGER(

MANAGER_ID NUMBER2(6) NOT NULL UNIQUE,

FIRST_NAME V ARCHAR2(20),

LAST_NAME V ARCHAR2(25),

DEPT_ID V ARCHAR2(10));

修改:ALTER TABLE MANAGER ADD SEX VARCHAR2(2);

ALTER TABLE MANAGER MODIFY MANAGER_ID NUMBER(8);

删除:ALTER TABLE MANAGER DROP UNIQUE(MANAGER_ID) ;

DROP TABLE MANAGER;

3.在HR方案中完成对EMPLOYEES表以及相关各表的各种查询操作(WHERE子句

GROUP BY子句以及各种连接等)。

代码如下:

查询:SELECT * FROM HR.COUNTRIES,HR.DEPARTMENTS,HR.EMPLOYEES;

GROUP BY 语句:SELECT DEPARTMENT_ID,COUNT(*),AVG(SALARY)

FROM EMPLOYEES

GROUP BY ROLLUP(DEPARTMENT_ID);

各种连接:

(1)简单连接:SELECT EMPLOYEES.*,JOBS.* FROM

EMPLOYEES,DEPARTMENTS;(连接EMPLOYEES和

DEPARTMENTS)

(2)内链接:SELECT https://www.wendangku.net/doc/d615562065.html,ST_NAME,JOBS.JOB_TITLE

FROM EMPLOYEES INNER JOIN JOBS ON

EMPLOYEES.JOB_ID=JOBS.JOB_ID

(3)自然连接:SELECT EMPLOYEES

https://www.wendangku.net/doc/d615562065.html,ST_NAME,EM.FIRST_NAME,EM.EMPLOYEE_ID,DEP.DEPA

RTMENT_NAME

FROM EMPLOYEES EM NA TURAL JOIN DEPARTMENTS DEP

WHERE DEP.DEPARTMENT_NAME=”SALES”

(4)外连接:SELECT EM.EMPLOYEE_ID,https://www.wendangku.net/doc/d615562065.html,ST_NAME,

DEP.DEPARTMENT_NAME

FROM EMPLOYEES EM LEFT OUTER JOIN DEPARTMENTS DEP

ON EM.DEPARTMENT_ID = DEP. DEPARTMENT

WHERE EM.JOB_ID=’IT_PROG’; (左连接)

(5)自身连接:SELECT EMPLOYEES_ID ,LAST_NAME,JOB_ID

FROM EMPOYEES

ORDER BY EMPLOYEE_ID

4.在HR方案中,针对EMPLOYEES表进行数据的创建、修改和删除操作(INSERT、

UPDATE、DELETE命令)。

代码如下:

INSERT: INSERT INTO EMPLOYEES V ALUES(‘2001’,’TOM’,’KING’,’SKING’,516.123.3456,1999.12.12,’IT_PR

OG’,20006,103,60)

UPDATE:UPDATE EMPLOYEES

SET SALARY=SALAY+100

WHERE JOB_ID=”IT_PROG”;(IT_PROG部门的薪水涨100$)

DELETE:DELETE FROM EMPLOYEES

WHERE FIRST_NAME=’TOM’;(删除真名叫tom的人的信息)

第五章

一、选择题

1、下列属于Oracle PL/SQL的数据类型是(A)。

A.DATE

B.TIME

C.DA TETIME

D.SMALLDATETIM

E.

2、下面不属于Oracle PL/SQL 的参数类型是(D)。

A.in

B.out

C.inout

D.null

二、填空题

1、显式游标的处理包括声明游标、打开游标、提取游标和关闭游标4个步骤。

2、包有两个独立的部分:说明部分和包体部分。

3、触发器的类型包括DML触发器、INSTEAD OF触发器和系统触发器。

三、实训题

1、实现一个游标,完成对emplouees表的遍历;

SQL> create or replace procedure show_all_employees

2 as

3 emp_row employees%rowtype;

4 cursor emp_cur is select * from employees;--声明游标

5 begin

6 OPEN emp_cur;--打开游标

7 LOOP

8 FETCH emp_cur INTO emp_row;--提取行

9 EXIT WHEN emp_cur%NOTFOUND;

10 DBMS_OUTPUT.PUT_LINE('雇员ID是:'||emp_row.employee_id||' 姓名是:'||emp_row.first_name||' '||emp_https://www.wendangku.net/doc/d615562065.html,st_name);

11 END LOOP;

12 CLOSE emp_cur;--关闭游标

13 end;

14 /

Procedure created

SQL> execute show_all_employees();

2、实现一个过程,完成对emplouees表中job_id为'IT_PROG'的员工salary的增加,增

加额度为800;

create or replace procedure salary_add(jobid in

employees.JOB_ID%type,adds in employees.SALARY%type)

2 as

3 begin

4 update employees set SALARY=SALARY+adds where JOB_ID=jobid;

5 dbms_output.put_line('emploees表中列的'||jobid||'增加的salary为

'||adds);

6 end salary_add;

7 /

Procedure created

SQL> set serverout on;

SQL> EXECUTE salary_add('IT_PROG',800);

emploees表中列的IT_PROG增加的salary为800

PL/SQL procedure successfully completed

3.实现一个函数,完成对EMPLOYEES表中JOB_ID为“IT_PROG的员工SALARY的增加”,增加额度作为参数传入。

create or replace function

incr_emp_salary_func(inrement in number) return boolean

IS

begin

update employees set salary=salary+inrement where

job_id='IT_PROG';

if sql%notfound then

return false;

end if;

return true;

end;

第六章

一、选择题

1.Oracle的一般启动步骤是(B)

A.打开数据库、启动例程、装载数据库 B.启动例程、装载数据库、打开数据库A.启动例程、打开数据库、装载数据库 B. 装载数据库、启动例程、打开数据库

2.数据库的三种启动模式不包括(B)

A.NOMOUNT B.STARTUP C.MOUNT D.OPEN

3.下列哪个表与列的命名是错误的(C)

A.IT_emp B.st3cx C.1_stu D.dept

4.下列关于视图的描述哪个是错误的(B)

A.视图是由SELECT子查询语句定义的一个逻辑表 B.视图中保存有数据

C.通过视图操作的数据仍然保存在表中

D.可以通过视图操作数据库中的数据

二、填空题

1.与每个数据库的启动和关闭有关的服务有OracleOracle_homeTNSListener 、OracleServiceSID 和OracleDBConsoleSID 。

2.关闭Oracle数据库的步骤包括:关闭数据库、卸载数据库、和终止例程。

3.在Oracle中可以建立的约束条件包括:NOT NULL,UNIQUE,CHECK,PRIMARY KEY,FOREIGN KEY。

4.修改表的关键字为:Alter。

5.创建索引的主要关键字为CREATEINDEX。

三、实训题

1.

第七章

一、选择题

1. create user 命令中的default tablespace语句用于下列哪种中设置?(A)

A、用户创建的数据库对象

B、用户创建的临时对象

C、用户创建的系统对象

D、以上都不对

2. 下列哪一种不属于系统权限(A)。

A、Select

B、Update Any

C、Create View

D、Create Session

3. 哪一种操作受表空间配额的限制?(C)

A、Update

B、Delete

C、Create

D、以上全是

二、填空题

1. 数据库中的权限包括系统权限和对象权限两类。

2. Oracle数据库安全控制机制包括用户管理、权限管理、角色管理、表空间设置和配额、概要文件管理、数据库审计6个方面。

三、实训题

1. 创建一个口令认证的数据库用户usera_exer,口令为usera,默认表空间为USERS,配额为10MB,初始账户为锁定状态。

create user usera_exer identifiled by usera default tablesspace users quota 10m on users account lock;

2. 创建一个口令认证的数据库用户userb_exer,口令userb。

create user userb_exer identifiled by userb;

3. 将用户usera_exer的账户解锁。

alter user usera_exer account unlock;

4. 为usera_exer用户授权Create Session权限、Scott.emp的select权限和update权限,同时允许该用户将获取的权限授予其他用户。

grant create session to usera_exer with option;

grant select,update on scott.emp to usera_exer with option;

第八章

一、选择题

1.创建数据库需要(1)个数据文件。

2.创建控制文件时,数据库必须(未加载)。

3.以下哪一种数据字典视图显示出数据库处于ACHIVELOG方式?(V$DATABASE)

二、填空题

1.oracle数据库逻辑存储结构包括(数据库块、区、段、表空间)四种。

2.oracle数据库物理存储结构是指存储在磁盘上的物理文件,包括(数据文件、控制文件、重做日志文件、初始化参数文件、归档文件)、跟踪文件、口令文件、警告文件、备份文件等。

三、实训题

1.为USER表空间添加一个数据文件,文件名为users03.dbf,大小为50MB。ALTER TABLESPACE USER

ADD DATAFILE ‘D:\ORACLE\ORADATA\ORCL\users03.dbf’ SIZE 50M;

3.为EXAMPLE表空间添加一个数据文件,文件名为example02.dbf,大小为

20MB。

ALTER DATABASE EXAMPLE

ADD DATAFILE 'C:\TEMP\example02.dbf' SIZE 20M;

3.修改USER表空间中的userdata03.dbf,文件的大小为40MB。

ALTER DATABASE DATAFILE

‘D:\ORACLE\ORADATA\ORCL\users03.dbf’ SIZE 40M;

oracle课后题答案

一、选择题 1. 若关系的某一属性组的值能唯一地标识一个元组,我们称之为(B)。 A、主码 B、候选码 C、外码 D、联系 2. 以下不属于数据库模式的三要素的是(C)。 A、数据结构 B、数据操作 C、数据控制 D、完整性约束 3. 以下对关系性质的描述中,哪个是错误的?(B) A、关系中每个属性值都是不可分解的 B、关系中允许出现相同的元组 C、定义关系模式时可随意指定属性的排列次序 D、关系中元组的排列次序可以任意交换 二、填空题 1.数据管理发展的三个阶段是人工管理、文件管理和数据库系统管理。 2.数据库系统的三级模式包括逻辑模式、用户模式、物理模式。 三、思考题 1. 数据库管理系统的主要功能有哪些? 1)数据定义功能。DBMS提供相应数据语言来定义(DDL)数据库结构,它们是刻画数据库框架,并被保存在数据字典中。 2)数据存取功能。DBMS提供数据操纵语言(DML),实现对数据库数据的基本存取操作:检索,插入,修改和删除。 3)数据库运行管理功能。DBMS提供数据控制功能,即是数据的安全性、完整性和并发控制等对数据库运行进行有效地控制和管理,以确保数据正确有效。 4)数据库的建立和维护功能。包括数据库初始数据的装入,数据库的转储、恢复、重组织,系统性能监视、分析等功能。 5)数据库的传输;DBMS提供处理数据的传输,实现用户程序与DBMS之间的通信,通常与操作系统协调完成。 2.思考关系规范化的过程。 答:对于存在数据冗余、插入异常、删除异常问题的关系模式,应采取将一个关系模式分解为多个关系模式的方法进行处理。一个低一级范式的关系模式,通过模式分解可以转换为若干个高一级范式的关系模式,这就是所谓的规范化过程。 3.思考数据库设计的步骤。 答:1需求分析、2概念设计阶段、3逻辑结构设计阶段、4数据库物理结构设计阶段、5数据库实施阶段、6数据库运行和维护阶段。

高英课本课后翻译答案

这是我整理的,希望对大家有用。蓝色部分是重点词汇。 第一课 1、一条蜿蜒的小路隐没在树荫深处。 A winding path loses itself in the shadowy distance of the woods. 2、集市上有许多小摊子,出售的货物应有尽有。 At the bazaar, there are many stalls where goods of every conceivable kind are sold. 3、我真不知道到底是什么事让他如此生气。 I really don’t know what it is that has made him so angry. 4、新出土的铜花瓶造型优美,可有精细、复杂的传统图案。 The newly unearthed bronze vase is pleasing in form and engraved with delicate and intricate traditional designs. … 5、在山的那一边是一望无际的大草原。 Beyond the mountains there is a vast grassland that extends as far as the eye can see. 6、他们决定买那座带有汽车房的房子。 They decided to buy that house with a garage attached. 7、教师们坚持对学生严格要求。 The teachers make a point of be ing strict with the students. 8、这个小女孩很喜欢她的父亲。 The girl is very much attached to her father. 9、为了实现四个现代化,我们认为有必要学习国外的先进科学技术。 To achieve the four modernization, we make a point of learn ing from the advanced science and technology of other countries. | 10、黄昏临近时,天渐渐暗下来了。 As dusk fell, daylight faded away. 11徒工仔细地观察他的师傅,然后照着干。 The apprentice watched his master carefully and then followed suit. 12、吃完饭弗兰克常常帮助洗餐具。 Frank often took a hand in the washing-up after dinner.

大学英语第一册课后习题答案

新视野大学英语(第二版)第一册Unit 1 III. 1. rewarding 2. communicate 3. access 4. embarrassing 5. positive 6. commitment 7.virtual 8. benefits 9. minimum 10. opportunities IV. 1. up 2. into 3. from 4. with 5. to 6. up 7. of 8. in 9. for 10.with V. 1.G 2.B 3.E 4.I 5.H 6.K 7.M 8.O 9.F 10.C Sentence Structure VI. 1. Universities in the east are better equipped, while those in the west are relatively poor. 2. Allan Clark kept talking the price up, while Wilkinson kept knocking it down. 3. The husband spent all his money drinking, while his wife saved all hers for the family. 4. Some guests spoke pleasantly and behaved politely, while others wee insulting and impolite. 5. Outwardly Sara was friendly towards all those concerned, while inwardly she was angry. VII. 1. Not only did Mr. Smith learn the Chinese language, but he also bridged the gap between his culture and ours. 2. Not only did we learn the technology through the online course, but we also learned to communicate with friends in English. 3. Not only did we lose all our money, but we also came close to losing our lives. 4. Not only do the workers want a pay increase, but they also want reduced working hours. 5. Not only is the house expensive, but it is also too far away from my company. Translation VIII. 1. Not only can students choose when and where to learn for an online course, but they can also take time to think through answers before making a reply. 2. She is excited by the idea of online learning while be considers it meaningless and useless. 3. Communicating with native English speakers is a very rewarding experience from which we can learn a lot. 4. Today, more and more people have access to the Internet through which they look for the information they need. 5. He wants her to give up working and stay home to look after the children. She feels, however, that this is too much for her. 6. Now that we have finished the course, we shall start doing more revision work. IX. 1. 我永远都不会忘记那位老师,是他告诉我学外语是有趣的、有价值的。如果没有他,我的英语说得不会像现在这样好。

1.第一章课后习题及答案

第一章 1.(Q1) What is the difference between a host and an end system List the types of end systems. Is a Web server an end system Answer: There is no difference. Throughout this text, the words “host” and “end system” are used interchangeably. End systems inc lude PCs, workstations, Web servers, mail servers, Internet-connected PDAs, WebTVs, etc. 2.(Q2) The word protocol is often used to describe diplomatic relations. Give an example of a diplomatic protocol. Answer: Suppose Alice, an ambassador of country A wants to invite Bob, an ambassador of country B, over for dinner. Alice doesn’t simply just call Bob on the phone and say, come to our dinner table now”. Instead, she calls Bob and suggests a date and time. Bob may respond by saying he’s not available that particular date, but he is available another date. Alice and Bob continue to send “messages” back and forth until they agree on a date and time. Bob then shows up at the embassy on the agreed date, hopefully not more than 15 minutes before or after the agreed time. Diplomatic protocols also allow for either Alice or Bob to politely cancel the engagement if they have reasonable excuses. 3.(Q3) What is a client program What is a server program Does a server program request and receive services from a client program Answer: A networking program usually has two programs, each running on a different host, communicating with each other. The program that initiates the communication is the client. Typically, the client program requests and receives services from the server program.

oracle课后题答案总教学内容

o r a c l e课后题答案总

第一章 一、选择题 1. 若关系的某一属性组的值能唯一地标识一个元组,我们称之为(B)。 A、主码 B、候选码 C、外码 D、联系 2. 以下不属于数据库模式的三要素的是(C)。 A、数据结构 B、数据操作 C、数据控制 D、完整性约束 3. 以下对关系性质的描述中,哪个是错误的?(B) A、关系中每个属性值都是不可分解的 B、关系中允许出现相同的元组 C、定义关系模式时可随意指定属性的排列次序 D、关系中元组的排列次序可以任意交换 二、填空题 1.数据管理发展的三个阶段是人工管理、文件管理和数据库系统管理。 2.数据库系统的三级模式包括逻辑模式、用户模式、物理模式。 三、思考题 1. 数据库管理系统的主要功能有哪些? 1)数据定义功能。DBMS提供相应数据语言来定义(DDL)数据库结构,它们是刻画数据库框架,并被保存在数据字典中。 2)数据存取功能。DBMS提供数据操纵语言(DML),实现对数据库数据的基本存取操作:检索,插入,修改和删除。

3)数据库运行管理功能。DBMS提供数据控制功能,即是数据的安全性、完整性和并发控制等对数据库运行进行有效地控制和管理,以确保数据正确有效。 4)数据库的建立和维护功能。包括数据库初始数据的装入,数据库的转储、恢复、重组织,系统性能监视、分析等功能。 5)数据库的传输;DBMS提供处理数据的传输,实现用户程序与DBMS之间的通信,通常与操作系统协调完成。 2.思考关系规范化的过程。 答:对于存在数据冗余、插入异常、删除异常问题的关系模式,应采取将一个关系模式分解为多个关系模式的方法进行处理。一个低一级范式的关系模式,通过模式分解可以转换为若干个高一级范式的关系模式,这就是所谓的规范化过程。 3.思考数据库设计的步骤。 答:1需求分析、2概念设计阶段、3逻辑结构设计阶段、4数据库物理结构设计阶段、5数据库实施阶段、6数据库运行和维护阶段。 第二章 一、选择题 1、Oracle 11g不具备的版本是(C) A.个人版 B.标准版 C. 扩展板 D.企业版 2、oracle 数据库的数据字典不能做的工作有(B) A.查找oracle数据库用户信息

高级英语第三版第一册课后答案

高英课内考点:第一课:Paraphrase 1、we’re elevated 23 feet. Our house is 23 feet above sea level. 2、The place has been here since 1915,and no hurricane has ever bothered it. The house was built in 1915,and since then no hurricane has done any damage to it. 3、We can batten down and ride it out. We can make the necessary preparation and survive the hurricane without much damage. 4、The generator was doused,and the lights went out. Water got into the generator,it stopped working.As a result all lights were put out. 5、Everybody out the back door to the cars! Everyone go out through the back door and get into the cars! 6、The electrical systems had been killed by water.

The electrical systems in the cars had been destroyed by water. 7、John watched the water lap at the steps,and felt a crushing guilt. As John watched the water inch its way up the steps,he felt a strong sense of guilt because he blamed himself for endangering the family by making the wrong decision not to flee inland. 8、Get us through this mess,will You? Oh,God,please help us to get through this dangerous situation. 9、She carried on alone for a few bars;then her voice trailed away. She sang a few words alone and then her voice gradually grew dimmer and stopped. 10、Janis had just one delayed reaction. Janis didn’t show any fear on the spot during the storm,but she revealed her feelings caused by the storm a few nights after the hurricane by getting up in the middle of the night and crying softly. 英译汉: 1、But,like thousands of others in the coastal communities,John was reluctant to abandon his home unless the family----his wife,Janis,and their seven children,aged 3 to 11---was clearly endangered.

大学英语精读第一册课后练习部分答案

大学英语精读第一册课后练习部分答案 Unit 1 Cloze (A) 1. aware 2. performance 3. average 4. adequate 5. set aside 6. mentions 7. look over 8. commit (B) 1. if/once 2. about 3. it 4. know 5. up 6. as 7. from 8. words 9. into 10. other 11. for 12. when Translation 1、他这次考试的失败使他意识到定期复习功课的重要。 His failure in the exam has made him aware of the importance of reviewing his lessons regularly. 2、请一定不要忘记离家前你父母对你说过的话。 Be sure not to forget what your parents said to you before you left home. 3、我确信她的英语知识对这项工作来说是足够的了。 I'm sure her knowledge of English is adequate for the job. 4、这篇文章的目的是告诉学生怎样培养良好的学习习惯。 The purpose of this article is to tell the students how to develop good study habits. 5、在当今时代,人们越来越多地依靠计算机(computers)来解决各种各样的问题。In our age, people depend more and more on computers to solve various kinds of difficult problems. 6、略读不仅可以帮助你对将要阅读的东西有所了解,还可以帮助你读得快些,提高你的阅读理解力。 Skimming not only helps you get some idea of what you are going to read but also helps you read faster and improve your comprehension. 7、有些人以为男孩子比女孩子聪明。然而,事实未必如此。 Some people believe that boys are cleverer than girls. This is not necessarily the case, however. 8、即使智力一般的学生也可以通过改进学习习惯习惯而成为优等生。 Even students of average intelligence can become top students by improving their study habits.

第1章课后习题参考答案

第一章半导体器件基础 1.试求图所示电路的输出电压Uo,忽略二极管的正向压降和正向电阻。 解: (a)图分析: 1)若D1导通,忽略D1的正向压降和正向电阻,得等效电路如图所示,则U O=1V,U D2=1-4=-3V。即D1导通,D2截止。 2)若D2导通,忽略D2的正向压降和正向电阻,得等效电路如图所示,则U O=4V,在这种情况下,D1两端电压为U D1=4-1=3V,远超过二极管的导通电压,D1将因电流过大而烧毁,所以正常情况下,不因出现这种情况。 综上分析,正确的答案是U O= 1V。 (b)图分析: 1.由于输出端开路,所以D1、D2均受反向电压而截止,等效电路如图所示,所以U O=U I=10V。

2.图所示电路中, E

解: (a)图 当u I<E时,D截止,u O=E=5V; 当u I≥E时,D导通,u O=u I u O波形如图所示。 u I ωt 5V 10V uo ωt 5V 10V (b)图 当u I<-E=-5V时,D1导通D2截止,uo=E=5V; 当-E<u I<E时,D1导通D2截止,uo=E=5V; 当u I≥E=5V时,uo=u I 所以输出电压u o的波形与(a)图波形相同。 5.在图所示电路中,试求下列几种情况下输出端F的电位UF及各元件(R、DA、DB)中通过的电流:( 1 )UA=UB=0V;( 2 )UA= +3V,UB = 0 V。( 3 ) UA= UB = +3V。二极管的正向压降可忽略不计。 解:(1)U A=U B=0V时,D A、D B都导通,在忽略二极管正向管压降的情况下,有:U F=0V mA k R U I F R 08 .3 9.3 12 12 = = - =

oracle练习题及答案

WORD格式 1.找出各月倒数第3天受雇的所有员工 selectenamefromempwherelast_day(hiredate)-2=hiredate; 2.找出早于12年前受雇的员工 selectenamefromempwheremonths_between(sysdate,hiredate)>=144; 3.以首字母大写的方式显示所有员工的姓名 selectinitcap(ename)fromemp; 4.显示正好为5个字符的员工的姓名 selectenamefromempwherelength(ename)=5; 5.显示不带有“R”的员工姓名 selectenamefromempwhereinstr(ename,'R',1,1)=0; 6.显示所有员工姓名的前三个字符 selectsubstr(ename,1,3)fromemp; 7.显示所有员工的姓名,用“a”替换所有的“A” selectename,replace(ename,'A','a')fromemp; 8.显示满10年服务年限的员工的姓名和受雇日期 selectename,hiredatefromempwheremonths_between(sysdate,hiredate)>=120; 9.显示员工的详细资料,按姓名排序 select*fromemporderbyenamedesc; 10.显示员工的姓名和受雇日期,根据其服务年限,将最老的员工排在最前面selectename,hiredatefromemporderbyhiredate; 11.显示所有员工的姓名、工作和薪金,按照工作的降序排序,若工作相同则按薪金排序selectename,job,salfromemporderbyjobdesc,sal; 12.显示所有员工的姓名、加入公司的年份和月份,按受雇日期所在月排序,若月份 相同则将最早年份的员工排在最前面 selectename,to_char(hiredate,'yyyy')h,to_char(hiredate,'mm')m fromemporderbym,h; 13.显示在一个月为30天的情况所有员工的日薪金,忽略余数 selecttrunc(sal/30)fromemp; 14.找出在(任何年份的)2月受聘的所有员工 selectenamefromempwhereto_char(hiredate,'mm')=2; 15.对于每个员工显示其加入公司的天数 selectename,sysdate-hiredatefromemp; 16.显示姓名字段的任何位置包含“A”的所有员工姓名 selectenamefromempwhereinstr(ename,'A',1,1)<>0; selectenamefromempwhereenamelike'%A%'; 专业资料整理

高级英语第一册Unit12 课后练习题答案

THE LOONS 课后习题答案/answer I . 1)The Tonnerres were poor The basis of their dwelling was a small square cabin made of poles and mud, which had been built some fifty years before. As the Tonnerres had increased in number, their settlement had been added, until thc clearing at the foot of the town hill was a chaos of lean-tos, wooden packing cases, warped lumber, discarded car tyres, ramshackle chicken coops, tangled strands of barbed wire and rusty tin cans. 2)Sometimes, one of them would get involved in a fight on Main Street and be put for the night in the barred cell underneath the Court House. 3)Because she had had tuberculosis of the bone, and should have a couple of months rest to get better. 4)Her mother first objected to take Piquette along because she was afraid that the girl would spread the disease to her children and she believed that the girl was not hygienic. She then agreed to do so because she preferred Piquette to the narrator's grandmother, who promised not to go along with the family and decided to stay in the city if the girl was taken along. 5)The cottage was called Macleod, their family name. The scenery there was quite beautiful with all kinds of plants and animals at the lakeside. 6)The narrator knew that maybe Piquette was an Indian descendant who knew the woods quite well, so she tried to ask Piquette to go and play in the wood and tell her stories about woods. 7)Because Piquette thought the narrator was scorning and showing contempt for her Indian ancestors, which was just opposite to her original intention. 8)Because the narrator felt somewhat guilty. Piquette stayed most of the time in the cottage and hardly played with the narrator. At the same time, she felt there was in Piquette something strange and unknown and unfathomable. 9)That was the very rare chance she was unguarded and unmasked, so that the author could perceive her inner world. 10)Her full name is Vanessa Macleod. 11)Just as the narrator's father predicted, the loons would go away when more cottages were built at the lake with more people moving in. The loons disappeared as nature was ruined by civilization. In a similar way, Piquette and her people failed to find their position in modern society. Ⅱ. 1)who looked deadly serious, never laughed 2)Sometimes old Jules, or his son Lazarus, would get involved in a rough, noisy quarrel or fight on a Saturday night after much drinking of liquor. 3)She often missed her classes and had little interest in schoolwork. 4)I only knew her as a person who would make other people feel ill at ease. 5)She lived and moved somewhere within my range of sight (Although I saw her, I paid little attention to her). 6)If my mother had to make a choice between Grandmother Macleod and

第一册新概念 课后习题答案

新概念英语第一册习题 Lesson 1 A About you Copy this dialogue. Add your own name at the end. 抄写这段对话,. 在结尾处加上你的名字。 Sue: Excuse me. ______ John: Yes? ______ Sue: What's your name? ______ John: Pardon? ______ Sue: What's your name? ______ John: My name is John. ______ Sue: What's your name? ______ You: My name is...... ______ B Vocabulary Write the correct words in the questions.. 用正确的词完成以下问句。 book car coat dress house√. pen pencil shirt wathc 1 Is this your h______? 6 Is this your c______? 2 Is this your w______? 7 Is this your c______? 3 Is this your sh ______? 8 Is this your d______? 4 Is this your b______? 9 Is this your p______? 5 Is this your p______? 10 Is this your s ______? C Numbers Write the numbers in figures.. 用阿拉伯数字表示以下数词。 three 3 ten______ one______ four______ six______ five______ eight_________ seven______ two______ nine______ Lesson 1 B 2 watch 3 shirt 4 book 5 pen 6 coat 7 car 8 dress 9 pencil 10 skirt C 10,1,4,6,5,8,7,2,9 新概念英语第一册习题Lesson 2 Lesson 2 Is this your....?这是你的....吗? A Structure Write questions with the words.用所给的词写出问句。 Handbag Is this your handbag? 1 book ______ 2 car ______ 3 coat ______ 4 dress ______ 5 house ______ 6 pen ______ 7 pencil ______ 8 shirt ______ 9 skirt ______ 10 watch ______ B Situations Look at the situations. Which expression do you use for each?针对所 给情景选择你应该说的话。

信号与系统课后习题答案—第1章

第1章 习题答案 1-1 题1-1图所示信号中,哪些是连续信号?哪些是离散信号?哪些是周期信号?哪些是非周期信号?哪些是有始信号? 解: ① 连续信号:图(a )、(c )、(d ); ② 离散信号:图(b ); ③ 周期信号:图(d ); ④ 非周期信号:图(a )、(b )、(c ); ⑤有始信号:图(a )、(b )、(c )。 1-2 已知某系统的输入f(t)与输出y(t)的关系为y(t)=|f(t)|,试判定该系统是否为线性时不变系统。 解: 设T 为此系统的运算子,由已知条件可知: y(t)=T[f(t)]=|f(t)|,以下分别判定此系统的线性和时不变性。 ① 线性 1)可加性 不失一般性,设f(t)=f 1(t)+f 2(t),则 y 1(t)=T[f 1(t)]=|f 1(t)|,y 2(t)=T[f 2(t)]=|f 2(t)|,y(t)=T[f(t)]=T[f 1(t)+f 2(t)]=|f 1(t)+f 2(t)|,而 |f 1(t)|+|f 2(t)|≠|f 1(t)+f 2(t)| 即在f 1(t)→y 1(t)、f 2(t)→y 2(t)前提下,不存在f 1(t)+f 2(t)→y 1(t)+y 2(t),因此系统不具备可加性。 由此,即足以判定此系统为一非线性系统,而不需在判定系统是否具备齐次性特性。 2)齐次性 由已知条件,y(t)=T[f(t)]=|f(t)|,则T[af(t)]=|af(t)|≠a|f(t)|=ay(t) (其中a 为任一常数) 即在f(t)→y(t)前提下,不存在af(t)→ay(t),此系统不具备齐次性,由此亦可判定此系统为一非线性系统。 ② 时不变特性 由已知条件y(t)=T[f(t)]=|f(t)|,则y(t-t 0)=T[f(t-t 0)]=|f(t-t 0)|, 即由f(t)→y(t),可推出f(t-t 0)→y(t-t 0),因此,此系统具备时不变特性。 依据上述①、②两点,可判定此系统为一非线性时不变系统。 1-3 判定下列方程所表示系统的性质: )()()]([)()(3)(2)(2)()()2()()(3)(2)()()()()() (2''''''''0t f t y t y d t f t y t ty t y c t f t f t y t y t y b dx x f dt t df t y a t =+=++-+=+++=? 解:(a )① 线性 1)可加性 由 ?+=t dx x f dt t df t y 0)()()(可得?????→+=→+=??t t t y t f dx x f dt t df t y t y t f dx x f dt t df t y 01122011111)()()()()()()()()()(即即 则 ???+++=+++=+t t t dx x f x f t f t f dt d dx x f dt t df dx x f dt t df t y t y 0212102201121)]()([)]()([)()()()()()( 即在)()()()()()()()(21212211t y t y t f t f t y t f t y t f ++前提下,有、→→→,因此系统具备可加性。 2)齐次性 由)()(t y t f →即?+=t dx x f dt t df t y 0)()()(,设a 为任一常数,可得 )(])()([)()()]([)]([000t ay dx x f dt t df a dx x f a dt t df a dx x af t af dt d t t t =+=+=+??? 即)()(t ay t af →,因此,此系统亦具备齐次性。 由上述1)、2)两点,可判定此系统为一线性系统。

ORACLE数据库习题(有答案)

--1.列出至少有一个雇员的所有部门。 SELECT * FROM DEPT WHERE DEPTNO IN (SELECT DISTINCT DEPTNO FROM EMP); --2.列出薪金比“SMITH”多的所有雇员。 SELECT * FROM EMP WHERE SAL>(SELECT SAL FROM EMP WHERE ENAME='SMITH'); --3.列出所有雇员的姓名及其上级的姓名。 SELECT AS empName, AS mgrName FROM emp ygb,emp sjb WHERE =; --4.列出入职日期早于其直接上级的所有雇员。 SELECT * FROM emp ygb WHERE hiredate<(SELECT hiredate FROM emp sjb WHERE =; --5.列出所有部门的名称和这些部门的雇员编号及姓名(没有雇员的部门包含在内) SELECT dname,ename FROM dept a LEFT JOIN emp b ON =; --6.列出所有JOB 为“CLERK”(办事员)的员工姓名及其部门名称 SELECT ename,dname FROM dept a,emp b WHERE = AND job='CLERK'; --7.列出各种类型的最低薪金,并使最低薪金大于。 SELECT job,MIN(sal) FROM emp GROUP BY job HAVING MIN(sal)>1500; --8.列出从事“SALES”(销售)工作的雇员的姓名,假定不知道销售部的部门编号。 SELECT ename FROM emp WHERE deptno=(SELECT deptno FROM dept WHERE dname='SALES'); --9.列出薪金高于公司平均水平的所有雇员。 SELECT * FROM EMP WHERE SAL>(SELECT AVG(SAL) FROM EMP); --10.列出与“SCOTT”从事相同工作的所有雇员。 SELECT * FROM EMP WHERE JOB=(SELECT JOB FROM EMP WHERE ENAME='SCOTT') AND ENAME<>'SCOTT'; --11.列出薪金等于部门中任何一个雇员薪金的员工姓名和 薪金 SELECT ENAME,SAL FROM EMP WHERE SAL IN(SELECT SAL FROM EMP WHERE DEPTNO=30); SELECT ENAME,SAL FROM EMP WHERE SAL =ANY(SELECT SAL FROM EMP WHERE DEPTNO=30); --12.列出薪金高于部门中所有雇员薪金的员工姓名和薪金SELECT * FROM EMP WHERE SAL >ALL(SELECT SAL FROM EMP WHERE DEPTNO=30); --13.列出所有部门的部门名称、地点以及该部门中雇员的数量 SELECT DNAME,DEPTNO,LOC, (SELECT COUNT(*) FROM EMP E WHERE = AS TOTAL FROM DEPT; --14.列出各种类别工作的最低工资 SELECT job,MIN(sal) FROM emp GROUP BY job; --15.列出各个部门的MANAGER(经理)的最低薪金。 SELECT MIN(sal) FROM emp WHERE job='MANAGER' GROUP BY DEPTNO; --1. 查询所有部门员工的编号、姓名、月薪及奖金。 select empno,ename,sal,comm from emp where deptno=10; --2. 查询员工WHITE的员工编号。 select empno from emp where ename='WHITE'; --3. 查询所有员工的编号及收入。(提示:收入=月薪+奖金)select empno 编号,sal+nvl(comm,0) as 收入from emp; --4. 查询所有员工的编号、姓名、工种及其工龄,按工龄降序排序,工龄相同时按编号升序排序。 Select empno,ename,job,trunc(months_between(sysdate,hiredate)/12) 工龄from emp order by 工龄desc,empno asc; --5. 统计各部门的员工人数及工种类型数。 select deptno,count(*) 人数,count(distinct job) 工种类型数from emp group by deptno; --6. 查询部门人数多于人的部门编号。 select deptno,count(*) from emp group by deptno having count(*) > 3; --7. 统计各部门各种工作类别的最低月薪,显示最低薪金大于的记录。 select deptno,job,min(sal) from emp group by deptno,job having min(sal)>1500; --8. 统计、及部门员工平均工资。 select deptno,coung(*) from emp where deptno in (10,20,30) group by deptno; --9. 查询工资水平在至间的各部门员工人数。 select deptno,count(*) from emp where sal between 2000 and 5000 group by deptno; --10. 查询公司最高领导人的员工编号及姓名。 select empno,ename from emp where mgr is null; --1、编写一查询,显示与Blake在同一部门工作的雇员的姓名和受雇日期,但是Blake不包含在结果内。 select ename,hiredate from emp where deptno in (select deptno from emp where lower(ename)='black') and lower(ename)!='black'; --2、创建一查询,显示工资大于平均工资水平的雇员的编号及姓名,输出结果按工资降序排列。 select empno,ename,sal from emp where sal>(select avg(sal) from emp) order by sal desc; --3、显示位置在Dallas的部门内的雇员的姓名、编号及工作。 select ename,empno,job from emp inner join dept on = where lower(loc)='dallas'; --4、显示被King直接管理的雇员的姓名及其工资。 select , from emp e1 inner join emp e2 on = where lower='king'; --5、显示在Sales部门工作的雇员的部门编号、姓名及工作。 select empno,ename,job from emp inner join dept on = where lower(dname)='sales'; --6、编写一查询,显示与能获得奖金的雇员的奖金和工资同时匹配的雇员的编号和工资。 select ,, from emp e1 inner join emp e2 on = and = where !=; --7、显示与工作在Dallas的雇员的工资及奖金同时匹配的雇员的姓名、部门名称及工资。 select ,, from emp e inner join dept d on = where (sal,nvl(comm,0)) in (select sal,nvl(comm,0) from emp where deptno in (select deptno from dept where lower(loc)='dallas') ); --8、创建一查询,显示能获得与Scott一样工资和奖金的其他雇员的姓名、受雇日期及工资。 select ename,hiredate,sal from emp where (sal,nvl(comm,0)) in

相关文档
相关文档 最新文档