首页简历大全求职信毕业生面试·笔试自荐信个人简历word模板
▼简历封面下载 简历制作 简历怎么写 专业简历 个人简历样本 兼职简历 面试问题 笔试题目 毕业鉴定 实习鉴定 个人简历word模板下载

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

栏目:笔试题目 时间:06-09 23:31 浏览次数:1186
意法半导体笔试题目分享(软件测试) 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 comments notation “//” is or isn’t 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. compilation time d. runtime
3. There is a complicated declaration: void ( * signal (int, void (*)(int)) ) (int);If a statement “typedef void (*p) (int);” is given, please rewrite this complicated declaration.
4. The following code is a segment of C program.
  ..........
  void func(int *p)
  {...........}
  ..........
  main()
  {
  int num=0;
  .........
  func(&num);
  ........
  }
  ..........
Here, the function argument “&num” is passed .
 a. by value b. by reference
  III. Practice
  Create a tree, which has h (h>0) layers, and its each node has w (w>0) sub-nodes.Please complete the following incomplete solution.
  #include <stdlib.h>
  #include <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; i<width; i++ ) {
  denode ( );
  ;
  leaf = NULL;}
  return subtree;}
  else {
  for ( i=0; i<width; i++ ) {
  }
  return subtree;
  }
  }
  main()
  {
  .........
  struct tree *root = NULL; 意法半导体笔试题目分享(软件测试)
TAG: 笔试题目大全,笔试题
意法半导体笔试题目分享(软件测试)相关文章

(你的昵称)
评论内容不能少于5个字.发表评论请遵守相关法律,谢谢!

栏目列表
笔试题目推荐
佐丹奴面试归来小结
2016IBM笔试常用英语词汇
2016年中国移动笔试真题
强生2016年笔试题
美的集团详细的笔试经验 zz
甲骨文笔试真题笔试答案合集
麦肯锡(McKinsey)笔试题目小结
强生笔经(集全版)zz
吉利面试题目总结
斗山笔试经验
热门简历封面
笔试题目最新更新
·蓝色光标笔试题目
·中德安联(Allianz)笔试经验
·北大学生写的SHL试题全攻略
·群邑集团笔试经验
·中国通信服务(福建)公司笔试题目(通信设计)
·摩根斯坦利数学题
·重庆商报笔试题目
·毕马威(KPMG)笔试题目
·美的集团详细的笔试经验 zz
·民生银行笔试题目及答案