1、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
2、0; void sort( ) _ | | | | |-| 3费波那其数列,1,1,2,3,5编写程序求第十项。可以用递归,也可以用其 他方法,但要说明你选择的理由。 #include 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
3、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; else TNode* temp; t
4、emp=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里面
5、的struct有什么区别? 5请讲一讲析构函数和虚函数的用法和作用。 6全局变量和局部变量有什么区别?是怎么实现的?操作系统和编译器是怎么知道的 ? 78086是多少位的系统?在数据总线上是怎么实现的? 联想笔试题 1设计函数 int atoi(char *s)。 2int i=(j=4,k=8,l=16,m=32); printf(“%d”, i); 输出是多少? 3解释局部变量、全局变量和静态变量的含义。 4解释堆和栈的区别。 5论述含参数的宏与函数的优缺点。 普天C 笔试题 1实现双向链表删除一个节点P,在节点P后插入一个节点,写出这两个函数。 2写一个函数,将其中的t都转换成4个空格。
6、 3Windows程序的入口是哪里?写出Windows消息机制的流程。 4如何定义和实现一个类的成员函数为回调函数? 5C 里面是不是所有的动作都是main()引起的?如果不是,请举例。 6C 里面如何声明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 ma
7、in() son s; g(s); return; 大唐电信 DTT笔试题 考试时间一小时,第一部分是填空和选择: 1数列6,10,18,32,“?”,问“?”是几? 2某人出70买进一个x,80卖出,90买回,100卖出,这桩买卖怎么样? 3月球绕地球一圈,至少要多少时间? 47个人用7小时挖了7米的沟,以同样的速度在50小时挖50米的沟要多少人? 5鱼头长9,鱼尾等于鱼头加半个鱼身,鱼身等于鱼头加鱼尾,问鱼全长多少? 6一个小姐买了一块手表,回家发现手表比她家的表慢了两分钟,晚上看新闻的时候 又发现她家的表比新闻里的时间慢了两分钟,则 。 A 手表和新闻里的时间一样 B 手表比新闻里的时间
8、慢 C 手表比新闻里的时间快 7王先生看到一则招聘启事,发现两个公司除了以下条件不同外,其他条件都相同 A 半年年薪50万,每半年涨5万 B 一年年薪100万,每一年涨20万 王先生想去一家待遇比较优厚的公司,他会去哪家? 10问哪个袋子里有金子? A袋子上的标签是这样写的:B袋子上的话是对的,金子在A袋子。 B袋子上的标签是这样写的:A袋子上的话是错的,金子在A袋子里。 113个人住酒店30块钱,经理找回5块钱,服务生从中藏了2块钱,找给每人1块钱, 3(101) 2=29,问这是怎么回事? 12三篇写作,均为书信形式。 (1)一片中文的祝贺信,祝贺某男当了某公司xx (2)
9、两篇英文的,一是说有事不能应邀,派别人去;另一篇是讨债的,7天不给钱就 走人(主要考business letter格式)。 大唐面试试题 1什么是中断?中断发生时CPU做什么工作? 2CPU在上电后,进入操作系统的main()之前必须做什么工作? 3简述ISO OSI的物理层Layer1,链路层Layer2,网络层Layer3的任务。 4有线电话和无线电话有何区别?无线电话特别需要注意的是什么? 5软件开发五个主要step是什么? 6你在开发软件的时候,这5个step分别占用的时间百分比是多少? 7makefile文件的作用是什么? 8UNIX显示文件夹中,文件名的命令是什么?能使文件内容显示
10、在屏幕的命令是什么 ? 9(选做)手机用户在从一个基站漫游到另一个基站的过程中,都会发生什么? 网通笔试题 选择题(每题5分,只有一个正确答案) 1中国1号信令协议属于 的协议。 A ccs B cas C ip D atm 2isdnpri协议全称是 。 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 5dtmf全称是
11、 。 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分组交换 10ss7协议中的制止市忙消息简写为 。 A stb B slb C sub D spb 简答题(每题10分) 1简述普通电话与IP电话的区别。 2简述随路信令与公路信令的根本区别。 3说明掩
12、码的主要作用。 4ss7协议中,有三大要素决定其具体定位,哪三大要素? 5描述ss7的基本通话过程。 6简述通信网的组成结构。 7面向连接与面向非连接各有何利弊? 8写出爱尔兰的基本计算公式。 9数据网主要有哪些设备? 10中国一号协议是如何在被叫号码中插入主叫号码的? 东信笔试题目 笔试:30分钟。 1压控振荡器的英文缩写。 2动态随机存储器的英文缩写。 3选择电阻时要考虑什么? 4单片机上电后没有运转,首先要检查什么? 5计算机的基本组成部分及其各自的作用。 6怎样用D触发器、与或非门组成二分频电路? 中软融鑫笔试题 1关于工作 (1) 你对未来的工作生活是怎样憧憬的?为何选择我公司作为求
13、职公司? (2)请用不超过30个字给出一个最能让我们录用你的理由。 (3)你认为比较理想的工作环境是怎样的? (4)你个人的中长期的职业发展目标是怎样的? 2关于社会 (1)如果你是杨利伟,你在太空中向祖国人民说的第一句话是什么? (2)宋美龄女士于2003年10月谢世,对这位著名人士在西安事变中的态度和作用,你 是如何看待的?(不超过300字) (3)北京政府颁布的对拾金不昧者,失主要奖励相当于财产20%奖金的公告,你是如 何看的? (4)如果给你50万元人民币,你将会用这些钱做什么? (5)在美国,男、女卫生间(厕所)的正确称呼为什么?请用英语写出答案。 (6)你认为麦当劳是世界最大的汉堡
14、生产商吗?如果不是,请说出你的观点。 3教育背景 (1)你受过哪些正规的教育或培训?(自高中毕业起) (2)在校期间进行过哪些社会活动? Delphi笔试题目 机械类笔试试题 1. Briefly describe what is blanking(cutting), forming, coining and emboss ing in stamping process. 2. What is metal clading? 3. What is the purpose of adding glass fiber to thermoplastic material? 4. In contrast
15、 with metal and thermoplastic material,which has a higher co efficient 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 membe r? 7. What is the
16、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 Electro
17、nics Circuit ASM. 3. Wavelength for 12MHz frequency signal is_ 4. Name 2 important considerations for car radio performan -ce 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 tune
18、d 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 Coefficie nt 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(
19、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
20、 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 pac kages.Each package has the following thermal characteristics: Package Rja(摄氏度/W) Rjc(摄氏度/W) SO14 125 30 D1P8 100 52 Choose the most suitabl
21、e package to handle the power dissipation requireme nt 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 a
22、n 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
23、the keyword stati c? (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 wit hin that module (3)Within a module: A static function can only be called by other functi ons within that
24、module 6. Embedded systems always require the user to manipulate bits in register s 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 bo th cases, the remaining bits should be unmodified. 7. What does the foll
25、owing 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 15) 12. How many flip-flop circuits are needed to divide by 16? 13. Provides 3 properties that
26、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 JN
27、Z LOOP HLT How many times is the DCR C Operation executed? 17. Describe the most efficient way (in term of execution time and code si ze) to divide a number by 4 in assembly language 18. what value is stored in m in the following assembly language code frag ment if n=7? LDAA #n LABEL1: CMPA #5 BHI L
28、3 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 an swer. 2
29、1. Interrupts are an important part of embedded systems. Consequently, ma ny compiler vendors offer an extension to standard C to support interrupts. Ty pically, the keyword is _interrupt. The following routine (ISR). Point out pr oblems in the code. _interrupt double compute_area (double radius) do
30、uble 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 you r role whether anyone else was involved and any difficu
31、lties 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, p lease give details. 5. Other than academic success, what has been your
32、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 y ou; 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 y
33、ears? 2. What are your short-term and long-term career objectives? What do you t hink is the most ideal job for you? 3. Why do you want to join A.T kearney? What do you think you can contribu te to A.T kearney? 4. Why are you applying for a position at Arthur Anderson? 5. What are your expectations
34、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 yo u do to attract them? What would you d
35、o 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 achieve- ments. 5. Please describe any other significant activities you have been involved in including organizing people. 6.
36、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, an d what would you do? KPMG笔试题 “The big economic difference between nuclea
37、r and fossil-fuelled power sta tions is that nuclear reactors are more expensive to build and decommission, b ut 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 al so around the way in which future
38、 income should be compared with current incom e.” 1. The main difference between nuclear and fossil-fuelled power stations i s an economic one. TRUE UNTRUE CANNOT SAY 2. The price of coal is not relevant to discussions about the relative eff iciency of nuclear reactors. TRUE UNTRUE CANNOT SAY 3. If
39、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
40、capable of handlin g more than 5 million bits of data per second, our brain are capable of interp reting only about 500 bits per second. With similar disparities between each o f the other senses and the brain, it is easy to see that we must select the vi sual, auditory, or tactile stimuli that we wish to compute at any specific tim e.” 4. Physical stimuli usually win in the competition for our attention. TRUE UNTRUE CANNOT SAY 5. The