NTU-Exam 板


LINE

课程名称︰计算机概论 课程性质︰选修 课程教师︰陈彦仰 开课学院:电机资讯学院 开课系所︰资讯工程学系 考试日期(年月日)︰2011.10.18 考试时限(分钟):120分钟 是否需发放奖励金:是 (如未明确表示,则不予发放) 试题 : Part I: Multiple Choice Problems (20 points) 1. Which of the following is not a member of the Unix family? a. BSD b. Ubuntu c. OS/2 d. Solaris 2. Which of the following is not an operating system commonly found in mobile phones? a. Windows 7 b. iOS c. Android d. Symbian 3. What's the name of the first large-scale electronic general-purpose digital computer? a. ABC b. Colossus c. ENIAC d. Z1 4. Who defined the computational model that laid the foundation of all modern computers? a.Alan Turing b.John von Neumann c.John William Mauchly d.J.Presper Echert 5. Which is a volatile storage? a. Hard disk b. DRAM c. Floppy d. Flash memory 6. Which is not an optical drive? a. ROM b. DVD-RAM c. DVD-R d. CD-ROM 7. The Windows' Task Manager/Mac OS' Activity Monitor/Unix's top are system utilities for monitoring a. processes b. memory c. network d. all of the above 8. To save a file and exit from Vim, use the command a. :w b. :q c. :wq d. :q! 9. Which command can you use to compress a directory? a. tar xvf b. tar cvf c. tar zcf d. tar zxf 10.Which command can you use to get help in Linux? a. how b. sos c. help d. man Part II: Alphabet Soup (15 points) For each terminology, spell it out completely (in English), and explain (in either Chinese or English) briefly. 1. SSH 2. BIOS 3. LRU 4. ROM 5. RAM Part III: Short Answers (70 points) Answer the following questions briefly but clearly. 1. What are the two key concepts defined by the von Neumann architecture? (5 points) 2. Consider a simple 16-bit computer, what is the range of unsigned binary number the can be represented using 16 bits? (5 points) 3. Is 10 bits long enough to represent -512 in the 2's complement notaion? If yes, what is it? If not, please explain the reason. (5 points) 4. What is HDD? What is SSD? What is the difference between them? (5 points) 5. Please explain briefly the "许功盖" problem in Chines encoding and its solution. (5 points) 6. Why should one use ssh instead of the basic telnet? (5 points) 7. Write the Linux commands for performing the following tasks. (25 points) A. Define a short name for a long command. B. Find out whar shell you're using. C. List all files whose names start with NTU. D. Print lines from all .txt files matching the pattern "hello". E. Show the 6th to 10th line of a file. 8. What is the following command doing: tar cf txt.tar `find . -name "*.txt"` (5 points) 9. Let any given positive number n (n>=3) be represented by a string of n "1"s. Design a Turing Machine to do "subtracting 3 from the number" with the smallest number of states. (The number of states must be less than 5) (10 points) -- Answers: Part I: 1.c 2.a 3.c 4.a 5.b 6.a 7.d 8.c 9.c 10.d Part II: 1. Secure Shell SSH uses public-key cryptography to authenticate the remote computer and connects computers via a secure channel. 2. Basic Input/Output System BIOS software is stored in a non-volatile ROM and it is the first code run by a PC when powered on. 3. Least Recently Used LRU is a cache algorithm. It discards the least recently used item first. 4. Read Only Memory 5. Random Access Memory RAM is a form of computer data storage. It’s often associated with volatile types of memory. Part III: 1. stored-program concept & separation of the processing from data 2. 0~65536 3. Yes, it’s 1000000000. 4. HDD (Hard Disc Drive) is a non-volatile, random access digital magnetic data storage device. SSD (Solid State Drive) is a data storage device that uses solid-state memory (e.g. NAND-based flash memory) to store persistent data. SSD is faster and more robust. It also takes less energy and has less noise. However, SSD is more expensive and has less capacity. 5. The second bytes of one of “许功盖” in Big-5 is as same as the back slash in ASCII. Because back slash is a lead character of control symbols in ASCII, some systems will take these words as a part of some control symbols and won’ t show them correctly. The solution is use UTF-8 instead of Big-5 when encoding traditional Chinese. 6. SSH is more secure by the public key cryptography. 7. A. (in bash) alias short_cmd=”long cmd” B. echo $SHELL C. ls NTU* D. grep hello `find . –name “*.txt”` E. head –n 10 [filename] | tail –n 5 8. Create a new archive contains all the .txt files in the current folder. 9. (1,_,→)(1,_,→)(1,_,→) ┌──┐┌──┐┌──┐ │ ↓│ ↓│ ↓ ○ ○ ○ ○ │↑ └┘ (_,_,→) --



※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.242.63
1F:→ andy74139 :已收录至资讯系!! 11/16 23:42
※ 编辑: s88239 来自: 140.112.242.63 (11/20 15:35)







like.gif 您可能会有兴趣的文章
icon.png[问题/行为] 猫晚上进房间会不会有憋尿问题
icon.pngRe: [闲聊] 选了错误的女孩成为魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一张
icon.png[心得] EMS高领长版毛衣.墨小楼MC1002
icon.png[分享] 丹龙隔热纸GE55+33+22
icon.png[问题] 清洗洗衣机
icon.png[寻物] 窗台下的空间
icon.png[闲聊] 双极の女神1 木魔爵
icon.png[售车] 新竹 1997 march 1297cc 白色 四门
icon.png[讨论] 能从照片感受到摄影者心情吗
icon.png[狂贺] 贺贺贺贺 贺!岛村卯月!总选举NO.1
icon.png[难过] 羡慕白皮肤的女生
icon.png阅读文章
icon.png[黑特]
icon.png[问题] SBK S1安装於安全帽位置
icon.png[分享] 旧woo100绝版开箱!!
icon.pngRe: [无言] 关於小包卫生纸
icon.png[开箱] E5-2683V3 RX480Strix 快睿C1 简单测试
icon.png[心得] 苍の海贼龙 地狱 执行者16PT
icon.png[售车] 1999年Virage iO 1.8EXi
icon.png[心得] 挑战33 LV10 狮子座pt solo
icon.png[闲聊] 手把手教你不被桶之新手主购教学
icon.png[分享] Civic Type R 量产版官方照无预警流出
icon.png[售车] Golf 4 2.0 银色 自排
icon.png[出售] Graco提篮汽座(有底座)2000元诚可议
icon.png[问题] 请问补牙材质掉了还能再补吗?(台中半年内
icon.png[问题] 44th 单曲 生写竟然都给重复的啊啊!
icon.png[心得] 华南红卡/icash 核卡
icon.png[问题] 拔牙矫正这样正常吗
icon.png[赠送] 老莫高业 初业 102年版
icon.png[情报] 三大行动支付 本季掀战火
icon.png[宝宝] 博客来Amos水蜡笔5/1特价五折
icon.pngRe: [心得] 新鲜人一些面试分享
icon.png[心得] 苍の海贼龙 地狱 麒麟25PT
icon.pngRe: [闲聊] (君の名は。雷慎入) 君名二创漫画翻译
icon.pngRe: [闲聊] OGN中场影片:失踪人口局 (英文字幕)
icon.png[问题] 台湾大哥大4G讯号差
icon.png[出售] [全国]全新千寻侘草LED灯, 水草

请输入看板名称,例如:WOW站内搜寻

TOP