首页 46家公司笔试题

46家公司笔试题

举报
开通vip

46家公司笔试题 46 家著名公司笔试题目 Sony 笔试题 1.完成下列程序 * *.*. *..*..*.. *...*...*...*... *....*....*....*....*.... *.....*.....*.....*.....*.....*..... *......*......*......*......*......*......*...... *.......*.......*.......*.......*.......*.......

46家公司笔试题
46 家著名公司笔试题目 Sony 笔试题 1.完成下列程序 * *.*. *..*..*.. *...*...*...*... *....*....*....*....*.... *.....*.....*.....*.....*.....*..... *......*......*......*......*......*......*...... *.......*.......*.......*.......*.......*.......*.......*....... #include #define N 8 int main() { int i; int j; int k; --------------------------------------------------------- | | | | | | --------------------------------------------------------- return 0; } 2.完成程序,实现对数组的降序排序 #include void sort( ); int main() { int array[]={45,56,76,234,1,34,23,2,3}; //数字任//意给出 sort( ); return 0; } void sort( ) { ____________________________________ | | | | |-----------------------------------------------------| } 3.费波那其数列,1,1,2,3,5……编写程序求第十项。可以用递归,也可以用其他 wangxijun 附注 for (i=1;i<=N;i++) { for (j=1;j<=i;j++) { printf("*"); for (k=1;k int Pheponatch(int); int main() { printf("The 10th is %d",Pheponatch(10)); return 0; } int Pheponatch(int N) { -------------------------------- | | | | -------------------------------- } 4.下列程序运行时会崩溃,请找出错误并改正,并且说明原因。 #include #include typedef struct{ TNode* left; TNode* right; int value; } TNode; TNode* root=NULL; void append(int N); int main() { append(63); append(45); append(32); append(77); append(96); append(21); append(17); // Again, 数字任意给出 } void append(int N) { TNode* NewNode=(TNode *)malloc(sizeof(TNode)); NewNode->value=N; if(root==NULL) { root=NewNode; return; } wangxijun 附注 if (N>2) return (Ph(N-1)+Ph(N-2)); else return 1; wangxijun 附注 没看出来... else { TNode* temp; temp=root; while((N>=temp.value && temp.left!=NULL) || (N=temp.value && temp.left!=NULL) temp=temp.left; while(N=temp.value) temp.left=NewNode; else temp.right=NewNode; return; } } 华为笔试题 1.请你分别画出 OSI 的七层网络结构图和 TCP/IP 的五层结构图。 2.请你详细地解释一下 IP 协议 离婚协议模板下载合伙人协议 下载渠道分销协议免费下载敬业协议下载授课协议下载 的定义,在哪个层上面?主要有什么作用?TCP 与 UDP 呢 ? 3.请问交换机和路由器各自的实现原理是什么?分别在哪个层次上面实现的? 4.请问 C++的类和 C 里面的 struct 有什么区别? 5.请讲一讲析构函数和虚函数的用法和作用。 6.全局变量和局部变量有什么区别?是怎么实现的?操作系统和编译器是怎么知道 的 ? 7.8086 是多少位的系统?在数据总线上是怎么实现的? 联想笔试题 1.设计函数 int atoi(char *s)。 2.int i=(j=4,k=8,l=16,m=32); printf(“%d”, i); 输出是多少? 3.解释局部变量、全局变量和静态变量的含义。 4.解释堆和栈的区别。 wangxijun 附注 置于“~”是析构函数;析构函数因使用"~"符号(逻辑非运算符),表示它为腻构造函数,加上类名称来定义。 ;析构函数也是特殊的类成员函数,它没有返回类型,没有参数,不能随意调用,也没有重载,只有在类对象的生命期结束的时候,由系统自动调用。 有适放内存空间的做用! 虚函数是C++多态的一种表现 例如:子类继承了父类的一个函数(方法),而我们把父类的指针指向子类,则必须把父类的该函数(方法)设为virturl(虚函数)。 使用虚函数,我们可以灵活的进行动态绑定,当然是以一定的开销为代价。 如果父类的函数(方法)根本没有必要或者无法实现,完全要依赖子类去实现的话,可以把此函数(方法)设为virturl 函数名=0 我们把这样的函数(方法)称为纯虚函数。 如果一个类包含了纯虚函数,称此类为抽象类 wangxijun 附注 主要的区别是变量的作用范围不同。全局变量在全局范围内都有效,而局部变量只在声明此变量的作用域内有效。 全局变量是属于实例的,在初始化对象的时候初始化,生命周期与该实例相同,之所以叫全局变量是因为该实例中的所有方法或属性都可以引用;局部变量是在实例方法内或static块中,生命周期从调用该方法到该方法退出,并且只有该方法能够引用之。 全局变量和局部变量的区别是在存储器中位置不同,具体说,全局变量存储在数据段中,局部变量都有可能,一般来说在堆栈段 wangxijun 附注 atoi是把字符串转化为整形数,比如“980”变成980 wangxijun 附注 输出32,逗号运算符从左到右执行,返回最右边的一个数。 wangxijun 附注 除关键字不同外(class,struct)的唯一区别是, 结构在默认情况下的成员是公共(public)的, 而类在默认情况下的成员是私有(private)的。 在C++中,结构是特殊的类。   class是从struct发展而来的。之所以将struct和class都保留,是因为: 1、提出class是为了强调一种概念。 2、保留struct是为了照顾到大多数人的习惯。 struct和class是有区别的。   struct保证成员按照声明顺序在内存中存储。class不保证等等 而它们都可以继承,实现多态等。但也有少许区别。比如: struct A { }; class B : A{ }; //private继承 struct C : B{ }; //public继承 这是由于class默认是private,struct默认是public。 一般说来,struct和class可以换用(当然要注意一些语法问题)。 而struct更适合看成是一个数据结构的实现体, class更适合看成是一个对象的实现体, 对私有成员进行保护,还提供与外界的接口。 从习惯上更喜欢用class。 5.论述含参数的宏与函数的优缺点。 普天 C++笔试题 1.实现双向链表删除一个节点 P,在节点 P 后插入一个节点,写出这两个函数。 2.写一个函数,将其中的\t 都转换成 4 个空格。 3.Windows 程序的入口是哪里?写出 Windows 消息机制的流程。 4.如何定义和实现一个类的成员函数为回调函数? 5.C++里面是不是所有的动作都是 main()引起的?如果不是,请举例。 6.C++里面如何声明 const void f(void)函数为 C 程序中的库函数? 7.下列哪两个是等同的 int b; A const int* a = &b; B const* int a = &b; C const int* const a = &b; D int const* const a = &b; 8.内联函数在编译时是否做参数类型检查? void g(base & b){ b.play; } void main(){ son s; g(s); return; } 大唐电信 DTT 笔试题 考试时间一小时,第一部分是填空和选择: 1.数列 6,10,18,32,“?”,问“?”是几? 2.某人出 70 买进一个 x,80 卖出,90 买回,100 卖出,这桩买卖怎么样? 3.月球绕地球一圈,至少要多少时间? 4.7 个人用 7 小时挖了 7 米的沟,以同样的速度在 50 小时挖 50 米的沟要多少人? 5.鱼头长 9,鱼尾等于鱼头加半个鱼身,鱼身等于鱼头加鱼尾,问鱼全长多少? 6.一个小姐买了一块手表,回家发现手表比她家的表慢了两分钟,晚上看新闻的时候 又 发现她家的表比新闻里的时间慢了两分钟,则 。 A 手表和新闻里的时间一样 B 手表比新闻里的时间慢 C 手表比新闻里的时间快 7.王先生看到一则招聘启事,发现两个公司除了以下条件不同外,其他条件都相同 A 半年年薪 50 万,每半年涨 5 万 wangxijun 附注 宏的缺点是不进行类型检查,有点是可以左某些特殊的工作,比如字符串连接的,宏在预处理阶段展开。 C++的语言设计者本人强烈建议使用inline函数来代替宏。 含参数的宏缺点主要是可读性差,容易出错,优点是在预处理阶段完成,不占用编译时间 wangxijun 附注 char *changeToSpac(char *strDes, const char *strSrc) { char *addr = strDes; while(*strSrc != '\0') { if(*strSrc == '\t') { for(int i = 0; i < 4; i++) *strDes++ = ' '; strSrc++; } else { *strDes++ = *strSrc++; } } return addr; } wangxijun 附注 不是! 在 main 前面定义一个类数据类型, 比如 ClassT example;他有自己的构造函数,这个构造函数在main之前应该就开始执行了。 main 不过是一个程序的入口而已。 至于所有的动作呢, 那就多了, 用户也有动作嘛! wangxijun 附注 内联函数要做参数类型检查, 这是内联函数跟宏相比的优势 B 一年年薪 100 万,每一年涨 20 万 王先生想去一家待遇比较优厚的公司,他会去哪家? 10.问哪个袋子里有金子? A 袋子上的标签是这样写的:B 袋子上的话是对的,金子在 A 袋子。 B 袋子上的标签是这样写的:A 袋子上的话是错的,金子在 A 袋子里。 11.3 个人住酒店 30 块钱,经理找回 5 块钱,服务生从中藏了 2 块钱,找给每人 1 块 钱, 3×(10?1)+2=29,问这是怎么回事? 12.三篇写作,均为书信形式。 (1)一片中文的祝贺信,祝贺某男当了某公司 xx (2)两篇英文的,一是说有事不能应邀,派别人去;另一篇是讨债的,7 天不给钱就 走 人(主要考 business letter 格式)。 大唐面试试题 1.什么是中断?中断发生时 CPU 做什么工作? 2.CPU 在上电后,进入操作系统的 main()之前必须做什么工作? 3.简述 ISO OSI 的物理层 Layer1,链路层 Layer2,网络层 Layer3 的任务。 4.有线电话和无线电话有何区别?无线电话特别需要注意的是什么? 5.软件开发五个主要 step 是什么? 6.你在开发软件的时候,这 5 个 step 分别占用的时间百分比是多少? 7.makefile 文件的作用是什么? 8.UNIX 显示文件夹中,文件名的命令是什么?能使文件内容显示在屏幕的命令是什 么 ? 9.(选做)手机用户在从一个基站漫游到另一个基站的过程中,都会发生什么? 网通笔试题 选择题(每题 5 分,只有一个正确答案) 1.中国 1 号信令协议属于 的协议。 A ccs B cas C ip D atm 2.isdnpri 协议全称是 。 A 综合业务模拟网基速协议 B 综合业务模拟网模拟协议 C 综合业务数字网基率协议 D 综合业务数字网基次协议 3.路由协议中, 协议是用距离作为向量的。 A ospf B bgp C is-is D rip 4.中国智能网中,ssp 与 scp 间最上层的 ss7 协议是 。 A incs B is41b C is41c D inap 5.dtmf 全称是 。 A 双音多频 B 多音双频 C 多音三频 D 三音多频 6.计算机的基本组成部分中,不包含下面设备的是 。 A cpu B 输入设备 C 存储器 D 接口 7.脉冲编码调制的简称是 。 A pcm B pam C (delta)M D atm 8.普通电话线接口专业称呼是 。 A rj11 B rj45 C rs232 D bnc 9.现有的公共数据网都采用 。 A 电路交换技术 B 报文交换技术 C 语音插空 D 分组交换 10.ss7 协议中的制止市忙消息简写为 。 A stb B slb C sub D spb 简答题(每题 10 分) 1.简述普通电话与 IP 电话的区别。 2.简述随路信令与公路信令的根本区别。 3.说明掩码的主要作用。 4.ss7 协议中,有三大要素决定其具体定位,哪三大要素? 5.描述 ss7 的基本通话过程。 6.简述通信网的组成结构。 7.面向连接与面向非连接各有何利弊? 8.写出爱尔兰的基本计算公式。 9.数据网主要有哪些设备? 10.中国一号协议是如何在被叫号码中插入主叫号码的? 东信笔试题目 笔试:30 分钟。 1.压控振荡器的英文缩写。 2.动态随机存储器的英文缩写。 3.选择电阻时要考虑什么? 4.单片机上电后没有运转,首先要检查什么? 5.计算机的基本组成部分及其各自的作用。 6.怎样用 D 触发器、与或非门组成二分频电路? 中软融鑫笔试题 1.关于工作 (1) 你对未来的工作生活是怎样憧憬的?为何选择我公司作为求职公司? (2)请用不超过 30 个字给出一个最能让我们录用你的理由。 (3)你认为比较理想的工作环境是怎样的? (4)你个人的中长期的职业发展目标是怎样的? 2.关于社会 (1)如果你是杨利伟,你在太空中向祖国人民说的第一句话是什么? (2)宋美龄女士于 2003 年 10 月谢世,对这位著名人士在西安事变中的态度和作用, 你 是如何看待的?(不超过 300 字) (3)北京***颁布的对拾金不昧者,失主要奖励相当于财产 20%奖金的公告,你是如 何看的? (4)如果给你 50 万元人民币,你将会用这些钱做什么? (5)在美国,男、女卫生间(厕所)的正确称呼为什么?请用英语写出答案。 (6)你认为麦当劳是世界最大的汉堡生产商吗?如果不是,请说出你的观点。 3.教育背景 (1)你受过哪些正规的教育或培训?(自高中毕业起) (2)在校期间进行过哪些社会活动? Delphi 笔试题目 机械类笔试试题 1. Briefly describe what is blanking(cutting), forming, coining and embosing in stamping process. 2. What is metal clading? 3. What is the purpose of adding glass fiber to thermoplastic material? 4. In contrast with metal and thermoplastic material, which has a higher coefficient of thermal expansion(CTE). 5. The most suitable material for a integral hinge design (typical plastic thickness=0.25 to 0.5mm at hinge) 6. Can a bending load makes both compressive and tensile stress in a member? 7. What is the design criteria used in plastics catch/snap? 8. What is FEA? 9. Why is natural frequency important in vibration analysis? 10. What is the deflection equation of a cantilever beam fixed at one edge ? EE 笔试试题 1. Name 3 Vehicle Buses. 2. Name 2 possible sources of Electromagnetic interference on Electronics Circuit ASM. 3. Wavelength for 12MHz frequency signal is____ 4. Name 2 important considerations for car radio performance related to audio signal processing under multipath condition? 5. What is the typical FM receiver RF signal strength to achieve 30dB S/N for car radio? 6. When a radio is tuned to 98.1 MHz & with a LO of 108.8 MHz, what is the image frequency? 7. For a system with a matched impedance, what is the Reflection Coefficient and SWR? 8. Which property of the output capacitor is the primary cause of Low Drop Out(LDO) regulator loop instability? (1)Equivalent series resistance(ESR) (2)Effective series inductance(ESL) (3)Capacitance value (4)Dielectric material 9. The switching regulator is capable of: (1)Higher power conversion efficiency (2)Providing an output voltage that is higher than the input (3)Generating an output boltage oppsite in polarity to the input (4)All of the above 10. A linear regulator op Vin(max) = 10v, Vout(min) = 4.8v, Iout(max) = 2. 5mA, Iq(max) = 2.5mA, Ta(max) = 8.5 摄氏度,The regulator is available in 3 packages.Each package has the following thermal characteristics: Package Rja(摄氏度/W) Rjc(摄氏度/W) SO14 125 30 D1P8 100 52 Choose the most suitable package to handle the power dissipation requirement without a heat sink and why. 软件笔试题 1. How do you code an infinite loop in C? 2. Volatile: (1)What does the keyword volatile mean? Give an example (2)Can a parameter be both const and volatile? Give an example (3)Can a pointer be volatile? Give an example 3. What are the values of a, b, and c after the following instructions: int a=5, b=7, c; c = a+++b; 4. What do the following declarations mean? (1)const int a; (2)int const a; (3)const int *a; (4)int * const a; (5)int const * a const; 5. Which of the following statements describe the use of the keyword static? (1)Within the body of a function: A static variable maintains its value between function revocations (2)Within a module: A static variable is accessible by all functions within that module (3)Within a module: A static function can only be called by other functions within that module 6. Embedded systems always require the user to manipulate bits in registers or variables. Given an integer variable a, write two code fragments. The first should set bit 5 of a. The second shnuld clear bit 5 of a. In both cases, the remaining bits should be unmodified. 7. What does the following function return? char foo(void) { unsigned int a = 6; iht b = -20; char c; (a+b > 6) ? (c=1): (c=0); return c; } 8. What will be the output of the following C code? main() { int k, num= 30; k =(num > 5 ? (num <=10 ? 100:200): 500); printf(“%d”, k); } 9. What will the following C code do? int *ptr; ptr =(int *)Ox67a9; *ptr = Oxaa55; 10. What will be the output of the follow C code? #define product(x) (x*x) main() { int i = 3, j, k; j = product(i++); k = product(++i); printf(“%d %d”,j,k); } 11. Simplify the following Boolean expression !((i ==12) || (j > 15)) 12. How many flip-flop circuits are needed to divide by 16? 13. Provides 3 properties that make an OS, a RTOS? 14. What is pre-emption? 15. Assume the BC register value is 8538H, and the DE register value is 62 A5H.Find the value of register BC after the following assembly operations: MOV A,C SUB E MOV C,A MOV A,B SBB D MOV B,A 16. In the Assembly code shown below LOOP: MVI C,78H DCR C JNZ LOOP HLT How many times is the DCR C Operation executed? 17. Describe the most efficient way (in term of execution time and code size) to divide a number by 4 in assembly language 18. what value is stored in m in the following assembly language code fragment if n=7? LDAA #n LABEL1: CMPA #5 BHI L3 BEQ L2 DECA BRA L1 LABEL2: CLRA LABEL3: STAA #m 19. What is the state of a process if a resource is not available? #define a 365*24*60*60 20. Using the #define statement, how would you declare a manifest constant that returns the number of seconds in a year? Disregard leap years in your answer. 21. Interrupts are an important part of embedded systems. Consequently, many compiler vendors offer an extension to standard C to support interrupts. Typically, the keyword is __interrupt. The following routine (ISR). Point out problems in the code. __interrupt double compute_area (double radius) { double area = PI * radius * radius; printf(“\nArea = %f”, area); return area; } Hongkong Bank 笔试题 1. Please state why you chose to follow these activities and how they have contributed to your personal development. You may wish to give details of your role whether anyone else was involved and any difficulties you encountered. 2. Please state how you have benefited from your work experience. 3. How much is your present monthly salary including allowances. 4. Do you need to compensate your present employer if you resign? If so, please give details. 5. Other than academic success, what has been your greatest achievement to date? What do you see as your personal strength, why? 6. Please state why the position you have applied for is appropriate for you; Why you have selected HongKong Bank and what your career objectives are. A.T. Keaney 笔试题 1. Describe your greatest achievement in the past 4-5 years? 2. What are your short-term and long-term career objectives? What do you think is the most ideal job for you? 3. Why do you want to join A.T kearney? What do you think you can contribute to A.T kearney? 4. Why are you applying for a position at Arthur Anderson? 5. What are your expectations of our firm. 6. Describe your hobbies and interests. Shell company 笔试题 1. How wold your colleagues/classmates describe you in five words? On what evidence would they base this assessment. 2. If you are asked to recruit the best graduates for shell, what would you do to attract them? What would you do to select them? 3. Please describe a new activity that you have initiated and implemented. Please highlight your role out. 4. Please describe your outstanding non-academic achievements. 5. Please describe any other significant activities you have been involved in including organizing people. 6. Imagine that Shell has found oil in an inland province of China, near a large river. You are responsible for planning how to transport the oil to the coast thousands of miles away. What are the main issue you would consider, and what would you do? KPMG 笔试题 “The big economic difference between nuclear and fossil-fuelled power stations is that nuclear reactors are more expensive to build and decommission, but cheaper to sun. So disputes over the relative efficiency of the two systems revolve not just around prices of coal and uranium today and tomorrow, but also around the way in which future income should be compared with current income.” 1. The main difference between nuclear and fossil-fuelled power stations is an economic one. TRUE UNTRUE CANNOT SAY 2. The price of coal is not relevant to discussions about the relative efficiency of nuclear reactors. TRUE UNTRUE CANNOT SAY 3. If nuclear reactors were cheaper to build and decommission than fossil-fuelled power stations, they would definitely have the economic advantage. TRUE UNTRUE CANNOT SAY “At any given moment we are being bombarded by physical and psychological stimuli competing for our attention. Although our eyes are capable of handling more than 5 million bits of data per second, our brain are capable of interpreting only about 500 bits per second. With similar disparities between each of the other senses and the brain, it is easy to see that we must select the visual, auditory, or tactile stimuli that we wish to compute at any specific time.” 4. Physical stimuli usually win in the competition for our attention. TRUE UNTRUE CANNOT SAY 5. The capacity of the human brain is sufficient to interpret nearly all the stimuli the senses can register under optimum conditions. TRUE UNTRUE CANNOT SAY 6. Eyes are able to cope with a greater input of information than ears. TRUE UNTRUE CANNOT SAY VERBAL ANSWER: (1)C CANNOT SAY (2)B UNTRUE (3)A TRUE (4)C CANNOT SAY (5)B UNTRUE (6)C CANNOT SAY Part II NUMERCAL TEST 1.Which country had the highest number of people aged 60 or over at the start of 1985? A. UK B. France C. Italy D. W.Germany E. Spain 2.What percentage of the total 15mm button production was classed as sub-standard in September? AA 10.5% BB 13% CC 15% DD 17.5% EE 20% AB 23.5% AC 25% AD 27.5% AE 28% BC 30.5% 3. How many live births occurred in 1985 in Spain and Italy together (to the nearest 1000)? A. 104 000 B. 840 000 C. 1 044 000 D. 8 400 000 E. 10 440 000 4. What was the net effect on the UK population of the live birthand death rates in 1985? A. Decrease of 66 700 B. Increase of 752 780 C. Increase of 84 900 D. Cannot Say E. Increase of 85 270 5. By how much did the total sales value of November‘s button production vary from October‘s? A. 8.50 (Decrease) B. 42.50 (Decrease) C. 85.00 (Increase) D. 27.50 (Decrease) E. No change 6. What was the loss in potential sales revenue attributable to the production of sub-standard (as opposed to standard) buttons over the 6 month period? A. 13.75 B. 27.50 C. 137.50 D. 280.00 E. 275.00 香港电信笔试题 1. Based on your understanding of the following java related technologies: servlets, JavaServerPage, JavaBeans, Enterprise JavaBeans, how do you think these technologies are work together or are applied in the development of an in ternet-based application (25marks). 2. In your opinion ,what do you think are the advantages or benefits of using an object-oriented approach to software development? how do you think those benefits can be achieved or realized? (15marks). 3. In designing your classes, given the choice between inheritance and aggregation which do you choose (15marks). 4. How would you work around the lack of multiple inheritance feature in Java (15marks). 5. What would you consider to be the hardest part of OO analysis and design and why (10marks). 6. How do you keep yourself up to date with the latest in software techonogy, especially in the field of software development (10marks). 7. What si your career aspiration? Why do you think this E-Commerce Development Center can help you in achieving your career goals (10marks) (1hr, answer in English). ORA
本文档为【46家公司笔试题】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_145086
暂无简介~
格式:pdf
大小:275KB
软件:PDF阅读器
页数:28
分类:
上传时间:2012-07-29
浏览量:14