3.怎样获得状态栏和工具栏的指针. 4.访问控件存几种方法
三.填空题:
1.ODBC的数据类型分为_________和_________ 2.VC访问数据库的方式____________________
3.VC的线路分为_________和_________,它是用什么对象表示的_________ 4.下列中a的值是_________ #define AAA 200
#define BBB AAA+100 int a= BBB*2
------------------------------------
<中软>
中软国际的笔试题
以下是我收集的一些中软国际的笔试题: 1.避免死锁的方法有哪些?
2.在Sybase数据库中注册用户与数据库用户有什么区别?
3.在MS SQL_Server 数据库中通过什么约束保证数据库的实体完整性 4.内存有哪几种存储组织结构.请分别加以说明
5.JAVA中的Wait() 和notify()方法使用时应注意些什么?
6.用户输入一个整数.系统判断,并输出是负数还是非负数,请设计测试用例. 7.操作系统中的同步和互诉解决了什么问题 8.UNIX 中init
1.不许用中间变量,把String ABCDE 倒转
public class Test{
public static void main(String[] args){ String a = \
a = (new StringBuffer(a)).reveser().toString(); System.out.println(a); } }
public class test{
public static void main(String[] args){ String s=\
s=String.valueOf((char)(s.charAt(0)+4))+ String.valueOf((char)(s.charAt(1)+2))+ String.valueOf((char)(s.charAt(2)))+
String.valueOf((char)(s.charAt(3)-2))+ String.valueOf((char)(s.charAt(4)-4)); System.out.println(s); } }
2.10000个数求第2大的数,不许用排序算法.
3.排序算法的测试用例
功能说明:三列数据,首先按第一列排序,第一列相同按第二列排序,第二列相同按第三列排序。
测试准备:排序算法是一个模块,为满足测试的需求,要求开发人员从CSV文件读取数据,排序后输出到CSV文件。当然,如果自己会编写代码,这个工作也可以有测试人员自己完成。
测试方法: 1、利用Testmanager的数据池(DATAPOOL)生成测试数据,然后导出存为CSV格式(Excel最多可以处理65536条记录);
2、用Excel打开导出的CSV文件,利用Excel的排序功能进行排序,排序方法即为模块的排序方法,将排序结果另存为CSV文件。
3、用被测程序处理导出的CSV文件,排序结果存为CSV文件;
4、用WINDIFF(文件比较工具)比较被测程序输出的CSV文件和Excel排序后的CSV文件。
1, 合并有序链表 List_t *MergeList(List_t *plist1, List_t *plist2){List_t *p1 = plist1->next, *p2 = plist2->next;// current position List_t *pNext1 = p1->next, *pNext2 = p2->next;if (p1->data <= p2->data){ pNewList = plist1;} while (pNext1 &&p2){ if (pNext1->data
2, 删除字符串中相邻重复元素
3, 给出了二叉树结构,要求写出广度优先遍历
4, 给定整型数组,写代码找出数组中第二大元素 5, 有关菲波那契数列问题
菲波那契数列指的是这样一个数列: 1,1,2,3,5,8,13,21……
这个数列从第三项开始,每一项都等于前两项之和
它的通项公式为:[(1+√5)/2]^n /√5 - [(1-√5)/2]^n /√5 【√5表示根号5】 很有趣的是:这样一个完全是自然数的数列,通项公式居然是用无理数来表达的。
该数列有很多奇妙的属性
比如:随着数列项数的增加,前一项与后一项之比越逼近黄金分割0.6180339887…… 还有一项性质,从第二项开始,每个奇数项的平方都比前后两项之积多1,每个偶数项的平方都比前后两项之积少1
如果你看到有这样一个题目:某人把一个8*8的方格切成四块,拼成一个5*13的长方形,故作惊讶地问你:为什么64=65?其实就是利用了菲波那契数列的这个性质:5、8、13正是数列中相邻的三项,事实上前后两块的面积确实差1,只不过后面那个图中有一条细长的狭缝,一般人不容易注意到
如果任意挑两个数为起始,比如5、-2.4,然后两项两项地相加下去,形成5、-2.4、2.6、0.2、2.8、3、5.8、8.8、14.6……等,你将发现随着数列的发展,前后两项之比也越来越逼近黄金分割,且某一项的平方与前后两项之积的差值也交替相差某个值
1.怎么判断鼠标有没有选中一条线段(如很靠近,鼠标点和线段之间的距离小于5毫米) 2.求一个矩形的中心点和一个点的连线与矩形边的交点坐标(矩形左上角坐标给出,长、宽给出,中心点坐标可以算出来,另外一个点的坐标给出)
3.写一个servlet,要求实现在一个页面中能输入名字,然后页面中返回的结果是“hello,姓名”。
4.写一个servlet,要求能上传文件,并能将上传的文件保存到指定位置。 业务协同于一体的完整信息化支撑平台。
------------------------------------
中软融鑫即北京中软融鑫计算机系统工程有限公司,笔试题如下:
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;