龙旗控股2010应届生招聘笔试考题
- 格式:doc
- 大小:31.00 KB
- 文档页数:2
2010-09-06-------------------------------------装-------------订-----------线--------------------------------------2010年生产分部AM1招聘试题一、填空题((每空1分,共30分)1.襄樊工厂2010年安全工作目标:工轻伤事故频率 1‰,厂内机动车事故≤ 4 起。
2.叉车按传动方式不同可分为机械传动、液力传动和静压传动三种3.叉车的基本参数中,载荷(载重量)和载荷中心距能体现叉车的装卸能力。
4.492G型汽油机型号中的G所代表的意义是工程机械用。
5.散热器将冷却水吸收的热量传给空气,以降低冷却水的温度。
6.发动机的润滑方式有压力润滑、飞溅润滑7、机动车上一般有两套制动:装置行车制动和驻车制动8、液压泵可以把发动机输出的机械能转变为液体的液体压力能9、液压系统的的工作介质是液压油。
10、在机床、管道、设备边行驶时,其距离不得少于0.5米。
11、内燃叉车的电源为发电机、蓄电池12、用车架代替另一根导线构成的回路叫做搭铁电路。
13、蓄电池叉车的三个电动机从用途方面可分别称为行走电机、工作电机、转向电机14、蓄电池在充电时可将电能转变为化学能储存起来。
15、电瓶车司机在行驶途中遇到险情时,应先顾人后顾物。
16、油门踏板控制化油器节气门的开度,使发动机的转速提高或降低。
17、需要人工搬运的大型物品则以腰部的高度为基准,这对于提高效率、保证安全是一项重要的原则。
18、叉车运行时,无论空载还是满载,货叉离地不得小于( 15mm ),不得高于( 50mm )。
20、人离开叉车必须做到:关闭启动开关;拉紧刹车;随身携带钥匙。
二、判断题(每题一分,共20分)2010-09-06-------------------------------------装-------------订-----------线--------------------------------------(√ )1.作为一个管理者,必须授权其他人去做一些工作。
测试者姓名:第一部分:性格测试本题不计分,请在下面两种方式内选择一种完成本部分测试1、请对自己的性格进行自我介绍2、每一道题都包含了 2 种状况可供选择,请仔细阅读,并依据您平时的一些行为习惯选择其中一种状况,同时在相应的括号内填上“√”。
在答题时,可能会遇到 2 种状况都不适用于您,或 2 种状况都适用于您,无论哪种情况,请选择其中您最倾向的答案。
(即使您对 2 种状况都不同意)。
如您留有空项或多选,那将影响您的测试结果!1 .我一般是老练的、有魅力的以及有上进心的。
【】我一般是直率的、刻板的以及空想的。
【】2 .我更加注重关系。
【】我更加注重目的。
【】3 .通常我会为了完成工作将感情置于一边。
【通常我会在我做事情之前需要先克服我的感情。
【】4 .我要依靠我的朋友,并且他们知道他们可以依靠我。
【我不依靠别人并独立做事。
【】5 .我希望能迎合别人-当我与别人距离很远,我感到不舒服。
【我希望与众不同-当我不能看到别人与我的区别,我感到不舒服。
6 .我很想给别人留下好的印象。
【 】我并不在乎是否能给别人留下好的印象。
【 】【】7 .我努力工作以求得到别人的接受与喜欢。
【 】得到别人的接受与喜欢对我来说并不重要。
【 】8 .我是一个善意的支持者。
【 】我是一个积极的老手。
【 】9 .通常我成为注意的焦点时,会很自然。
【 】】】】通常我成为注意的焦点时,会很不习惯。
【】10 .尽管我已取得成功,但我仍怀疑自己的能力。
【尽管我受到挫折,但我仍相信自己的能力。
【】11 .我倾向于集中于某事物并会紧张。
【我倾向于自然的并喜欢开玩笑。
【】12 .我不能大胆地表白我自己。
【我能大胆地说出别人想说但不敢说的话。
【】13 .一般来说,我是讲求方法并且很谨慎的。
【一般来说,我是敢于冒险的。
【】14 .我常常担心我不能得到较好的东西。
【我常常担心如果我放松警惕,别人就会欺骗我。
【】15 .如果有太多的刺激和鼓舞,我会感到焦虑。
招聘基础笔试题及答案一、选择题(每题2分,共10分)1. 以下哪个选项是正确的电子邮件地址格式?A. example@.comB. C. example@comD. example@.com答案:D2. 在Excel中,以下哪个函数用于计算一组数值的平均值?A. SUMB. AVERAGEC. COUNTD. MAX答案:B3. 以下哪个选项是HTML中用于创建无序列表的标签?A. <ol>B. <ul>C. <dl>D. <table>答案:B4. 在Word文档中,以下哪个快捷键用于插入当前日期?A. Ctrl + DB. Ctrl + Shift + ;C. Alt + Shift + DD. Alt + D答案:B5. 下列哪个选项是正确的SQL查询语句,用于选择所有列?A. SELECT * FROM table_name;B. SELECT all FROM table_name;C. SELECT * ALL FROM table_name;D. SELECT all * FROM table_name;答案:A二、填空题(每题3分,共15分)1. 在Excel中,要将单元格格式设置为货币,可以使用“单元格格式”对话框中的“______”选项卡。
答案:数字2. 在HTML中,用于定义最重要的标题的标签是 ______ 。
答案:<h1>3. 在Word中,要将文本的字体大小设置为14磅,可以使用“字体”选项卡中的“______”功能。
答案:字体大小4. 在SQL中,用于选择特定列的关键字是 ______ 。
答案:SELECT5. 在PowerPoint中,要将一张幻灯片的布局更改为“标题和内容”,可以使用“______”选项卡中的“布局”功能。
答案:设计三、简答题(每题5分,共20分)1. 描述在Excel中如何快速填充一系列连续的数字。
招聘硬件测试岗位笔试题及解答(某大型集团公司)(答案在后面)一、单项选择题(本大题有10小题,每小题2分,共20分)1、在硬件测试中,以下哪种测试方法是用于验证系统或部件在极端和非预期使用情况下表现的测试类型?A、功能性测试B、兼容性测试C、稳定性测试D、压力测试2、当进行硬件兼容性测试时,测试工程师通常会关注什么?A、设备在高温下的性能B、设备在低温下的性能C、不同品牌和型号的设备之间的互动D、硬件设备在长时间使用后的磨损情况3、硬件测试岗位笔试题及解答(某大型集团公司)试卷一、单项选择题3、下面哪个选项不是硬件测试中的通常测试类型?A)电气特性测试B)功能性测试C)环境适应性测试D)SQL性能测试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、破坏性物理静静(Destructive Physical Testing)通常用于测试设备的哪些方面?A、性能测试B、耐久性测试C、可靠性测试D、破坏性测试 10、在硬件测试中,EMI测试是指什么类型的测试?A、电磁兼容性测试B、电气绝缘强度测试C、机械强度测试D、可靠性测试二、多项选择题(本大题有10小题,每小题4分,共40分)1、请根据以下描述,选择正确的硬件测试流程的阶段。
公司招聘笔试题目有哪些公司招聘笔试题目有哪些导语:企业招聘考试是对求职者综合素质的考察,其中不少是对基础知识的检验。
招聘笔试题有哪些?以下是小编收集整理的笔试题,希望对您有所帮助。
基础数学题(1)连续4次抛掷一枚硬币,求恰出现两次是正面的概率和最后两次出现是正面的概率。
(2)有三个不同的信箱,今有4封不同的信欲投其中,共有多少种不同的投法?(3)一个口袋内装有除颜色外其他都相同的6个白球和4个红球,从中任意摸出2个,求:A、2个都是白球的概率;B、2个都是红球的概率;C、一个白球,一个红球的概率。
(4)你有两个罐子,50个红色弹球,50个蓝色弹球,随机选出一个罐子,随机选取出一个弹球放入罐子,怎么给红色弹球最大的选中机会?在你的'计划中,得到红球的准确几率是多少?(5)有30支篮球队,先分3组(每组10队)按单循环制进行比赛,然后将每组前三名集中,再按单循环制进行比赛,规定在小组赛已相遇的两队不再重赛,求先后比赛共有多少场?(6)M、N是两个平等平面,在M内取4个点,在N内取5个点,这9个点中,无其它四点共面,且其中任意三点不共线。
求:A、这些点最多能决定几条直线?几个平面?B、以这些点为顶点,能作多少个三棱锥?四棱锥?(7)某轮船公司每天中午有一艘轮船从哈佛开往纽约,有一艘轮船从纽约开往哈佛;轮船途中来去都是7昼夜,问今天中午从哈佛开出的轮船在途中将遇到几艘从对面开来的轮船?(8)正方形边长为1,以各个顶点半径为1做弧,在正方形中间有一个公共区域,求面积。
趣味数学和应用数学题(1)10个人排队戴帽子,10个黄帽子,9个蓝帽子,戴好后,后面的人可以看见前面所有人的帽子,然后从后面问起,问自己头上的帽子是什么颜色,结果一直问了9个人都说不知道,而最前面的人却知道自己头上的帽子的颜色。
问是什么颜色,为什么?(2)使用下列每组数字,排出加减乘除的公式,得出“24”。
第一组“1、2、3、4”;第二组“5、6、7、8”;第三组“3、3、8、8”。
企业笔试题目及答案企业笔试题目及答案笔试(Written Test)是一种与面试对应的测试,是考核应聘者学识水平的重要工具。
这种方法可以有效的测量应聘人的基本知识、专业知识、管理知识、综合分析能力和文字表达能力等素质及能力的差异。
下面是企业笔试题目及答案,请参考!腾讯笔试题:统计论坛在线人数分布求一个论坛的在线人数,假设有一个论坛,其注册ID有两亿个,每个ID从登陆到退出会向一个日志文件中记下登陆时间和退出时间,要求写一个算法统计一天中论坛的用户在线分布,取样粒度为秒。
一天总共有 3600*24 = 86400秒。
定义一个长度为86400的整数数组int delta[86400],每个整数对应这一秒的人数变化值,可能为正也可能为负。
开始时将数组元素都初始化为0。
然后依次读入每个用户的登录时间和退出时间,将与登录时间对应的整数值加1,将与退出时间对应的整数值减1。
这样处理一遍后数组中存储了每秒中的人数变化情况。
定义另外一个长度为86400的整数数组intonline_num[86400],每个整数对应这一秒的论坛在线人数。
假设一天开始时论坛在线人数为0,则第1秒的人数online_num[0] = delta[0]。
第n+1秒的人数online_num[n] = online_num[n-1] + delta[n]。
这样我们就获得了一天中任意时间的在线人数。
腾讯笔试题:从10G个数中找到中数在一个文件中有10G 个整数,乱序排列,要求找出中位数。
内存限制为 2G。
不妨假设10G个整数是64bit的。
2G内存可以存放256M 个64bit整数。
我们可以将64bit的整数空间平均分成256M个取值范围,用2G的内存对每个取值范围内出现整数个数进行统计。
这样遍历一边10G整数后,我们便知道中数在那个范围内出现,以及这个范围内总共出现了多少个整数。
如果中数所在范围出现的整数比较少,我们就可以对这个范围内的整数进行排序,找到中数。
2024年招聘笔试题与参考答案(答案在后面)一、单项选择题(本大题有10小题,每小题2分,共20分)1、以下哪项不是招聘过程中面试的基本类型?A、结构化面试B、非结构化面试C、情景模拟面试D、背景调查2、在招聘过程中,以下哪项不属于人力资源部门的职责?A、发布招聘信息B、筛选简历C、组织面试D、签订劳动合同3、在Java编程语言中,下面哪个关键字用于定义一个接口?A)classB)interfaceC)implementsD)extends4、以下哪项不是Python中的数据类型?A)intB)stringC)floatD)char5、题干:以下哪个选项不是Java编程语言中的基本数据类型?A. intB. floatC. StringD. boolean6、题干:在Python中,如何定义一个列表,并在其中添加元素?A. list = [1, 2, 3] list.append(4)B. array = [1, 2, 3] array.push(4)C. array = [1, 2, 3] array.append(4)D. list = (1, 2, 3) list.append(4)7、下列哪一项不属于团队合作的基本要素?A、相互信任B、明确目标C、个人主义D、有效沟通8、在项目管理中,“甘特图”主要用于:A、评估项目风险B、分配项目资源C、展示项目进度D、确定项目预算9、在计算机网络中,以下哪种协议是用来确保数据包按顺序正确传输的?A. TCP(传输控制协议)B. UDP(用户数据报协议)C. HTTP(超文本传输协议)D. SMTP(简单邮件传输协议) 10、以下哪种编程语言被称为“面向对象”编程语言?A. CB. JavaC. PHPD. SQL二、多项选择题(本大题有10小题,每小题4分,共40分)1、以下哪些属于企业招聘的流程步骤?()A、发布招聘信息B、简历筛选C、面试D、背景调查E、发放录用通知2、以下关于绩效考核的说法,正确的是哪些?()A、绩效考核是一种管理工具,用于评估员工的工作表现B、绩效考核的目的是为了激励员工,提高工作效率C、绩效考核应该基于客观、量化的标准进行D、绩效考核的结果应该对员工的发展产生积极影响E、绩效考核应该定期进行,但不宜过于频繁3、下列关于项目管理的说法正确的是:A. 项目管理的主要目标是按时完成任务。
英博百威2010校园招聘讨论区/1.Part way through a project you realize that you need more time to complete it. Your colleagues are also struggling on their part of the project and you happen to be more expert in that area and so they ask you for help. On top of that, your manager has asked you to work on another task that is unrelated to the project. How would you tackle this situation?A Work extra time on your project to give some time to help your colleagues and extend the end date so you can do what your manager wantsB Talk to your manager, explain the situation and ask for more resources to complete all the conflicting prioritiesC Share your plan with those requesting your time and prioritize your different tasks, say 'no' to the least important2.You are under pressure to deliver a report for the next management meeting. You find that to complete the main section you need another department to send some information. After requesting this information they explain to you they are short of staff and cannot deliver on time for your report. Also, you have a lot of other activities/tasks you should finalize. What is your reaction?A Explain the situation to your manager and ask him to re prioritize this for you or talk to the other department to get them to prioritize your informationB Offer to help the other department in any way you could to achieve their priority so they can deliver your information, however you would have to deliver your normal work alsoC Look for a way around this situation and try to find a way you could present the report without this information3.You have just been put in charge of a team, and you know that some of the team members are not on track for the delivery of their targets. They have commented that they feel the targets are too stretching because of lack of management support. What approach would you favor the most?A Request from your manager that the targets are reviewed and made less stretching until you can sort out the management issuesB Organize a team building exercise to get to increase their motivation so they can deliver their existing targetsC Organize a one‐on‐one meeting with each team member to understand their development needs so you can best support them to deliver their targets4. ABInBev has recently introduced a new culture globally. You are sent to a country where they traditionally work in a very different way and are finding it difficult to adopt the new culture. How do you tackle this issue?A Work in the country practicing the new culture yourself to help introduce it by understanding their issuesB Examine the objections and prepare solid counter arguments to convince the people of the new cultureC Ask people who work in the country what they would suggest is the best way to introduce the new culture5. You have arranged an evening out with other colleagues to celebrate a successful joint project that has been well received. When you arrive at the restaurant and ask for a drink they inform you that they no longer sell the ABInBev beers. Do you:A Accept that not all restaurants would have ABInBev beers, stay for dinner and consume another beer brand, but not go there next timeB Stay for dinner, only drink soft drinks, explaining to the restaurant why you have decided to do thisC Explain why you are there and that you cannot stay if they do not sell ABInBev beers6.As part of your training you have been put in charge of a shift in a Brewery being shadowed by the normal manager. Five minutes before the shift finishes a problem occurs which would take two hours to fix. Do youA Give a comprehensive handover to the next shift and let them take care of the problemB Stay on and help the next shift deal with the problemC Ask the normal manager to help the new shift with the problem7.You are working in sales. One of your clients has decided to move his stores to a completely different area of town and as part of this new initiative, the client will not be able to sell the ABInBev products for a while, and in addition he will be reviewing which brands of beer to sell on the new location. He sends you an e‐mail to inform you of this. You are under pressure to sell more beer as you may not reach your targets this year. Do you:A Offer your own time to help him have a successful move so he may take on more ABInBev productsB Get him in touch with people who may be able to help him move and concentrate on other sales opportunities C Once he has moved, give him a hand with choosing the most appropriate brands, concentrate on other sales possibilities8. You have been working very hard on a very important project over the past month and have arranged to go away fora rest this weekend. On Friday you realize a problem has occurred with the project involving the weekend shift people. You have to deal with this. Do youA Go away as planned but arrange to stay in touch all weekendB Cancel the weekend and go into work to support the weekend shift peopleC Find someone who has experience of this area of work and ask them to help this weekend9.You have a report to present to the senior team. It is a complicated financial report which is usually boring to present, but which could vitally affect their future decisions. You have a slot in the next team meeting. What would you consider as the most important?A Make sure the presentation is interesting to ensure you get their full attentionB Ensure there is adequate time to present and discuss the issues and consequencesC Limit your presentation to a few slides, but easy to understand, simple and clear10.You have an assignment which requires a lot of travel. Your manager gives you the responsibility to book everything. Which of these three considerations would you prioritize?A The convenience of airports/stations and comfort of travel so that you are fresh when you arriveB The amount of time the travel will takeC The amount the travel costs11.When dealing with an established sales force and talking to them about corporate/social responsibility, which of these three approaches would you prefer to adopt when making the presentation?A You present with a lot of drive and determination and make sure they understand the key messagesB You present by focusing on knowledge and give a lot of factsC You foresee enough time for the presentation to ensure they fully understand12.Before you start an assignment at a plant, you are given a guided tour. Part way through the tour you noticesomething that you think maybe being done inefficiently. Would youA Mention this to your managerB Wait until you have more experience and tackle it yourselfC Question what is happening and why immediately13.You are helping with presentations to potential new hires in a university job fare. What approach would you take?A Try to be an example of the InBev culture so they can see what is expectedB Try and be as helpful and friendly as possible to make a good impressionC Prepare as well as possible about InBev (its history, brands, strategy etc) to share this information and be able to answer all questions14. You are sitting with friends and the subject of ABInbev comes up and some of your friends start to criticize the local Brewery. You feel some of their negative comments are reasonable and from what you know internally you can see why they have this impression. What would you do?A Remain neutral so you can find out their points of view and report them back to the BreweryB Defend the Brewery by giving counter arguments tackling their negative pointsC As they know you work for ABInBev, join in and give your own opinions of the Brewery15.How would those who have worked with you before describe you?A Someone who is very flexibleB Someone who gets on well with most of the colleaguesC Someone who is very demanding and works hard16.You start working with a person that has a reputation for not getting on with others. What approach do you take?A Talk to the person to try to find out more information about what had happened previously so that you could try to understand their behaviourB Try to help them improve their relationships with others by advising them what they should do differentlyC Work as hard as you can and focus on your job and the teams objective, as team success is more important17.I am the sort of person who:A Prefers to waste no time and just get on with the job, getting through as much as I can, as fast as I canB Always plans their work in advance, sets key milestones, but remains flexible to deal with changesC Usually has a plan but sometimes deviates from it when there are really tight timescales18.Whilst working as a management trainee you have periods where your workload is not as high as others in your team. How would you approach this?A I would spend the quieter times getting to know my colleagues better and finding out what different experiences they have hadB I would make the most of the quieter times by getting on with the jobs that I don't always get time to do, such as organizing my filesC I would try to plan so that I had a more even spread of work and fill any quiet time by doing research for my own development19.Which of the following would those who know you well be most likely to say about you?A Always takes the time to help others outB Is good at understanding complex informationC Is very outgoing and makes friends easily20.Which statement best describes the way you like to learn the tasks and activities of a new role?A By attending a formal training course prior to starting in the roleB By shadowing a more experienced colleagueC By working in the role and learning "on the job"21.You are having lunch with a colleague, when another member of her team comes to sit with you, and starts making very negative comments about the organization and her team. How do you feel?A SympatheticB AnnoyedC Neutral更多海量资料下载,敬请访问。
2010年4月基础知识联考试题参考答案一、填空题(每空2分,共40分)1、人员招聘基本程序的准备阶段包括:招聘需求分析、明确招聘工作特征和要求、制订招聘计划和招聘策略。
2、招聘环境分为外部招聘环境和内部招聘环境。
3、一般情况下,人事部与用人部门在协商拟定招聘条件时,对其工作描述应包括工作职责、工作内容、工作要求、工作权限和工作条件。
4、人力资源的最基本方面包括体力和智力。
如果从现实的应用形态来看,则包括体质、智力、知识和技能四个方面。
5、工作说明书的编写要求包括准确、实用、完整和统一。
二、简答题(每题10分,共30分)1、工作说明书的内容有哪些?工作标识、工作综述、工作活动和工作程序、工作条件与物理环境、社会环境、工作权限、绩效标准、聘用条件、工作规范2、人员招聘的基本程序分为哪几个阶段?分别包括哪些方面?准备阶段。
包括:招聘需求分析、明确招聘工作特征和要求、制订招聘计划和招聘策略。
实施阶段。
招聘工作的实施是整个招聘活动的核心,也是最关键的一环,先后经历招募、筛选、录用三个步骤。
评估阶段。
及时发现问题、分析原因、寻找解决的对策,有利于及时调整有关计划并为下次招聘提供经验教训。
3、什么是人力资源管理?是指运用现代化的科学方法,对与一定物力相结合的人力进行合理的培训、组织和调配,使人力、物力经常保持最佳比例,同时对人的思想、心理和行为进行恰当的诱导、控制和协调,充分发挥人的主观能动性,使人尽其才,事得其人,人事相宜,以实现组织目标。
三、论述题(30分)企业在招聘时,如何进行招聘需求分析?从哪几个步骤进行分析?(30分)第一步:岗位信息的采集搜集现有的岗位说明书、组织机构、团队结构、用人机制等资料是岗位信息的重要来源,实地考察、任职者访谈、绩优者分析等是采集搜集岗位信息的有效方法。
第二步:岗位信息的整理提炼所有与岗位相关的信息可以被整合成四个方面:岗位职责要求:岗位的关键产出是什么?岗位对人的行为要求是什么?这些要求哪些是对人的,哪些是对事的?工作环境特点:是否要求承担较大的工作压力?工作节奏快慢如何?岗位在公司中的地位如何?任职人所在团队氛围如何?公司文化要求:公司倡导什么样的价值观?公司体现什么样的精神风貌?公司需要体现什么样的工作风格?公司发展需要:公司未来的业务方向是什么?在可预见的未来,业务发展对人的要求将发生什么样的变化?第三步:汇总岗位的用人要求从“知识、技能、经验”、“能力”、“动机/价值观”三个维度,对上述信息加以汇总,形成岗位用人要求。
应聘职位:软件工程师、软件测试工程师
龙旗控股2010应届生招聘笔试考题(二)
一、选择题
1.下列程序的运行结果是 B
# define A 5
# define B A+1
main( )
{
int a;
a=B;
printf(″%d\n″a--);
}
A.6
B.5
C.4
D.出错
2.设int i,x[3][3]={1,2,3,4,5,6,7,8,9};则下面语句
for(i=0;i<3;i++)
printf(″%d″,x[i][2-i]);
的输出结果是 C
A.147
B.159
C.357
D.369
3.设有以下程序段:int a=1, b=10, c=1, x; x=a&&b||++c;printf(″%d, %d\n″,x,c);
执行后输出的结果是 D
A.0,0
B.0,1
C.1,0
D.1,1
4.假定a和b为int型变量,则执行下述语句组后,b的值为
a=1;
b=10;
do
{
b-=a;
a++;
} while (b--<0);
A.9
B.-2
C.-1
D.8
5.设int a = 3;则表达式a<1&&--a>1的运算结果和a的值分别是 C
A.0和2
B.0和3
C.1和2
D.1和3
6.表达式“sizeof(int [1][2])/sizeof(int)”的值为_B____。
A 1
B 2
C 3
D 4
二、专业题
1.Windows NT下的32位机运行环境下:
char str[]=“Hello”;
char *p = str;
int n = 10;
请计算strlen(str),sizeof(str),sizeof(p),sizeof(n)
Strlen(str)=6
Sizeof(str)=6
Sizeof(p)=6
Sizeof(n)=8
2.请编码实现以下功能的函数
功能:实现对一个8 bit数据(unsigned char类型)的指定位(例如第n位)的置0或者置1操作,并保持其他位不变。
函数原型:void bit_set(unsigned char*p_data,unsigned char position,bool flag)
函数参数说明:p_data是指定的源数据,position是指定位(取值范围1~8),flag表示是置0还是置1操作
3.请用C语言实现字符串右循环移位函数,比如〞abcdefghi〞循环右移2位就是〞hiabcdefg〞。
函数原型: void RightLoopMove(char * pStr,unsigned short steps)
参数说明:
pStr:Pointer to aˊ\0ˊterminated string
steps:The rotate shift numbers。