范文无忧网面试笔试笔试回答

意法半导体软件测试笔试题分享

11月23日 编辑 fanwen51.com

[意法半导体笔试题简历]A Test for The C Programming Language I. History 1. C was originally designed for and implemented on the (what) operating system on the DEC PDP-11, by (who) . 2...+阅读

A Test for The C Programming Language

I. History

1. C was originally designed for and implemented on the (what) operating system on the DEC PDP-11, by (who) .

2. The most recently approved ANSI/ISO C standard was issued in (when) , and single line ments notation is or isnt a feature of C89.

II. Syntax and Semantics

1. In a runtime C program, auto variables are stored in , static variables are stored in , and function parameters are stored in .

a. stack b. heap c. neither stack nor heap

2. The statement extern int x; is a , and the keyword extern is used during .

a. variable declaration b. variable definition c. pilation time d. runtime

3. There is a plicated declaration: void ( * signal (int, void (*)(int)) ) (int);If a statement typedef void (*p) (int); is given, please rewrite this plicated declaration.

4. The following code is a segment of C program.

..........

void func(int *p)

{...........}

..........

main()

{

int num=0;

.........

f

unc(num);

........

}

..........

Here, the function argument num is passed .

a. by value b. by reference

III. Practice

Create a tree, which has h (h0) layers, and its each node has w (w0) sub-nodes.Please plete the following inplete solution.

&emspinclude stdlib.h

&emspinclude string.h

struct tree{

char info;

p_sub; link to sub-nodes};

allocate memory and initiate

void dnode ( struct tree* tmp )

{

= malloc( sizeof (struct tree) );

= 0x41;

= NULL;

}

struct tree *dtree (struct tree* subtree, int height, int width)

{

int i;

if (!subtree ) if necessary, allocte memory for subtree

denode(subtree);

if ( height == 1 )

return subtree;

else if ( height == 2 ) {

struct tree *leaf = NULL;

for ( i=0; iwidth; i++ ) {

denode ( );

;

leaf = NULL;}

return subtree;}

else {

for ( i=0; iwidth; i++ ) {

}

return subtree;

}

}

main()

{

.........

struct tree *root = NULL;

root = dtree (root, h, w); h and w are integers get from input

.........

}

延伸阅读:

软件测试综合笔试题选择题1:表达式 !x 等效于A.x==1B.x==0C.x!=1D.x!=02:设数组A[m]为循环队列Q的存储空间,front为队头指针,rear为队尾指针,则判定Q为空队列的条件是A.(rear-front)%m= =1B.front...

半导体面试经验一、简单介绍:上次参加三星上海半导体的面试,被拒。但是好心的hr把我的简历 带回去了。于是接到韩国打来电话,约好时间面试。 二、详细过程:面试的时候我正好在机场大吧上,对方的...

Panasonic半导体面试问题首先报告一下,我这个面试路程比较纠结,到了那里穿过一个像菜市场一样的地方,好了工厂到了~~ 晕啊~~旁边那些小平房要拆迁了把?买下来会不会升值呢? 1点半到应该。可是我提前了5分...

软件测试显示经验显示问题 1、页面无乱码现象:在可以输入中、英文的系统输入中文,不能出现乱码,输入系统的某些特殊符号不应被忽略或显示为空格等 2、页面无异常数值:不出现null、 NAN等字样 3、...

软件测试英文面试题英语面试需要做好哪些准备呢?我个人认为,英文面试前要清楚英文面试注意事项,专业英语常用语,英文面试常见的误区,英语面试的考察要点等内容。下面跟大家分享的是软件测试英文面试...

半导体类笔试题目A Test for The C Programming Language I. History 1. C was originally designed for and implemented on the (what) operating system on the DEC PDP-11, by (who) . 2...

软件测试英文面试题目求职者在参加英语面试时需要好好准备一下,下面我们来看看有关英文面试会问到的一些题目。1.要有一份高质量的自我介绍2.同时面试的人员,对你以前的测试工作经历会比较感兴趣,会...

软件测试类英文面试题想不想知道在英语面试前有哪些准备工作需要做的呢?我个人认为,英文面试前要清楚英文面试注意事项,专业英语常用语,英文面试常见的误区,英语面试的考察要点等内容。下面是小编在本...

软件测试面试题软件测试面试题与答案仅供参考 一、判断题1.软件测试的目的是尽可能多的找出软件的缺陷。(Y)2.Beta 测试是验收测试的一种。(Y)3.验收测试是由最终用户来实施的。(N)4.项目立项前测试...

推荐阅读
图文推荐
栏目列表