江西理工大学考试试卷
自动控制原理—试卷B(胡俊峰)

江西理工大学考试试卷试卷编号:31B班级学号姓名一、简答题(16分)1.自动控制系统的基本要求和它们的内涵2.线性系统的稳定性的概念和系统稳定的充分必要条件3.什么是时间响应时间响应的瞬态响应反映哪方面的性能而稳态响应反映哪方面的性能4. 开环控制系统和闭环控制系统的主要特点是什么二、选择题(每题 2 分,共40分)1. 关于反馈的说法正确的是( )A. 反馈实质上就是信号的并联B. 正反馈就是输入信号与反馈信号相加C. 反馈都是人为加入的D. 反馈是输出以不同的方式对系统作用 2. 系统的单位脉冲响应函数为()0.1t t ω=,则系统的传递函数为( ) A.20.1s B. 0.1s C. 21s D. 1s3. 线性定常系统的微分方程为'''()2()3()4()oo o i x t x t x t x t ++=,则该系统的极点为( )A. 1211s s =-+=--12s j s j ==-C. 1230s j s j s ==-=D. 以上都是4. 某传递函数1231()G s K K K s s=++,则它是由( )组成的。
A. 比例+积分环节B. 比例+微分环节C. 比例+惯性环节D. 比例+积分+微分环节5. 系统的单位脉冲响应函数为0.2()3t t e ω-=,则系统的传递函数为( )。
A. 3()0.2G s s =+ B. 0.6()0.2G s s =+ C. 0.2()3G s s =+ D. 0.6()3G s s =+ 6. 若二阶欠阻尼系统的无阻尼固有频率为n ω,则其有阻尼固有频率d ω( )。
A. n ω= B. n ω> C. n ω< D. 与n ω无关 7. 以下关于系统稳态偏差的说法正确的是( )。
A. 稳态偏差只取决于系统结构和参数B. 稳态偏差只取决于系统输入和干扰C. 稳态偏差与系统结构、参数、输入和干扰等有关D. 系统稳态偏差始终为0 8. 线性系统对输入信号的时间响应( )。
江西理工大学大二行政管理专业行政管理学试卷及答案 (2)

江西理工大学行政管理学专业20XX级行政管理学课程期终考试试卷姓名:班级:学号:(考试时间:90分钟)一、简释题1.行政管理与行政环境2.行政组织与行政职能3.行政信息与行政咨询二、简答题1.简述当代西方行政管理学的发展趋势。
2.人事行政的主要原则是什么?3.行政监督在行政管理中有何作用?三、论述题1.试述影响行政效率的主要因素及提高行政效率的基本途径。
2.试述西蒙关于决策程序的基本思想及其意义。
四、案例分析题【案例正文】某区政府为适应改革形势需要,在年度工作计划中提出了一项目标:向街道下放权力,给街道以更大的自主权。
同年4月,区政府办公室根据区府领导的意图,拟定了向街道放权的五个方面内容,其中有违章建筑的拆除,垃圾、粪便的清运管理,新村绿化管理等,均属市政管理的范围。
随后由区政府办公室会同主管市政工作的区城建办公室抽调力量,将拟放权的五个方面分别列为专题,逐个进行调查研究,分别形成了调查报告。
调查报告经领导审阅后,很快得到了认可。
6月上旬,区政府召开放权工作会议。
这次会议确定的主要议程有两项:1. 讨论修改下放权力的几个文件(草案);2. 明确放权的原则。
在讨论中街道方面的同志提出了一些具体问题,主要有:1. 街道承担放权任务后,也应有相应的经费补偿,作为管理活动的必要开支和集体留利;2. 增配人员,以解决任务增加后力量不足的矛盾;3. 放权项目中的部分责任仍应由城建系统的业务主管部门承担,例如对违章搭建组织强拆,应由城建部门组织力量,落实机械设备等等。
对于上述问题,区政府领导在总结会上作了十分坦率的“交底”,认为前两个问题对街道极为现实,但限于区财政拮据、机关总编制已满额的情况,区政府爱莫能助;对后一个问题,则认为关键点在于转变观念,即从以条块结合管理体制转向完全以块管理的新体制,街道应负完全责任。
随之,将下放权力的具体事项正式确定下来,并明确下半年试行,第二年年初总结完善。
区政府据此下发了文件。
江西理工大学《市场营销学》试卷及答案 (5)

《市场营销学》试卷一、单项选择题(每题1分,共10分)1、营销理论的基础是_________和价值实现论。
A.价值来源论B.生产目的论C.交换目的论D.消费者主权论2、在企业的价值链中,真正创造价值的经营活动,就是企业价值链的_________。
A.供销环节B.战略环节C.生产环节D.技术开发环节3、市场营销环境是企业营销职能外部_________的因素和力量,包括宏观环境和微观环境。
A.可改变B.不可捉摸C.可控制D.不可控制4、市场营销则是企业管理和经营中的___________。
A.主导性职能B.辅助性职能C.被动性职能D.社会分配职能5、_________在人格诸领域中最后形成,反映社会的各项准则,由理想、道德、良心等组成。
A.本我B.超我C.自我D.含我6、对一种现有产品进行适当变动,以适应国际市场不同需求的策略称为_________。
A.产品延伸策略B.产品适应策略C.产品扩展策略D.产品变动策略7、为了弄清市场变量之间的因果关系,收集有关市场变量的数据资料,运用统计分析和逻辑推理等方法,判明变动原因和结果以及它们变动的规律,这是属于_________。
A.探测性调研B.描述性调研C.因果关系调研D.定期性调研8、市场定位是_________在细分市场的位置。
A.塑造一家企业B.塑造一种产品C.确定目标市场D.分析竞争对手9、企业在考虑营销组合策略时,首先需要确定生产经营什么产品来满足_________的需要。
A.消费者B.顾客C.社会D.目标市场10、顾客购买商品的实质是购买某种_________。
A.特征B.用途C.功能D.利益二、多项选择题(每题4分,共20分)1、宏观市场营销_________。
A.从社会总体交换层面研究市场营销问题B.以社会整体利益为目标C.是一种企业的社会经济活动过程D.目的是求得社会生产与社会需要的平衡E.考虑的是个别企业与消费者利益的增长2、服务通常可运用_________来实现有形展示。
江西理工大学研究生考试试卷.doc

江西理工大学研究生考试试卷温馨提示请考生自觉遵守考试纪律,争做文明诚信的大学生。
如有违犯考试纪律,将严格按照《江西理工大学学生违纪处分规定》(试行)处理。
学院______________ 专业 _____________ 学号_______________ 姓名_______________问题:请就洪涝灾害的形成、危害、预防等方面进行论证,并举一典型案例辅以说明。
一、洪涝灾害的定义/涝灾害即暴雨、急剧融化的冰雪、风暴潮等自然因索引起的江河湖海水量迅速增加或水位迅猛上涨的自然现象。
一般包括洪灾和涝渍灾。
洪灾:一般是指河流上游的降雨量或降雨强度过大、急骤融冰化雪或水库垮坝等导致的河流突然水位上涨和径流量增大,超过河道正常行水能力,在短时间内排泄不畅,或暴用引起山洪暴发、河流暴涨漫溢或堤防溃决,形成洪水泛滥造成的灾害。
涝渍灾:由于大量降水汇集在低洼处长时间无法排除(涝),或者是地下水位持续过高(渍),使土壤孔隙中的空气含量降低,影响根的呼吸作用,使得作物减产、烂根、甚至死亡。
其侧重于对人类社会造成严重影响,尤指淹没大量农田,造成农作物大量减产或绝收的农业灾害。
二、洪涝灾害的分类洪涝灾害可分为洪水、涝害、湿害。
洪水:大雨、暴雨引起山洪暴发、河水泛滥、淹没农出、毁坏农业设施等。
涝害:雨水过多或过于集中或返浆水过多造成农田积水成灾。
湿害:洪水、涝害过后排水不良,使土壤水分长期处丁•饱和状态,作物根系缺氧而成灾。
洪涝灾害四季都可能发生。
中国主要发生在长江、黄河、淮河、海河的中下游地区。
按时间可分为:春涝(主要发生在华南、长江中下游、沿海地区),夏涝(夏涝是中国的主要涝害,主要在长江流域、东南沿海、黄淮平原),秋涝(多为台风雨造成,主耍发生在东南沿海和华南)。
三、洪涝灾害的分布从气候因素看,洪涝集中在中低纬度地区,主要是亚热带季风气候区、亚热带湿润气候区、温带海洋性气候区。
从地形因素看,洪涝多发生在江河的两岸,特别是河流的中下游和地势低洼地区。
江西理工大学材料加工工程专业英语考试真题

江西理工大学材料加工工程专业英语考试真题全文共3篇示例,供读者参考篇1Jiangxi University of Science and TechnologyDepartment of Materials Processing EngineeringFinal ExamInstructions:- This exam consists of two parts: Multiple Choice Questions (MCQs) and Short Answer Questions.- The MCQ section has 50 questions and is worth 50% of the total marks.- The Short Answer section has 5 questions and is worth 50% of the total marks.- Answer all questions in the space provided. Do not exceed the word limit for short answer questions.Part 1: Multiple Choice Questions (50 marks)1. Which of the following is not a common material removal process?a) Machiningb) Weldingc) Grindingd) Abrasive jet machining2. What type of force is applied during cold working processes?a) Compressive forceb) Tensile forcec) Shear forced) Torque force3. Which of the following materials has the highest ductility?a) Steelb) Aluminumc) Copperd) Titanium4. What is the primary purpose of annealing?a) Increase hardnessb) Improve machinabilityc) Reduce stressd) Increase ductility5. Which of the following is not a common method for joining materials?a) Weldingb) Solderingc) Adhesive bondingd) ForgingPart 2: Short Answer Questions (50 marks)1. Explain the difference between hot working and cold working processes. Provide an example of each.2. What are the advantages and disadvantages of using non-traditional machining processes?3. Define stress and strain in the context of material deformation. How are they related?4. Describe the process of case hardening and its applications in materials processing.5. Discuss the importance of quality control in materials processing engineering and provide examples of quality control techniques used in the industry.Please answer all questions in the space provided. Good luck!篇2Jiangxi University of Science and TechnologyMaterials Processing Engineering MajorEnglish ExamPart A: Multiple Choice Questions (60 points)Instructions: Choose the correct answer from the options given below.1. Which of the following is NOT a common method used for material processing?A. CastingB. BlendingC. MachiningD. Forming2. Which material processing method is used to create intricate shapes and designs on surfaces?A. CastingB. MachiningC. FormingD. Extrusion3. What is the primary purpose of heat treatment in material processing?A. Increase the material's strengthB. Reduce the material's weightC. Improve the material's colorD. Enhance the material's flexibility4. Which of the following is considered a non-traditional material processing method?A. WeldingB. 3D printingC. ForgingD. Extrusion5. What is the main advantage of using CNC machining in material processing?A. Greater precision and accuracyB. Faster production timeC. Lower costD. Reduced need for skilled laborPart B: Short Answer Questions (40 points)Instructions: Answer the following questions with detailed explanations.1. Describe the difference between hot rolling and cold rolling in metal processing.2. Explain how material properties are affected by different types of heat treatment processes.3. Discuss the advantages and disadvantages of using laser cutting in material processing.4. What are the key factors to consider when selecting a material processing method for a specific application?5. How does additive manufacturing differ from subtractive manufacturing in material processing?Part C: Essay Questions (choose one) (40 points)Instructions: Choose one of the following essay questions and write a well-structured essay with supporting arguments.1. Discuss the role of materials processing engineering in the development of modern technology and its impact on society.2. Analyze the challenges and opportunities in the field of materials processing engineering in the context of sustainable development.3. Explain the significance of research and innovation in advancing materials processing engineering and its future implications.4. Explore the potential applications of nanotechnology in materials processing engineering and the benefits it can bring to various industries.5. Evaluate the role of automation and digital technologies in improving efficiency and productivity in material processing operations.Good luck with your exam!篇3Jiangxi University of Science and TechnologyDepartment of Materials Processing EngineeringEnglish Exam PaperPart I Vocabulary and GrammarSection AChoose the word that best completes each sentence. (10 points)1. The company places a strong emphasis on ____________ training programs for its employees.A. continuousB. continuouslyC. continuationD. continue2. It is important to _________ your work with the relevant literature to support your arguments.A. backingB. backC. backedD. back up3. The new technology has significantly _________ the efficiency of the production process.A. improveB. improvesC. improvedD. improving4. The properties of the material _________ closely with its chemical composition.A. correspondB. correspondenceC. correspondingD. corresponds5. The supervisor urged the workers to _________ wearing protective gear at all times.A. ensureB. ensuringC. ensuredD. ensures6. The project deadline has been _________ due to unexpected delays.A. extendB. extendingC. extendedD. extends7. The student's report was filled with ________ errors, and the professor marked it as incomplete.A. grammarB. grammaticalC. grammaticallyD. grammars8. The team needs to _________ the schedule to accommodate the new requirements.A. adjustB. adjustsC. adjustingD. adjustment9. Our understanding of material science has ________ greatly over the past decade.A. enhancedB. enhanceC. enhancesD. enhancing10. The researchers are planning to conduct a _________ study on the properties of the alloy.A. detailB. detailedC. detailingD. detailsSection BFill in the blanks with the appropriate word. (10 points)11. The _________ of a material determines its ability to withstand external loads.12. The ___________ of new materials is a key focus of the department.13. The students were _________ with the latest advancements in material science.14. The _________ research project aims to develop a new type of composite material.15. The company plans to __________ its production facilities to meet the growing demand.16. The _________ conducted tests on the tensile strength of the material.17. The engineer suggested using a _________ manufacturing process to reduce costs.18. The professor emphasized the importance of _________ data accurately.19. The team needs to _________ the project schedule to meet the deadline.20. The students were asked to _________ their findings in a detailed report.Part II Reading ComprehensionRead the following passage and answer the questions that follow. (20 points)Nanomaterials are a class of materials with a size scale at the nanometer range. They possess unique properties and characteristics due to their small size, high surface area to volume ratio, and quantum effects. Nanomaterials have applications in various fields such as electronics, medicine, energy production, and environmental remediation.One of the key advantages of nanomaterials is their enhanced mechanical properties. Nanocomposites, which are materials composed of nanoscale particles dispersed in a matrix, exhibit improved strength, stiffness, and toughness compared to conventional materials. This makes them ideal for applications where high performance is required.In the field of medicine, nanoparticles are used for drug delivery, imaging, and diagnostics. Nanoparticle-based drug delivery systems have the potential to target specific cells or tissues, reducing side effects and improving the efficacy of treatments. Nanoparticles also play a crucial role in medical imaging, allowing for better visualization of tumors and other abnormalities.Despite their numerous benefits, there are concerns about the safety and environmental impact of nanomaterials. Due to their small size, nanoparticles can penetrate biological tissuesand cells, posing potential health risks. Additionally, the release of nanoparticles into the environment can have unknown consequences on ecosystems and human health.1. What are nanomaterials, and what properties make them unique?2. What are the advantages of nanocomposites in engineering applications?3. How are nanoparticles used in the field of medicine?4. What are the potential risks associated with nanomaterials?Part III WritingWrite an essay on one of the following topics. Your essay should be no less than 250 words. (30 points)1. The impact of nanotechnology on materials processing engineering.2. The importance of sustainability in materials engineering.3. The role of materials engineering in addressing global challenges.4. The future trends and developments in materials processing.End of Exam PaperNote: This exam paper is for practice purposes and does not represent any actual exam administered by Jiangxi University of Science and Technology.。
江西理工大学数控试卷

江西理工大学数控技术及应用试卷绝密复习资料,考试原题相似度达90%,11届学弟学妹专用填空题(1)NC机床的含义是数控机床;CNC机床的含义是计算机数控机床;CIMS的含义是计算机集成制造系统(2)在数控编程时,是按照来进行编程,而不需要按照刀具在机床中的具体位置。
(3)圆弧插补时,通常把与时钟走向一致的圆弧叫,反之,称为。
(4)数控车床自动换刀装置的刀架动作是刀架抬起、、。
(5)按照私服系统的类型,可将数控机床的控制系统分为、和。
(6)在子程序中出现M99程序段,则表示。
(10)数控机床按控制运动轨迹可分为、点位直线控制和等几种。
(11)滚珠丝杆螺母副的滚珠的循环方式可分为:、。
(12)刀库中刀具与主轴上刀具的交换有两种方式:刀库与主轴相对运动直接换刀和。
(14)刀库中刀具的选刀方式有和任意选刀两种。
(15)检测直线位移传感器有传感器、同步感应传感器等。
选择题(1)感应同步器是一种(B)位置检测元件。
A光学式 B 电磁式 C 数字式D增量式(2)程序加工完成后,程序复位,光标能自动回到起始位置到底命令是A M00B M01C M30D M02(3)位置检测装置被测量的方式分为(C )A数字式和模拟式 B 增量式和绝对式C 直线和位移D开环和闭环(4)可用做直线插补的准备功能代码是(A )A: G01 B:G03 C: G02 D : G04(5)CNC系统中的PLC是(A )A 可编程序逻辑控制器B 显示器C多位处理器 D 环形分配器(6)在用圆弧插补切削圆弧面时,需要选择平面是YZ平面,所选择的G 指令是(C)A: G17 B: G18 C: G19 D都不对(7)子程序结束的程序代码是(B )A M02B M99C M19D M30(9)圆弧插补器编程时,半径的取值与(B)有关。
A 圆弧的相位B 圆弧的角度C 圆弧的方向D ABC都有(10)找出下面不是零点偏置指令(D )A G55B G57C G54D G53简答题(1)试述CNC工作过程。
2024江西理工大学成人学位英语考试真题

2024江西理工大学成人学位英语考试真题2024 Jiangxi University of Science and Technology Adult Degree English ExamPart I: Reading Comprehension (40 points)Directions: There are four passages in this part. Each passage is followed by five questions or unfinished statements. For each of them, there are four choices marked A, B, C and D. Choose the best answer and mark the corresponding letter on the answer sheet.Passage 1The historic city of Nanjing is located in the eastern region of China and is known for its ancient architecture and cultural heritage. Nanjing is home to several famous attractions, such as the Ming Xiaoling Mausoleum, which is the tomb of the Hongwu Emperor of the Ming Dynasty. Visitors can also explore the City Wall, which was built during the early Ming Dynasty and offers panoramic views of the city.1. Where is Nanjing located?A. Western ChinaB. Northern ChinaC. Eastern ChinaD. Southern China2. What is the Ming Xiaoling Mausoleum?A. A city wallB. A tombC. An ancient templeD. A museum3. When was the City Wall of Nanjing built?A. During the Qing DynastyB. During the Tang DynastyC. During the Song DynastyD. During the Ming Dynasty4. What can visitors see from the City Wall?A. Ancient artifactsB. Panoramic views of the cityC. Ming Dynasty paintingsD. Traditional Chinese calligraphy5. What is Nanjing known for?A. Modern architectureB. Cultural heritageC. Fashion industryD. Beach resortsPassage 2The Great Wall of China is one of the most iconic landmarks in the world and stretches over 13,000 miles across northern China. Originally built to protect the Chinese Empire from invasions, the Great Wall is now a popular tourist attraction that attracts millions of visitors each year. Visitors can explore different sections of the wall, such as Badaling and Mutianyu, which offer breathtaking views of the surrounding countryside.6. How long is the Great Wall of China?A. 10,000 milesB. 13,000 milesC. 15,000 milesD. 17,000 miles7. What was the original purpose of the Great Wall?A. To protect the Chinese Empire from invasionsB. To divide China into two regionsC. To provide a route for trade caravansD. To mark the border with Mongolia8. How many visitors does the Great Wall attract each year?A. ThousandsB. MillionsC. Tens of millionsD. Hundreds of millions9. What are Badaling and Mutianyu?A. Sections of the Great WallB. Ancient templesC. MuseumsD. Pagodas10. What do visitors see from the Great Wall?A. Breathtaking views of the countrysideB. Modern skyscrapersC. Buddhist monasteriesD. Traditional tea housesPart II: Cloze Test (20 points)Directions: There are 20 blanks in the following passage. For each blank there are four choices marked A, B, C and D. Choose the best answer and mark the corresponding letter on the answer sheet.A. LocatedB. FamousC. CulturalD. ExploreJiangxi University of Science and Technology is a (11)_______ university in Nanchang, the capital city of Jiangxi Province in China. The university is known for its (12)_______ heritage and modern facilities, and offers a wide range of programs in engineering, business, and science. Students can (13)_______ the beautiful campus, which features a lake, gardens, and sports facilities.(14)_______ for its academic excellence, Jiangxi University of Science and Technology is one of the top universities in China and attracts students from all over the world.Part III: Writing (40 points)Directions: Write an essay on the following topic. Your essay should be approximately 300 words in length.Topic: Discuss the importance of lifelong learning and continuous education for adults in today's society. Provide examples to support your argument.In conclusion, the 2024 Jiangxi University of Science and Technology Adult Degree English Exam is designed to assess students' reading comprehension, language skills, and writing ability. By preparing for the exam, students can improve their English proficiency and achieve success in their academic and professional endeavors.。
江西理工大学 PLC 期末考试试题试卷4答案

江西理工大学考试试卷
一、填空题(每空 1分,共 10分)
1、中央处理 2、输入/输出
3、输入采样,程序执行,输出刷新
4、下一个循环周期 5、断开,闭合 6、0.1,1
二、判断分析题 1、
2、√√××√ 3、 f 55 45 (16800 0 ) 45 50 .25 Hz
吾日三省乎吾身。为人谋而不忠乎?与朋友交而不信乎?传不习乎?——《论语》
良辰美景奈何天,便赏心乐事谁家院。则为你如花美眷,似水流年。——《汤显祖》 人人好公,则天下太平;人人营私,则天下大乱。——刘鹗
32000 Leabharlann 0三、四、宠辱不惊,看庭前花开花落;去留无意,望天上云卷云舒。——《洪应明》
其身正,不令而行;其身不正,虽令不从。——《论语》 五、
六、参考答案: I/O 地址分配(5分) 光电检测开关:I0.传0送;带启动开关:I0.报1警;器:Q0.0 用 VW装0产品的个数,VW装1产品的箱数,梯形图程序如下(10分):
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
江西理工大学考试试卷试卷编号:0809020550C
班级学号姓名
一、填空题(共36分,每空1分)
1、消息传递通信的实现方法有:①直接通信方式、②间接通信方式。
(2分)
2、磁盘访问时间包括:①寻道时间、②旋转延迟时间、③
动传输时间。
(3分)
3、文件类型按存取控制属性分类有:①只执行文件、②
只读文件、③读写文件。
(3分)
4、文件控制块包括有:①基本信息、②存取控制信息、③使
用信息类。
(3分)
5、操作系统的特征是:①并发性、②共享性和③
随机性。
(3分)
6、按照用户界面的使用环境和功能特征的不同,一般可以把操作系统分为三种基本类型,
即:①批处理系统、②分时系统和③实时系统。
(3分)
7、软件系统分为①系统软件、②支撑软件和
③应用软件。
(3分)
8、多数计算机系统将处理器的工作状态划分为①管态和
②目态。
后者一般指用户程序运行时的状态,又称为普通态或
③用户态。
(3分)
9、文件的物理结构有:为①顺序结构、②链接结构和
③索引结构。
(3分)
10、存储器一般分成①高速缓冲器、②内存和③
外存三个层次,其中④外存是造价最低、存取速度最慢。
(4分)
11、进程实体由①程序、② PCB(或进程控制块)和
③逻辑数据集合三部分组成。
(3分)
12、操作系统的特征是①并发性、②共享性和
③随机性。
(3分)
二、简答题(共20分,每小题4分)
1、虚拟存储器?(4分)
答:是指具有请求调入功能和置换功能,能从逻辑上对内存容量加以扩充的一种存储器系统。
其逻辑容量由内存容量和外存容量之和所决定,其运行速度接近于内存速度,而每位的成本却又接近于外存
2、什么是SPOOLing?(4分)
答:为了缓和CPU的高速性与I/O设备低速性间的矛盾而引入了脱机输入、脱机输出技术。
该技术是利用专门的外围控制机,将低速I/O设备上的数据传送到高速磁盘上;或者相反。
3、什么是抖动(或称颠簸)?(4分)
答:刚被调出的页面又立即要用而装入,而装入后不久又被调出,如此反复,使调度非常频繁,这种现象称为抖动或颠簸。
4、影响缺页中断率的因素有哪些?(4分)
答:4个因素,分别是:(1)分配给程序的主存块数;(2)页面的大小;(3)程序编制方法;(4)页面调度算法。
5、产生死锁的必要条件是哪些?(4分)
答:互斥条件、不可剥夺条件、请求和保持条件、循环等待条件。
三、综合能力题(共44分)
1、有四个作业A、B、C、D,要求定时唤醒运行,其要求是:①A 作业5秒后运行,10秒
后再运行;②B作业8秒后运行,15秒后再运行;③C作业12秒后运行,20秒后再运行,
④D作业25秒后运行。
请建立响应的时钟队列。
(9分)
2、下面两个并发进程能正确执行吗?若不能正确执行,请改正(X是公共变量)(11分)
cobegin
var x :integer;
procecc P1(进程P1)
var z,y:integer;
begin
x=2;
y=1;
if x=2 then y:=2*x+y
z:=y
end
procecc P2(进程P2)
var t,u:integer;
begin
x=1;
t=1;
if x>2 then t:= x-t
u:=5*t+x
end
coend
3、用银行家算法判断下述每个状态是否安全。
如果一个状态是安全的,说明进程运转过程。
4、在分页式存储系统中,分别采用最少调用淘汰算法、最近最久未调用淘汰算法淘汰页面。
系统可固定装入4个页面。
作业的页面调度顺序为:3,2,1,1,4,3,3,2,5,4,5,6,5,7,3,2,6。
请写出作业进展状态和淘汰页面顺序。
(12分)
1、解:响应的时钟队列如下表(4分)
(5分)2、解:这两个并发进程不能正确执行(3分)。
用一个信号量S1,改正如下:(8分)
var s1,s2:shared semaphore
begin
s1:=1;
cobegin
var x :integer;
procecc P1(进程P1)
var z,y:integer;
begin
P(s1);
x=2;
V(s1);
y=1;
P(s1);
if x=2 then y:=2*x+y
V(s1);
z:=y
end
procecc P2(进程P2)
var t,u:integer;
begin
P(s1);
x=1;
V(s1);
t=1;
P(s1);
if x>2 then t:= x-t
u:=5*t+x
V(s1);
end
coend
end
3、解:
状态B是安全的;状态A也是安全的,但状态A中有一进程不能执行。
(3分)
上表中分配顺序1、2可以交换,其它不可以交换。
对于状态A,先给P3分配3台,运行结束后系统有7台设备,再将其中5台设备分配给P1,P1运行结束后,系统有12台设备,再将其中6台设备分配给P2,P2运行结束后,系统有14台设备,再将14台设备分配给P4,P4运行结束后,系统有15台设备,此时将可供分配的资源数15台分配给P5进程,该进程均无法运行完毕。
不存在两个以上的进程等待彼此占用的资源,因而虽然P5无法执行,但系统还是安全的。
(6分)
4、解:调度顺序3,2,1,1,4,3,3,2,5,4,5,6,5,7,3,2,6
此淘汰算法有10次缺页中断。
评分标准:6分。
此淘汰算法有9次缺页中断。
评分标准:6分。