当前位置:首页 > (完整版)嵌入式Linux笔试题库和答案(新)
is responsible for Organization training, and implementation, and check; 12, master workshops annual economic indicators of implementation, reporting to financial health on a regular basis; 13, is responsible for the daily oversight in the allocation and use of funds; 14, responsible for all Department statistics, collecting, sorting, reporting of accounting reports; 15, the company responsible for the supervision of the Treasury, including the \d grade\y, a library of materials, products for regular inventory handling, sampling, storage monitoring, the picking work, and provide the inventory report, and make the appropriate accounting treatment; 16, responsible for waste and recycling, transportation and settlement; 17, is responsible for all product sales accounting functions; 18, responsible for the company's raw materials, auxiliary materials, account management; 19, is responsible for the flow of control of all assets of the company, according to the changes in accounting treatment offixed assets and assets to the departments responsible for clearing, settlement and asset monthly report submitted to the asset management section of the Finance Department of the company organized on a company-wide special inspection of asset management; 20, according to the company's business activities, monthly projects involved in the business activities of the company (including expenses, business management, cost control, cash flow, revenue, etc) financial analysis, provide a basis for decisions for the company, the business of the company responsible for monitoring, forecasting and risk analysis; 21, responsible for the settlement of transactions with the Bank; 22, is嵌入式Linux笔试题库
一.选择题
1.Linux的创始人是谁( )
A、Turbolinux B、AT&T Bell Laboratry C、University of Helsinki D、Linus Torvalds 2.在Linux中,命令解释器是哪个( )
A、管道 B、分级文件系统 C、字符型处理器 D、 shell 3.Linux安装程序提供了两个引导装载程序( )
A、GROUP和LLTO B、DIR和COID C、GRUB和LILO D、以上都不是 4.如果当前目录是/home/sea/china,那么“china”的父目录是哪个目录( ) A、/home/sea B、/home/ C、/ D、/sea
5.在Linux中,要删除abc目录及其全部内容的命令为:( ) A、rm abc B、rm -r abc C、rmdir abc D、rmdir -r abc
6.假定kernel支持vfat分区,下面哪一个操作是将/dev/hda1分区加载到/win目录?( ) A、mount -t windows /win /dev/hda1 B、mount -fs=msdos /dev/hda1 /win C、mount -s win /dev/hda1 /win D、mount –t vfat /dev/hda1 /win 7.显示用户的主目录的命令是什么( )
A、echo $HOME B、echo $USERDIR C、echo $ECHO D、 echo $ENV
8.系统中有用户user1和user2,同属于users组。在user1用户目录下有一文件file1,它拥有644的权限,如果user2用户想修改user1用户目录下的file1文件,应拥有( )权限。 A、744 B、664 C、646 D、746 9.如何查看一个RPM软件包是否安装 ( ) A、rpm -Vc postfix B、rpm -q postfix
C、rpm --changelog postfix D、rpm -q—changelog postfix
10*.在Linux中,提供TCP/IP包过滤功能的软件叫什么( C ) A、rarp B、route C、iptables D、filter 11.nfs服务的配置文件是什么?( )
/etc/mtab B、/etc/fastboot C、 /etc/fstab D、 /etc/exports
12.用命令ls -al显示出文件ff的描述: -rwxr-xr-- 1 root root 599 Cec 10 17:12 ff 由此可知文件ff的类型为:( )
A、普通文件 B、硬连接 C、目录 D符号连接 13.Linux操作系统中的shell是( ) A、命令解释器 B、程序设计语言 C、脚本编辑器 D、编译器
14.能实现文件系统远程挂载的是( )。 A.SAMBA B.NFS C.NIS D.HTTPS
15.Linux系统下硬盘分区,能直接使用的分区是() A、主分区 B、扩展分区 C、逻辑分区
is responsible for Organization training, and implementation, and check; 12, master workshops annual economic indicators of implementation, reporting to financial health on a regular basis; 13, is responsible for the daily oversight in the allocation and use of funds; 14, responsible for all Department statistics, collecting, sorting, reporting of accounting reports; 15, the company responsible for the supervision of the Treasury, including the \d grade\y, a library of materials, products for regular inventory handling, sampling, storage monitoring, the picking work, and provide the inventory report, and make the appropriate accounting treatment; 16, responsible for waste and recycling, transportation and settlement; 17, is responsible for all product sales accounting functions; 18, responsible for the company's raw materials, auxiliary materials, account management; 19, is responsible for the flow of control of all assets of the company, according to the changes in accounting treatment offixed assets and assets to the departments responsible for clearing, settlement and asset monthly report submitted to the asset management section of the Finance Department of the company organized on a company-wide special inspection of asset management; 20, according to the company's business activities, monthly projects involved in the business activities of the company (including expenses, business management, cost control, cash flow, revenue, etc) financial analysis, provide a basis for decisions for the company, the business of the company responsible for monitoring, forecasting and risk analysis; 21, responsible for the settlement of transactions with the Bank; 22, isD、扩展分区和逻辑分区
16.Linux系统的1.0版内核的发布是在( A ) A.1992年 B.1993年 C.1994年 D.1995年
17.在vi编辑器的命令模式中,在光标所在位置的右侧插入字符的命令是( A ) A.a B.A C.i D.I
18.要给文件file1加上其他人可执行属性的命令是( ) A.chmod a+x B.chown a+x C.chmod o+x D.chown o+x 19下面哪个linux 命令可以一次显示一页内容?( ) A. pause B. cat C. more D. grep
20、下面命令的作用是:set ps1=\( ) A. 改变错误信息提示 B. 改变命令提示符 C. 改变一些终端参数 D. 改变辅助命令提示符
21、如何从当前系统中卸载U盘( ) A. umount B. dismount C. mount -u
D. 从/etc/fstab 中删除这个文件系统项
22、在linux 中,如何标识第一块IDE硬盘 上的第2 个扩展分区?( ) A. /dev/hdb2 B. /dev/hd1b2 C. /dev/hdb6 D. /dev/hd1b6
23、下面哪条命令可以把f1.txt 复制为f2.txt? ( ) A. cp f1.txt | f2.txt B. cat f1.txt | f2.txt C. cat f1.txt > f2.txt D. copy f1.txt | f2.txt
24、下面哪个命令可以压缩部分文件:( ) A. tar -dzvf filename.tgz * B. tar -tzvf filename.tgz * C. tar -czvf filename.tgz * D. tar -xzvf filename.tgz *
25.与通用操作系统相比嵌入式操作系统还必须具有的特点是( )
A强稳定性,弱交互性 B 较强实时性 C 可伸缩性 D 功耗管理与节能 26.下列那种设备不属于嵌入式系统产品( )。 A、PDA B ATM取款机 C 个人计算机 D 机顶盒 27.下列是开源的嵌入式操作系统的是( ) A.嵌入式linux B uc/os D Palm OS E WinCE 28.下列不属于ARM处理器异常工作模式的是( ) A.快速中断模式 B. 未定义模式 C.数据访问终止模式 D. 用户模式 29.嵌入式软件开发与通用软件开发增加了( )环节 A. 代码编写 B. 代码调试 C. 代码固化 D. 软件测试
is responsible for Organization training, and implementation, and check; 12, master workshops annual economic indicators of implementation, reporting to financial health on a regular basis; 13, is responsible for the daily oversight in the allocation and use of funds; 14, responsible for all Department statistics, collecting, sorting, reporting of accounting reports; 15, the company responsible for the supervision of the Treasury, including the \d grade\y, a library of materials, products for regular inventory handling, sampling, storage monitoring, the picking work, and provide the inventory report, and make the appropriate accounting treatment; 16, responsible for waste and recycling, transportation and settlement; 17, is responsible for all product sales accounting functions; 18, responsible for the company's raw materials, auxiliary materials, account management; 19, is responsible for the flow of control of all assets of the company, according to the changes in accounting treatment offixed assets and assets to the departments responsible for clearing, settlement and asset monthly report submitted to the asset management section of the Finance Department of the company organized on a company-wide special inspection of asset management; 20, according to the company's business activities, monthly projects involved in the business activities of the company (including expenses, business management, cost control, cash flow, revenue, etc) financial analysis, provide a basis for decisions for the company, the business of the company responsible for monitoring, forecasting and risk analysis; 21, responsible for the settlement of transactions with the Bank; 22, is 30.嵌入式系统调试方式中不占用系统资源的调试方式是()
A模拟器方式 B 监控器方式 C ICE在线仿真器 D IDE在线调试器方式
31.烧写到FLASH里的是( )格式的文件。
A. .asm B. .bin C. .obj D..cpp
32.汇编程序中的伪指令是在( )阶段起作用。
A. 编辑 B. 链接 C.编译 D. 执行
33、目前嵌入式处理器的种类大约有( )
A. 500多种 B.800多种 C. 1000多种 D.2000多种
34.嵌入式系统中硬件层主要包括了嵌入式系统必要的硬件设备,(),存储器,I/O等。 A 嵌入式微处理器 B 嵌入式控制器 C单片机 D .SOC 35.解压文件linux.tar.gz使用的命令是( ) A.tar –jxvf linux.tar.gz B .tar jcvf linux.tar.gz C .tar –zxvf linux.tar.gz D. tar –czvf linux.tar.gz
36.在vi处于命令行模式时,如果需要对文本进行修改,欲在光标所在位置的下一个位置开始输入字符,则( )。
A按下字母i进入插入模式 B 按下字母a进入插入模式 C 按下字母O进入插入模式 D 按下字母n进入插入模式
37.当前vi处于插入模式时,现放弃对文本修改,既不保存退出vi,则( ) A.使用“:q!”命令 B. 使用“:wq!”命令退出 C. 先按“ESC”后,使用”:q!”命令退出。 D先按“ESC”后,使用”:wq!”命令退出
38.经过汇编后,生成的目标文件的后缀名为( ) A..c B .s C .o D .exe
39.对代码文件code.c编译,生成可调式代码的命令是() A #gcc –g code.c –o code B #gcc code.c –o code C #gcc –g code.c code D #gcc –g code
40.NAND FLASH和NOR FLASH的区别正确的是() A. NOR的读速度比NAND稍慢一些 B NAND 的擦除速度远比NOR的慢 C.NAND的写入速度比NOR慢很多 D.大多数写入操作需要先进行擦除操作。 二、多项选择题:
1.常见的Linux发行版本有:( ABCDE )
A、Redhat Linux B、Turbo Linux C、Debian GNU/Linux D、SuSE Linux E、Mandrake Linux
2.请选出所有能将文件a.dat的权限从'rwx------' 改为 'rwxr-x---'的命令: ( CD ) A、chown rwxr-x--- a.dat B、chmod rwxr-x--- a.dat C、chmod g+rx a.dat D、chmod 750 a.dat 3.对于所有用户都能读的文件权限是( ABC )
is responsible for Organization training, and implementation, and check; 12, master workshops annual economic indicators of implementation, reporting to financial health on a regular basis; 13, is responsible for the daily oversight in the allocation and use of funds; 14, responsible for all Department statistics, collecting, sorting, reporting of accounting reports; 15, the company responsible for the supervision of the Treasury, including the \d grade\y, a library of materials, products for regular inventory handling, sampling, storage monitoring, the picking work, and provide the inventory report, and make the appropriate accounting treatment; 16, responsible for waste and recycling, transportation and settlement; 17, is responsible for all product sales accounting functions; 18, responsible for the company's raw materials, auxiliary materials, account management; 19, is responsible for the flow of control of all assets of the company, according to the changes in accounting treatment offixed assets and assets to the departments responsible for clearing, settlement and asset monthly report submitted to the asset management section of the Finance Department of the company organized on a company-wide special inspection of asset management; 20, according to the company's business activities, monthly projects involved in the business activities of the company (including expenses, business management, cost control, cash flow, revenue, etc) financial analysis, provide a basis for decisions for the company, the business of the company responsible for monitoring, forecasting and risk analysis; 21, responsible for the settlement of transactions with the Bank; 22, isA.777 B.444 C.644 D.640 三.填空题
1.Linux一般包括四个主要部分,()()()()。
2.目前,几乎所有的linux发行版本都包括了()和()两种。 3.Linux内核主要由()()()()()5部分组成。 4.vi编辑器的三种状态()()()。
5.使用gcc编译文件生成可执行文件要经历四个相互关联的步骤:(预处理)(编译)(汇编)和(链接)。 6.bootloader常见的两种操作模式是()和(),仅仅对开发人员有用的模式是()。
四.问答题
1. makefile文件的作用是什么?
答案:一个工程中的源文件不计数,其按类型、功能、模块分别放在若干个目录中,makefile定义了一系列的规则来指定,哪些文件需要先编译,哪些文件需要后编译,哪些文件需要重新编译,甚至于进行更复杂的功能操作,因为 makefile就像一个Shell脚本一样,其中也可以执行操作系统的命令。makefile带来的好处就是——“自动化编译”,一旦写好,只需要一个make命令,整个工程完全自动编译,极大的提高了软件开发的效率。make是一个命令工具,是一个解释makefile中指令的命令工具,一般来说,大多数的IDE都有这个命令,比如:Delphi的make,Visual C++的nmake,Linux下GNU的make。可见,makefile都成为了一种在工程方面的编译方法。
2.Linux显示文件夹中隐藏文件信息的命令是什么? 3.Linux文件属性有哪些?(共十位) -rw-r--r—1
第一个属性代表这个文件是【目录、文件或连结文件】,当为[ d ]则是目录,为[ - ]则是文件,若是[ l ]则表示为连结档(link file);
若是[ b ]则表示为装置文件里面的可供储存的接口设备;
若是[ c ]则表示为装置文件里面的串行端口设备,例如键盘、鼠标。
接下来的属性中,三个为一组,且均为【rwx】三个参数的组合,其中[r]代可读、 [w]代表可写、[x]代表可执行: 第一组为【拥有人的权限】, 第二组为【同群组的权限】; 第三组为【其它非本群组的权限】。
4.说明下述Linux系统命令的主要功能是什么。 显示文件目录命令ls
改变当前目录命令cd 如cd / /home 建立子目录mkdir mkdir xiong
删除子目录命令rmdir 如 rmdir /mnt/cdrom 删除文件命令rm 如 rm /ucdos.bat 文件复制命令cp 如 cp /ucdos/* /fox 获取帮助信息命令man 如 man ls 显示文件的内容cat more less
5.简述Linux在嵌入式系统市场上取得辉煌的成果的原因。 6.简述嵌入式Linux系统开发流程。
答:嵌入式系统平台移植主要包括以下几部分
1) 2)
交叉编译器的制作和安装 Bootloader开发和移植
共分享92篇相关文档