联想笔试题
1.设计函数 int atoi(char *s)。
2.int i=(j=4,k=8,l=16,m=32); printf(“%d”, i); 输出是多少?
3.解释局部变量、全局变量和静态变量的含义。
4.解释堆和栈的区别。
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万
B 一年年薪100万,每一年涨20万
王先生想去一家待遇比较优厚的公司,他会去哪家?
10.问哪个袋子里有金子?
A袋子上的标签是这样写的:B袋子上的话是对的,金子在A袋子。
B袋子上的标签是这样写的:A袋子上的话是错的,金子在A袋子里。
11.3个人住酒店30块钱,经理找回5块钱,服务生从中藏了2块钱,找给每人1块钱,
3×(101)+2=29,问这是怎么回事?
12.三篇写作,均为书信形式。
(1)一片中文的祝贺信,祝贺某男当了某公司xx
(2)两篇英文的,一是说有事不能应邀,派别人去;另一篇是讨债的,7天不给钱就
走人(主要考business letter格式)。
网通笔试题
选择题(每题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.中国一号协议是如何在被叫号码中插入主叫号码的?
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 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 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 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 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 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(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 pac
kages.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 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 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 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 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 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 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 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 an
swer.
21. 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)
{
double area = PI * radius * radius;
printf(“\nArea = %f”, area);
return area;
}
香港电信笔试题
1. Based on your understanding of the following java related technologies:
servlets, JavaServerPage, JavaBeans, Enterprise JavaBeans, how do you think t
hese technologies are work together or are applied in the development of an internet-based application (25marks).
2. In your opinion ,what do you think are the advantages or benefitsof usi
ng 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 agg
regation which do you choose (15marks).
4. How would you work around the lack of multiple inheritance feature in J
ava (15marks).
5. What would you consider to be the hardest part of OO analysis and desig
n and why (10marks).
6. How do you keep yourself up to date with the latest in software techono
gy, especially in the field of software development (10marks).
7. What si your career aspiration? Why do you think this E-Commerce Develo
pment Center can help you in achieving your career goals (10marks) (1hr, answe
r in English).
维尔VERITAS软件笔试题
1. A class B network on the internet has a subnet mask of 255.255.240.0, w
hat is the maximum number of hosts per subnet .
a. 240 b. 255 c. 4094 d. 65534
2. What is the difference: between o(log n) and o(log n^2), where both log arithems have base 2 .
a. o(log n^2) is bigger b. o(log n) is bigger
c. no difference
3. For a class what would happen if we call a class’s constructor from with
the same class’s constructor .
a. compilation error b. linking error
c. stack overflow d. none of the above
4. “new” in c++ is a: .
a. library function like malloc in c
b. key word c. operator
d. none of the above
5. Which of the following information is not contained in an inode .
a. file owner b. file size
c. file name d. disk address
6. What’s the number of comparisons in the worst case to merge two containing elements each .
a. 2n b.2n-1 c.2n+1 d.2n-2
7. Time complexity of n algorithm T(n), where n is the input size ,is T(n) =T(n-1)+1/n if n>1
otherwise 1 the order of this algorithm is .
a. log (n) b. n c. n^2 d. n^n
8. The number of 1’s in the binary representation of 3*4096+ 15*256+5*16+ 3 are .
a. 8 b. 9 c. 10 d. 12
凹凸电子软件笔试题
1. Select ONE of the following projects to discuss:
a. Signal Filtering: You are given a sampled realtime waveform consisting
of a sensor reading mixed with highly periodic impulses and high frequency noi
se.The desired output is the realtime filtered sensor signal with the impulses
and noise removed, and a readout of the impulse period. The FFT may not be used.
b. Interrupt Processing.A headware register consisting of eight independen
t edge triggered latches is used to record external asynchronous interrupt req
uests. When any of the request bits are latched, a software interrupt is gener
ated. The software may read the latch to see which interrupt(s) occurred. Writ
ing a one to any latch bit will clear the latch. How does that software assure
that no interrupt request is ever missed?
c. User Interface: a prototype MP3 player interface consisting of a playli
st display and a few control buttons is given to you. How would you make the i
nterface “skinnable”,with user selected graphics, options, and control butto
n placement?
Each project description is incomplete. What questions would you ask to co
mpletely specify the project? What development tools would you prefer to use?
What algorithm /data structures/design would you use?
2. What program(s) have you coded for you own enjoyment (not part of a sch
ool project,not for pay). What type of software project would you most enjoy w
orking on?
3. Have you participated in a team programming project? What is the hardes
t part of programming as a team, as opposed to programming alone?
扬智(科技)笔试题目
软件题目
1. Queue is a useful structure
* What is a queue?
* Write 5 operations or functions, without details, that can be done on a
queue.
2. Insert a sequence fo keys(24,49,13,20,59,23,90,35) into a data structur
e, which has no keys initially. Depict the data structure after these insertio
ns, if it is:
* a heap tree
* an AVL tree
3. * What is a synchronous I/O bus?
* What is an asnchronous I/O bus?
* Compare the advantages and disadvantages of synchronous and a synchronou
s I/O bus.
4. Explain the following terminology:
* Baud rate
* Handshaking
* Memory mapped I/O
5. Explain the key issues in supporting a real-time operation system for e
mbedded system.
6. Explain the mapping of visual addresses to real addresses under paging by
* direct mapping
* associative mapping
* combined direct/associated mapping
7. Please explain what is “write-back” and “write-through”, and discus
s the advantage and disadvantage about these two methods.
8. Explain the concept and benefit of threads
9. What is hardware interrupt? What is software interrupt? What is excepti
on? Please tell me all you know about interrupt.
10. Write a recursive function that tests wether a string is a palindrome.
A palindrome is s string such as “abcba” or “otto” that reads the same in
both directions.If you can write this function recursively,you can write an iterative version of this function instead.
11.什么是进程(Process)和线程(Thread)?有何区别?
12.MFC和SDK有何区别?
13.IRP是什么?有何作用?
14.Windows 2000操作系统下用户模式和内核模式下编程有何区别?
15.驱动程序的BUFFER能swap到磁盘上去吗?为什么?
16.试编写3个函数实现
(1)建立一个双向链表
(2)插入一个节点
(3)删除一个节点
17.简述Hardware interrupt和software中断的区别,简述其应用。
18.试编写一个函数,计算一个字符串中A的个数。
19.画出其相应流程图并编写一个函数实现一个整数到二进制数的转换,如输入6,输
出110。
20. (1)编写一个递归函数,删除一个目录。
(2)编写一个非递归函数,删除一个目录。
并比较其性能。
21.附加题:简单叙述编程经历
硬件题目
1.用mos管搭出一个二输入与非门。
2.集成电路前段设计流程,写出相关的工具。
3.解释名词IRQ,BIOS,USB,VHDL,SDR。
4.简述如下Unix命令cp -r, rm,uname。
5.用波形表示D触发器的功能。
6.写异步D触发器的verilog module。
7.What is PC Chipset?
8.用传输门和倒向器搭一个边沿触发器。
9.画状态机,接受1,2,5分钱的卖报机,每份报纸5分钱。
高通笔试题
1. Can you describe the trend of wireless mobile communication industry? (
2000 letters)
2. Compare the major third generation technologies.(2000 letters)
3. Describe the characteristics of Walsh function. Explain how to generate
Walsh Function. (2000 letters)
4. List factors that will affect the capacity of forward and reverse links of a CDMA system. (2000 letters)
5. What are the differences between IS-95 A/B and cdma2000 1X? (2000 lette
rs)
2003 Graphic笔试题目
1.问答题
(1)texture mapping是什么?为什么要用filter?
(2)用float和int表示一个数,比如2,说明优点和缺点。
(3)在MPEG哪部分可以加速硬件?
(4)解释cubic和B-spline的差别,写出各自函数。
(5)写出几个Win API中的OpenGL函数。
(6)说出固定小数表示和浮点小数表示的优缺点。
(7)说出显卡可以优化哪些MPEG中的计算?
(8)说出Bezier和B-Spline曲线的区别。
2.用最简单的方法判断一个数是否是2的指数次幂。
3.S23E8和S10E5两种浮点数表示方法分析,表示0.25写一个类S10E5,实现从S23E8转
换。
4.用模版的方式实现三个量取最大值。
5.题目告诉你IEEE 16和32浮点数表示的规范,要求将0.25分别用IEEE 16和 32表示
并写一个C++函数将输入的IEEE 16表示转化为IEEE 32的表示。
6.用C语言写一个函数f(x) x * 0.5要求只能用整数操作。
2003 Software Engineer笔试题
1. Describe x86 PC’s architecture in a diagram cpu,core chipset, Cache,DR
AM, IO-subsystem, IO-Bus
2. SWI instruction is often called a “supervisor call”, describe the act ions in detail
* Save the address of the instruction after the SWI in rl4_svc.
* Save the CPSR in SPSR_svc.
* Enter supervisor mode and disable IRQs.
* Set the PC to 08 and begin executing the instruction there.
3.
* What is PIO operation? advantage and disadvantage?
* DMA operation? advantage and disadvantage?
* Scatter/Gather DMA engine? how does it operate?
4. MP3 decoder related. (a flow chart of decoding is presented)
* advantages of Huffman encoding?
* why the aliasing reduction is necessary?
* analytical expression in mathematics of the IMDCT?
* which block in the flow chart is suitable for the software implementatio
n and which for the hardware? why?
5. Assembly codes -> C language (about 15 lines).
6. Graduation thesis description.
广东北电面试题目
英文笔试题
1. Tranlation (Mandatory)
CDMA venders have worked hard to give CDMA roaming capabilities via the
development of RUIM-essentially, a SIM card for CDMA handsets currently being de
ployed in China for new CDMA operator China Unicom. Korean cellco KTF demonstr
ated earlier this year the ability to roam between GSM and CDMA using such car
ds.However,only the card containing the user’s service data can roam-not the
CDMA handset or the user’s number (except via call forwarding).
2. Programming (Mandatory)
Linked list
a. Implement a linked list for integers,which supports the insertafter (in
sert a node after a specified node) and removeafter (remove the node after a s
pecified node) methods;
b. Implement a method to sort the linked list to descending order.
3. Debugging (Mandatory)
a. For each of the following recursive methods,enter Y in the answer box i
f themethod terminaters (assume i=5), Otherwise enter N.
static int f(int i){
return f(i-1)*f(i-1);
}
Ansewr:
static int f(int i){
if(i==0){return 1;}
else {return f(i-1)*f(i-1);}
}
Ansewr:
static int f(int i){
if(i==0){return 1;}
else {return f(i-1)*f(i-2);}
}
Ansewr:
b. There are two errors in the following JAVA program:
static void g(int i){
if(i==1){return;}
if(i%2==0){g(i/2);return;}
else {g(3*i);return;}
}
please correct them to make sure we can get the printed-out result as below:
3 10 5 16 8 4 2 1