文档库 最新最全的文档下载
当前位置:文档库 › Linux教程第四版课后习题2

Linux教程第四版课后习题2

Linux教程第四版课后习题2
Linux教程第四版课后习题2

思考题2

2.1简述Linux命令的一般形式。

答:command [-option] parameter1 parameter2...

2.2请说明以下命令的功能:date,cd,cp,pwd,rm,mkdir,echo,who,ls,cat,more,man。

答:date命令:显示当天日期;cd命令:切换目录;cp命令:复制文件pwd命令:显示当前用户工作目录;rm命令:删除文件;

mkdir命令:建立目录;echo命令:将参数表示的内容显示在屏幕上;

who命令:显示哪些用户在使用系统;ls命令:列出某个目录下的文件;

cat命令:显示参数表示文件的内容;more命令:显示文件内容;

man命令:帮助命令,可以查看所有Linux命令的帮助信息。

2.3公元2000年的元旦是星期几?

答:星期六

2.4什么是文件?Linux下主要有哪些不同类型的文件?

答:Linux中文件是指文件系统中存储数据的一个命名对象;Linux下主要

的文件类型有:普通文件、目录文件、设备文件、符号链接文件。

2.5确定当前工作目录是什么?把工作目录改到父目录上,然后用长格式列出其中所有的内容。

答:确定当前工作目录: pwd ;把工作目录改到父目录上: cd / ;然后用长格式列出其中所有内容: ls 或者是ll 。

2.6在所用的Linux系统上,根目录下含有哪些内容?各自功能是什么?

答:1.bin:包含二进制文件的可执行程序。

2.sbin:存放用于管理系统的命令。

3.boot:用于存放引导系统时使用的各种文件。

4.etc:非常重要,它包含许多Linux系统配置文件。

5.dev:包含标示设备的特别文件,这些文件用于访问系统中所有不同

类型的硬件。

6.home:是用户起始目录的基础目录。

7.mnt:存放安装文件系统的安装点。

https://www.wendangku.net/doc/0217116585.html,r:包含了多个子目录,这些子目录中保存系统上一些重要的程序,

可供所有用户共享。

9.var:包括系统正常运行时要改变的数据。

10.lib:保存程序运行时使用的共享库。

11.root:是超级用户的目录。

12.tmp:用于存放程序运行时生成的临时文件。

2.7说出下列每一项信息各对应哪类文件:

(1) drwxr-xr-x (2) /bin (3) /etc/passwd (4) brw-rw-rw

(5) /dev/fd0 (6) /usr/ib (7) -rwx--x--x

答:(1)用户目录文件(2)普通用户的可执行文件夹(3)用户密码文件

(4)块设备文件(5)软驱设备文件(6)系统库文件夹(7)用户命令文件

2.8要想改变目录列表中下面三部分的内容,应该分别用什么命令?

(1) -rwxr--r-- (2) N (3) …ABC

答:(1)chmod (2)ln (3)mv

2.9请给出下列命令执行的结果:

(1) cd (2) cd .. (3)cd ../.. (4)cd /

答:(1)无论任何位置均直接跳转至家目录(2)跳至当前目录的上一级目录(3)跳至当前目录的上一级目录的上一级目录(4)无论任何位置均跳转至根目录。

2.10 cp, copy和mv命令在何异同?

答:cp是把一个文件复制到另外一个地方,原来文件保留,mv是把一个文件移动到另外一个地方,原来的位置不再保留原来的文件,相当于window的“剪切”。Linux下没有copy这个命令。

2.11用什么命令能把两个文件合并成一个文件?

答:$ cat file1.txt file2.txt > file.txt

2.12如何确定系统中是否有ps命令?如果有,它的功能是什么?

答:Test –e ps, ps命令可以方便的查看用户所拥有的进程。

2.13要确定在文件ABC中是否含有表示里期六或着里期日字符的行,应使用什么命令?

答:grep -iE ‘saturday|sunday’ ABC

2.14如何对文件ABC分别按字真顺序、月份顺序。算术值进行排序?

答:字典顺序:sort -d ABC;月份顺序:sort -M ABC;算术值顺序:sort -n ABC

2.15下有两个子目录a1, b2,以及5个普通义件。如果想删除ABC目录,应使用什么命令?

答:rm -d ABC

2.16如何用一个命令行统计给定目承中有多少个子目录?

答:ls -l |grep -E ‘ ^d’|wc -l

2.17类似于DOS下的dir, del, type命令的Linux命令各是什么?

答:ls mdel mtype

2.18试说明find,tee,gzip命令的功能。

答:find:find指令用于在目录结构中搜索文件,并执行指定的操作。

tee:tee命令主要被用来向standout(标准输出流,通常是命令执行窗口)输出的同时也将内容输出到文件。

gzip:gzip 是linux中常见的压缩/解压工具。

Linux教程第四版课后习题4答案

第四章 4.1常用的有哪儿种系统中默认的是什么? 答:几种常见的:、、、、 下默认的是 () 4.2简述的主要功能。有什么特点? 答:是系统的用户界面,提供了用户与内核进行交互操作的一种接口。它接收用户输入的命令并把它送入内核去执行。 引用、多命令执行、命令行展开:~ {}、命令的执行状态结果、多命令执、命令补全:$、路径补全:、命令缓存表、命令别名:, 命令历史:、文件名通配符:、变量、快捷键。 4.3执行脚本的方式是哪些? 答:1、输入定向到脚本。该方式用输入重定向方式让从给定文件中读入命令行,并进行相应处理。其一般形式是: $<脚本名例如: $ <1 2、以脚本名作为参数。其一般形式是: $脚本名 [参数] 3、将脚本的权限设置为可执行,然后在提示符下直接进行。

4.4将主提示符改为用户的主目录名,并予以输出。 答:1= $ $ 4.5说明三种引号的作用有什么区别。 答:中有三种引号,分别为双引号(" ")、单引号(' ')以及反引号(` `)。 双引号(" "):在双引号中,除了$, '', `和\以外所有的字符都解释成字符本身。 单引号(' '):在单引号中所有的字符包括特殊字符($,'',`和\)都将解释成字符本身而成为普通字符。 反引号(` `):在反引号中的字符串将解释成命令来执行。 4.6利用变量赋值方式,将字符串 c:>\$\*显示出来。 答:$ $ $ ”c:>\$\*” 4.7显示环境变量的设置情况,说明各自的意义。 答: 只对当前的起作用的环境变量 1、控制台中设置,不赞成这种方式,因为他只对当前的起作用,换一个设置就无效了:

直接控制台中输入: $"$" (关闭会还原为原来的) 对所有的用户的都起作用的环境变量 2、修改文件,如果你的计算机仅仅作为开发使用时推存使用这种方法,因为所有用户的都有权使用这个环境变量,可能会给系统带来安全性问题。这里是针对所有的用户的,所有的 在的最下面添加: "$" 针对当前特定的用户起作用的环境变量 3、修改文件,这种方法更为安全,它可以把使用这些环境变量的权限控制到用户级别,这里是针对某一特定的用户,如果你需要给某个用户权限使用这些环境变量,你只需要修改其个人用户主目录下的文件就可以了。 在下面添加: "$"。 4.8 分析下列脚本的功能: $# [$ 0] "$ \$$ ” ‘ $1’

全新版大学英语(第二版)综合教程4课后练习答案

全新版大学英语综合教程4(第二版)习题答案 Unit 1 Vocabulary I. 1. 1) alliance 2) at the cost of 3) stroke 4) limp 5) minus 6) regions 7) declarations 8) siege 9) raw 10) bide his time 11) have taken their toll 12) in the case of 2. 1) is faced with 2) get bogged down 3) is pressing on / pressed on 4) drag on 5) get by 6) dine out 7) have cut back 8) get through 3. 1) lead to the conquest of cancer in the near future 2) has been brought to a halt by the delayed arrival of raw materials due to the dock workers’ strike 3) will/should never get in the way of her career 4) caught the foreign minister off guard 5) of the electronic calculator has rendered the slide rule out of date/obsolete 4. 1) Being faced with … the occupation of … regions 2) crucial to … efficient … to reckon with … weaken … be brought to a halt 3) a heroic … the decisive … turned the tide … siege … by launching II. More Synonyms in Context 1) During the First World War, battles occurred here and there over vast areas. Some of the most dramatic fighting took place in the gloomy trenches of France and Belgium. 2) Elizabeth made careful preparations for the interview and her efforts / homework paid off. 3) I spent hours trying to talk him into accepting the settlement, but he turned a deaf ear to all my words. 4) Pneumonia had severely weakened her body, and I wondered how her fragile body could withstand the harsh weather. III. Usage 1) fall ill 2) lay dead at home for two weeks 3) dropped dead from a heart attack 4) fell asleep. 5) marrying young 6) to sit still for longer than a few minutes

数据库系统基础教程(第二版)课后习题答案

Database Systems: The Complete Book Solutions for Chapter 2 Solutions for Section 2.1 Exercise 2.1.1 The E/R Diagram. Exercise 2.1.8(a) The E/R Diagram Kobvxybz Solutions for Section 2.2 Exercise 2.2.1 The Addresses entity set is nothing but a single address, so we would prefer to make address an attribute of Customers. Were the bank to record several addresses for a customer, then it might make sense to have an Addresses entity set and make Lives-at a many-many relationship. The Acct-Sets entity set is useless. Each customer has a unique account set containing his or her accounts. However, relating customers directly to their accounts in a many-many relationship conveys the same information and eliminates the account-set concept altogether. Solutions for Section 2.3 Exercise 2.3.1(a) Keys ssNo and number are appropriate for Customers and Accounts, respectively. Also, we think it does not make sense for an account to be related to zero customers, so we should round the edge connecting Owns to Customers. It does not seem inappropriate to have a customer with 0 accounts;

全新版大学英语综合教程2[第二版]课后答案解析

Unit1 Ways of Learning Vocabulary I 1. 1)insert 2)on occasion 3)investigate 4)In retrospect 5)initial 6)phenomena 7)attached 8)make up for 9)is awaiting 10)not; in the least 11)promote 12)emerged 2. 1) a striking contrast between the standards of living in the north of the country and the south. 2)is said to be superior to synthetic fiber. 3)as a financial center has evolved slowly. 4)is not relevant to whether he is a good lawyer. 5)by a little-known sixteen-century Italian poet have found their way into some English magazines. 3. 1)be picked up; can’t accomplish; am exaggerating 2)somewhat; the performance; have neglected; they apply to 3)assist; On the other hand; are valid; a superior II 1. 1)continual 2)continuous 3)continual 4)continuous 2. 1)principal 2)principal 3)principle 4)principles 5)principal III 1.themselves 2.himself/herself 3.herself/by herself/on her own 4.itself 5.ourselves 6.yourself/by yourself/on your own Comprehensive Exercises I.cloze 1.

全新版大学英语综合教程4课后习题含答案

全新版大学英语综合教程4课后习题答案 Unit 1 I. Vocabulary 1. 1) alliance 2) at the cost of 3) stroke 4) limp 5) minus 6) regions 7) declarations 8) siege 9) raw 10) bide his time 11) have taken their toll 12) in the case of 2. 1) is faced with 2) get bogged down 3) is pressing on / pressed on 4) drag on 5) get by 6) dine out 7) have cut back 8) get through 3. 1)The rapid advance in gene therapy may lead to the conquest of cancer in the near future. 2)Production in many factories has been brought to a halt by the delayed arrival of raw materials due to the dock workers’strike. 3)Sara has made up her mind that her leisure interests will/should never get in the way of her career. 4)Obviously the reporter's question caught the foreign minister off guard. 5)The introduction of the electronic calculator has rendered the slide rule out of date. 4. 1)Being faced with an enemy forces much superior to ours, we had to give up the occupation of big cities and retreat to the rural and mountainous regions to build up our bases. 2)Unity is crucial to the efficient operation of an organization. Failure to reckon with this problem will weaken its strength. In many cases, work may be brought to a halt by constant internal struggle in an organization. 3)The Red Army fought a heroic battle at Stalingrad and won the decisive victory against the Germans.In fact, this battle turned the tide in the Second World War. During this famous battle, the Soviet troops withstood the German siege and weakened the German army by launching a series of counterattacks. II. More Synonyms in Context 1) During the First World War, battles occurred here and there over vast areas. Some of the most dramatic fighting took place in the gloomy trenches of France and Belgium. 2) Elizabeth made careful preparations for the interview and her efforts / homework paid off. 3) I spent hours trying to talk him into accepting the settlement, but he turned a deaf ear to all my words.

工程数学基础教程课后习题答案

工程数学基础习题解答

习题一 A

一、判断题 1.√;, 2.√; 3.×; 4.×; 5.×; 6.×; 7.×; 8.√; 9.√;10.×. 二、填空题 1.;C C A B 2.111(){1,2,3,4},(){,,},(){,,},(){1,4},(){2,3};f f a b e f A a b e f B f b --=====D R 3.满; 4.2sup = E ,3inf -=E ; 5.0; 6.0; 7. n ; 8.Y . B 1.证 ()y f A B ?∈?,x A B ?∈?使得)(x f y =.由x A B ∈?,得x A ∈,且x B ∈故()()y f x f A =∈且()y f B ∈,即()()y f A f B ∈?,因此()()()f A B f A f B ???. 当f 是单射时,只需证明()()()f A f B f A B ???即可: ()()(),y f A f B f ?∈??R f 由是单射知,(). (),(),1X y f x y f A y f B x ?=∈∈∈使得且 ,,()(),x A x B x A B y f x f A B ∴∈∈∈?=∈?且即从而故()()()f A f B f A B ???. 是可能的,例如, 2:,[2, 0],[1, 3],[1, 0].f x x A B A B =-=-?=-取则()([1,0])[0, 1], f A B f ?=-=于是而 [][]()()0, 4[0, 9]0, 4.f A f B ?=?=从而有 . 2. 证(1)n ?∈,有)2 ,2(12 ,12][-?-+-n n ,故 ∞ =-?-+-1)2 ,2(12 12][n n ,n . 另一方面,)2 ,2(-∈?x ,k ?∈ ,使][12 ,12k k x -+-∈,故 ∞ =-+-∈1 ][12 12n n ,n x ,于是 ? -)2 ,2( ∞ =-+-1 ][12 12n n ,n . 因此, ∞ =-+-= -1 ][12 ,12)2 ,2(n n n . (2)n ?∈,有)12 ,12(]2 ,2[n n +--?-,故 ∞ =+--?-1)12 ,12(]2 ,2[n n n . 另一方面,对任意]2 ,2[-?x ,即2>x ,k ?∈ ,使得212>+>k x ,即 )12 ,12(k k x +--?,从而 ∞ =+--?1)12 ,12(n n n x ,故 ∞ =-?+--1 ]2,2[)12 ,12(n n n .

大学英语综合教程2课后答案

大学英语综合教程2课后答案 Unit 1 Text A Vocabulary I. 1.1) insert 2) on occasion 3) investigate 4) In retrospect 5) initial 6) phenomena 7) attached 8) make up for 9) is awaiting 10) not?in the least 11) promote 12) emerged 2. 1) There is a striking contrast between the standards of living in the north of the country and the south. 2) Natural fiber is said to be superior to synthetic fiber. 3) The city’ s importance as a financial center has evolved slowly. 4) His nationality is not relevant to whether he is a good lawyer. 5) The poems by a little-known sixteenth-century Italian poet have found their way into some English magazines. 3. 1) be picked up, can’ t accomplish, am exaggerating 2) somewhat, performance, have neglected, they apply to 3) assist, On the other hand, are valid, a superior II.

《Linux系统应用与开发教程》所有课后习题和答案

《Linux系统应用与开发教程》所有课后习题和答案 第1章Linux概述 (1) 第2章shell及常用命令 (4) 第3章vi编辑器的使用 (7) 第4章X Window系统的使用 (9) 第5章Linux系统的常用软件 (11) 第6章硬件管理 (11) 第7章网络基本配置 (12) 第8章常用网络服务的配置和使用 (15) 第9章系统管理与监控 (19) 第10章Linux系统的安全管理 (21) 第11章shell程序设计 (24) 第12章gcc的使用与开发 (26) 第13章gtk+图形界面程序设计 (27) 第14章Qt图形界面程序设计 (28) 第15章集成开发环境KDevelop的使用 (31) 第1章 Linux概述 1.什么是Linux? Linux是一套免费使用和自由传播的类UNIX操作系统,源代码开放,能运行于各类硬件平台,包括Intel x86系列和RISC处理器。这个系统是由世界各地成千上万的程序员设计和实现的。其目的是建立不受任何商品化软件的版权制约的、全世界都能自由使用的UNIX兼容产品。 2.Linux有哪些特性? (1)开放性 (2)多用户 (3)多任务 (4)良好的用户界面 (5)设备独立性 (6)丰富的网络功能

(7)可靠的系统安全 (8)良好的可移植性 3.Linux与Windows操作系统的主要区别是什么? (1)从发展的背景看,Linux是从一个比较成熟的操作系统发展而来的,而其他操作系统,如Windows等,都是自成体系,无对应的相依托的操作系统 (2)从使用费用上看,Linux是一种开放、免费的操作系统,Windows是封闭的系统,需要有偿使用。 (3)Linux上丰富的应用软件也是自由的,而在Windows下,几乎所有的软件都有独立的版权,需要购买使用,即使某些软件可以免费使用,也一般不提供其源代码,更不用说由用户修改扩充其功能了。 (4)Windows对硬件配置要求高,而Linux在低端PC系统上仍然可以流畅运行4.Linux与Unix的共同点与不同点是什么? 共同点:由于Linux是从Unix发展来到,它遵循Unix开放标准,基本支持同样的软件、程序设计环境和网络特性,可以说Linux是UNIX的PC版本,Linux在PC机上提供了相当于UNIX工作站的性能。 与商用Unix的不同点有:1)Linux是免费软件,用户可以从网上下载,而商用的UNIX除了软件本身的价格外,用户还需支付文档、售后服务费用;2)Linux拥有GNU软件支持,Linux能够运行GNU计划的大量免费软件,这些软件包括应用程序开发、文字处理、游戏等方面的内容;3)Linux的开发是开放的,任何志愿者都可以对开发过程做出贡献;而商用UNIX则是由专门的软件公司进行开发的。 与自由Unix的不同点: 1)在组织方式上,FreeBSD由它的核心团队(core team)的领导,他们负责原始程序的开发与维护。有core team的优点是原始程序会有一致性,会有组织的被更新,但是整个系统的活力操纵在core team手中,缺乏活力。Linux没有核心团队,在Linus的主导下来自世界各地的爱好者都可以发布自己的patch,缺点是源代码杂乱无章且可能会相互冲突。 2)在发展方向上,FreeBSD的核心团队将主要精力投入在UNIX自身的风格和特点上。Lin ux通常会首先加入商品化系统上的各种东西,比如新的硬件驱动、samba等。因此,从易用和可用上讲,Linux更容易上手和使用。 3)在系统核心功能上二者区别不大,但在Linux系统上,几乎可是找到任何需要的功能 4)在系统的性能上,据专家分析,FreeBSD在网络性能、软件移植性和系统规范化上略胜一畴,而在硬件支持、磁盘IO操作等方面Linux略强一些。 5.什么是GNU软件,什么是GPL和LGPL? GUN项目主要由自由软件基金资助的一个项目,目标是开发一个自由的、UNIX类型的操作系统,称为GNU系统。GNU是―GNU’s Not UNIX‖的首字母的递归缩写,目前使用Linux内

全新版大学英语综合教程4课后习题集答案解析

全新版大学英语综合教程4【第二版】习题答案 主编:李荫华 上海外语教育出版社 Unit 1 Part II Text A lexf Organization Parts Paragraphs Main Ideas Part One Paras 1-2 Introduction — Both Napoleon's and Hitler's military campaigns failed because of the severity of the Russian winter. Part Two Paras 3-11 Napoleon's military campaign against Russia Part Three Paras 12-20 Hitler's military campaign against the Soviet Union Part Four Para 21 Conclusion—the elements of nature must be rekoned with in any military campaign. 2. Sections Paragraphs Main Ideas Section One Paras 12-13 Hitler's blitzkrieg against Russia and Stalin's scorched earth policy Section Two Paras 14-18 the battles fought at Leningrad, Moscow and Stalingrad Section Three Paras 19-20 the Russian counter-offensive and the outcome of the war Vocabulary I. 1. 1) alliance 2) at the cost of 3) stroke 4) limp 5) minus 6) regions 7) declarations 8) siege 9) raw 10) bide his time 11) have taken their toll 12) in the case of 2. 1) is faced with 2) get bogged down 3) is pressing on / pressed on 4) drag on 5) get by 6) dine out

MATLAB基础教程薛山第二版课后习题答案讲解

《及应用》实验指导书 《及应用》实验指导书 班级: T1243-7 姓名:柏元强 学号: 20120430724 总评成绩: 汽车工程学院 电测与汽车数字应用中心

目录 实验04051001 语言基础..................... 错误!未指定书签。实验04051002 科学计算及绘图............. 1错误!未指定书签。实验04051003 综合实例编程.. (31)

实验04051001 语言基础 1实验目的 1) 熟悉的运行环境 2) 掌握的矩阵和数组的运算 3) 掌握符号表达式的创建 4) 熟悉符号方程的求解 2实验内容 第二章 1. 创建的变量,并进行计算。 (1) 87,190,计算 、、a*b 。 (87); (190); *b (2) 创建 8 类型的变量,数值与(1)中相同,进行相同的计算。 8(87); 8(190); *b 2.计算: (1) 操作成绩 报告成绩

(2) e3 (3) (60) (3) (3*4) 3.设,,计算: (1) (2) (3) 23; (4*u*v)(v) (((u))^2)/(v^2) ((3*v))/(u*v) 4.计算如下表达式: (1) (2) (3-5*i)*(4+2*i) (2-8*i) 5.判断下面语句的运算结果。 (1) 4 < 20

(2) 4 <= 20 (3) 4 20 (4) 4 20 (5) 'b'<'B' 4 < 20 , 4 <= 20,4 20,4 20,'b'<'B' 6.设,,,,判断下面表达式的值。 (1) (2) (3) (4) (5) (6) 395837; a><>>> 7.编写脚本,计算上面第2题中的表达式。 ('(60)='); ((60)) ('(3)='); ((3)) ('(3*4)='); ((3*4)) 8.编写脚本,输出上面第6题中的表达式的值。395837;

全新版大学英语(第二版)综合教程2课后答案及翻译

全新版大学英语(第二版)综合教程2课后答案及翻译 9大学英语练习册2 9单元1 ★课文a 词汇I. 1.1)插入2)在场合3)调查4)回顾5)最初的现象 7)附上8)弥补9)正在等待10)不…至少11)促进1 2)出现 2。这个国家的北部和南部的生活水平有着鲜明的对比。据说天然纤维优于合成纤维。这座城市作为金融中心的重要性发展缓慢。4)他的国籍与他是否是一名好律师无关。一位鲜为人知的16世纪意大利诗人的诗被一些英文杂志转载。 3。1)捡起来,不能完成,有点夸张 2)表现,忽略了,他们申请3)协助,另一方面,是有效的,一个上级2。 1。1)连续2)连续3)连续4)连续 2。1)原则2)原则3)原则4)原则5)原则3。 1。他们自己2。他/她自己3。她自己/独自/独自一人。本身5。我们自己。你自己/你自己/你自己的综合练习一。完形填空 1。1)对比2)夸大3)优先级4)另一方面5)提升 6)拾起7)协助8)完成9)偶尔10)忽略 11)值得的12)优越的 2。1)结束2)执行3)面对4)胜任5)装备

6)设计7)方法8)休息9)绝对10)质量 2。翻译 1。1)背离传统需要巨大的勇气。汤姆过去很害羞,但这次他足够大胆,在一大群观众面前表演了一场。 3)许多教育者认为在孩子很小的时候培养他们的创新精神是可取的。假设这幅画真的是一幅杰作,你认为它值得买吗? 5)如果数据在统计上是有效的,它将揭示我们正在调查的问题。2。为了提高我们的英语,多读、多写、多听、多说是至关重要的。此外,背诵尽可能多的好文章也很重要。如果你头脑中没有大量优秀的英语写作,你就不能用英语自由地表达自己。在学习过程中总结我们的经验也是有帮助的,因为这样做,我们可以找出哪种学习方式更有效,会产生最理想的结果。只要我们继续努力,我们将在适当的时候完成掌握英语的任务。★文本B 理解检查:c c d a c b语言练习1。g h e c f a b d 2。1)采用2)账户3)从你的角度来看4)最终5)此外6)基金7)年度跟踪9)步调10)打算11)观点12)设计 单元2 ★文本A词汇表 1。1.1)突如其来的情感3)祝福4)磨损5)日期 6)后果7)似乎8)与9)好奇10)真正的11)主要是12)情感 2)相反。1)当你面临不止一个问题时,先试着解决最简单的一个。水对于所有生命形式的存在都是至关重要的。

linux课后习题答案教材课后习题参考答案

第 1 章Linux 概况 一、选择题 1、下列哪个选项不是Linux 支持的? A. 多用户 B. 超进程 C. 可移植 D. 多进程 2、Linux 是所谓的“Free Software”,这个“Free”的含义是什么? A. Linux 不需要付费 B. Linux 发行商不能向用户收费 C. Linux 可自由修改和发布 D.只有Linux 的作者才能向用户收费 3、以下关于Linux 内核版本的说法,错误的是? A. 依次表示为主版本号.次版本号.修正次数的形式 B. 1.2.2 表示稳定的发行版 C. 2.2.6 表示对内核2.2 的第6 次修正 D. 1.3.2 表示稳定的发行版 4、以下哪个软件不是Linux 发行版本? A. 红旗 Server 4 B. Solaris 10 C. RedHat 9 D. Fedora 8 5、与Windows 相比Linux 在哪个方面相对应用得较少? A. 桌面 B. 嵌入式系统 C. 服务器 D. 集群 A6、Linux 系统各组成部分中哪一项是基础? A.内核 B. X Window C. Shell D. Gnome B7、Linux 内核管理不包括的子系统是哪个? A. 进程管理系统 B. 内存管理系统 C. 文件管理系统 D. 硬件管理系统 A8、下面关于Shell 的说法,不正确的是哪个? A. 操作系统的外壳 B. 用户与Linux 内核之间的接口 C. 一种和C 类似的高级程序设计语言 D. 一个命令语言解释器 B9、以下哪种Shell 类型在Linux 环境下不能使用? A.B Shell B.K Shel C.R Shell D.Bash 10、在Linux 中把声卡当作何种设备? A. 字符设备 B. 输出设备 C. 块设备 D. 网络设备 二、填空题 1、Linux 采用 LRU 算法(最近最少使用)算法,淘汰最近没有访问的

ml基础教程课后习题解答

X M L基础教程课后习 题解答 内部编号:(YUUT-TBBY-MMUT-URRUY-UOOY-DBUYI-0128)

XML基础教程课后习题 习题一 1.答:HTML是用来编写Web页的语言、不允许用户自定义标记,HTML体现数据的显示格式。XML描述数据的组织结构、可自定义标记,其标记名称是对标记所包含的数据内容含义的抽象,而不是数据的显示格式。 2.答:使用UTF-8保存 5.答:(1)不可以,(2)可以,(3)不可以 6.答:: time { display:block;font-size:18pt;font-weight:bold } hour { display:line;font-size:16pt;font-style:italic } mimute { display:line;font-size:9pt;font-weight:bold } 习题二1.答:(1)使用ANSI编码。(2)可以。(3)不合理。 2.答:不相同。 3.答:(1)和(2)。 4.答:。

5.答:“root”标记包含的文本内容都是空白字符。“a1”标记包含的文本内容:。“a2”标记包含的文本内容: 子曰"有朋自远方来,不亦乐乎"。 习题三1.答:一个规范的XML文件如果和某个DTD文件相关联,并遵守该DTD文件规定的约束条件,就称之为有效的XML文件。 2.答:DTD文件的编码必须和其约束的XML文件的编码相一致。 3.答:无关。 4.答:(1) 使用SYSTEM文档类型声明的格式: (2) 使用PUBLIC文档类型声明的格式: 5.答:一定。 6.答:(1)约束标记“张三”必须有“学号”属性 (2)约束标记“张三”必须有“学号”属性,而且学号的属性值是固定的220123。 (3)约束标记“张三”可以有也可以没有“学号”属性。 7.答:ID类型的属性的属性值具有互斥性,即所有ID类型的属性的属性值必须互不相同。 8.答:不合理。 9.答:(1)、(3)和(4)。 10.答,不是有效的。将修改为有效:

新世纪大学英语综合教程2课后答案(全)

1.Only those who have lived through a similar experience can fully appreciate this. 只有那些有过类似经历的人,才能够完全理解这一点。 2. Scientists have been hard pressed to figure out how these particles form and interact . 科学家一直没弄明白这些粒子是怎么形成的、又是如何相互作用的。 3. I’d like to express my special thanks to everyone who has contributed over the years in one way or another. 我要特别感谢每一个在这些年来以不同方式作出贡献了的人。 4. The individual success of the employees in a team environment results in success for the company. 团队环境中员工个人的成功能带来公司的成功。 5. The war, although successful in military terms, left the economy almost in ruins. 这场战争,虽说从军事角度而言是成功的,却另经济几乎崩溃。 6. He decided to channel his energies into something useful, instead of being glued to the TV set all day. / instead of sitting in front of the TV set all day long. 他决定把自己的精力用在有益的事上,而不是整天守在电视机前。 7. There is a difference between strength and courage. It takes strength to survive. It takes courage to live. 力量与勇气是有区别的。生存需要力量,生活需要勇气。 8. She was by nature a very affectionate person, always ready to give a helping hand to others. 她天生是个温柔亲切的人,总是乐于向别人伸出援手。 Unite 6 1.It is only by trail and error that we learn and progress / make progress. 只有通过反复实践我们才能学习和进步。 2.You should know that the education of the heart is very important. It will distinguish you from others. 你应该知道心灵的教育是很重要的。它会使你与众不同。 3. A person who strives for perfection tends to have a low threshold of pain. Things around bother them. 一个追求完美的人对痛苦的容忍度往往很低。周围的事物都会让他们看不顺眼。 4.They regard honesty as a matter of principle and they are willing to sacrifice everything for its sake. 他们认为正直是个原则问题,愿意为之牺牲一切。 6.People judge you by the company you keep. You are inviting trouble if you get into bad company. 人们根据你交往的朋友来判断你。如果与坏人为伍,你就是自找麻烦。 6) Speaking your mind without regard to other people’s feelings is not a virtue. 直言不讳、不顾其他人的感受不是一种美德。 7) Her sensitivity exposes her to more suffering and pain than ordinary people can imagine. 她的敏感另她承受的痛苦比普通人所能想象的要多。 8) We must awaken people to the need to protect our environment. 我们必须使人们意识到保护坏境的必要性。

Linux.课后题答案

第二章常用命令 选择题 1. 若要设置/usr/myprog文件的拥有者有读、写和可执行权限,用户组和其他用户均没有对该文件的操作权限,以下操作命令中,正确的是(A )。 A. chmod 700 /usr/myprog B. Chown 700 /usr/myprog C. Chmod u=rwx /usr/myprog D. Chmod u=rwx go-r-w-x /usr/myprog 2.Linux命令的续行符使用( B )。 A. / B. \ C. ; D. & 3.在Linux中,若要返回上三级目录,由应使用( C )命令。 A. cd/ B. cd ../../ C. cd ../../../ D. cd - 4.以下命令用法中,功能与ll相同的是(B )。 A. ls -a B. ls -l C. ls -la D. ls -F 5.若要删除/usr/mytest目录及其下的子目录和文件,以下操作正确的是(D ) A.rmdir /usr/mytest B. rm /usr/mytest C. rm –f /usr/mytest D. rm –r /usr/mytest 6.在对目录进行复制、删除或移动操作时,如果要对整棵目录树进行操作,应在命令中选择使用(A )参数。 A. –r B. -f C. -b D. -i 7.以下命令中,不能用来查看文本文件内容的命令是( D )。 A.less B. cat C. tail D. diff 8.若要列出/etc/目录下所有以vsftpd开头的文件,以下命令中,不能实现的是( B )。 A. ls /etc|grep vsftpd B. ls /etc/vsftpd C. ls /etc/vsftpd* D. ll /etc/vsftpd* 9.在Linux系统中,若要查看当前文件系统的剩余空间,则可作用(A )命令。 A. df B. du C. free D. uptime 10.Linux在查看文件内容过程中用光标可以上下移动来查看文件内容的命令是( B )。 A. cat B.less C.more D. tail 11.使用chmod 551 file1对其进行了权限修改,用ls –al 查看到如下的几个文件权限,

全新版大学英语综合教程4课后习题标准答案

全新版大学英语综合教程4课后习题答案

————————————————————————————————作者:————————————————————————————————日期: 2

全新版大学英语综合教程4课后习题答案 Unit 1 I. Vocabulary 1. 1) alliance 2) at the cost of 3) stroke 4) limp 5) minus 6) regions 7) declarations 8) siege 9) raw 10) bide his time 11) have taken their toll 12) in the case of 2. 1) is faced with 2) get bogged down 3) is pressing on / pressed on 4) drag on 5) get by 6) dine out 7) have cut back 8) get through 3. 1)The rapid advance in gene therapy may lead to the conquest of cancer in the near future. 2)Production in many factories has been brought to a halt by the delayed arrival of raw materials due to the dock workers’strike. 3)Sara has made up her mind that her leisure interests will/should never get in the way of her career. 4)Obviously the reporter's question caught the foreign minister off guard. 5)The introduction of the electronic calculator has rendered the slide rule out of date. 4. 1)Being faced with an enemy forces much superior to ours, we had to give up the occupation of big cities and retreat to the rural and mountainous regions to build up our bases. 2)Unity is crucial to the efficient operation of an organization. Failure to reckon with this problem will weaken its strength. In many cases, work may be brought to a halt by constant internal struggle in an organization. 3)The Red Army fought a heroic battle at Stalingrad and won the decisive victory against the Germans.In fact, this battle turned the tide in the Second World War. During this famous battle, the Soviet troops withstood the German siege and weakened the German army by launching a series of counterattacks. II. More Synonyms in Context 1) During the First World War, battles occurred here and there over vast areas. Some of the most dramatic fighting took place in the gloomy trenches of France and Belgium. 2) Elizabeth made careful preparations for the interview and her efforts / homework paid off. 3) I spent hours trying to talk him into accepting the settlement, but he turned a deaf ear to all my words.

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