面试-先到面试网(mian4.com)查询面试公司相关信息招聘会面试网QQ交流群:141667671  登录 快速注册 帮助

搜公司

搜职位

加入分享工资待遇

免费分享12.0000家公司的待遇、评论、面试及工作环境信息!

面试网笔试裕兴软件笔试linux嵌入式开发笔试
裕兴软件linux嵌入式开发笔试试题及答案:
C语言中数据类型有哪些? 整型、浮点型、指针、聚合类型; Switch语句中不加break会有什么后果? 程序会从第一匹配的Case语句开始执行到switch整段程序结束; 定义一个指针变量,并用指针变量给其他变量赋值? Int *p = 10;int a;a = %26p; 编写程序,显示键盘输入的各个字符,直到键盘输入字符“#”时退出? #includestdio.h #includestring.h #includestdlib.h int main(void) { char c[1]; while(1) { printf("please input char:"); scanf("%s",c); if(!strncmp(c,"#",1)) { break; } else { printf("\n you input:%c\n",c[0]); } } return 0; } 编写程序,将以下数据结构中的各成员赋值为10? Typedef structure st_d{ Char bA; Int wB; Long wC;}; Structure st_d test_data[100]; #includestdio.h typedef struct st_d{ char bA; int wB; long wC; }; int main(void) { struct st_d test_data[100]; int i; for(i = 0; i 100; i%2B%2B) { test_data[i].bA = 10; test_data[i].wB = 10; test_data[i].wC = 10; } for(i = 0; i 100; i%2B%2B) { printf("test_data[%d].bA=%d.wB=%d.wC=%d\n", i, test_data[i].bA, test_data[i].wB, test_data[i].wC ); } return 0; } 编写程序,查找bName为“SB”的学生,并输出wEnglish的值? Typedef struct st_student{ Char bName[20]; Int wEnglish; Int wChinese; }; Struct st_student Class_a[10]={……….}; #includestdio.h #includestdlib.h #includestring.h #define MAX 10 typedef struct st_student{ char bName[20]; int wEnglish; int wchinese; }; void search_display(struct st_student *Class, char *name) { int i; for(i = 0; i MAX; i%2B%2B) { if(!strcmp(Class[i].bName,name)) { printf("%ss wEnglish is %d\n",Class[i].bName,Class[i].wEnglish); return ; } } } int main(void) { struct st_student Class_a[MAX]={{"lili",80,80},{"SB",50,50},{"lucy",70,90}}; char name[20]; printf("please input find name:"); scanf("%s",name); search_display(Class_a,name); return 0; } 按上题中的数据结构,将数据以wChinese的升序排列? Struct st_student *class_b; Class_b = malloc(10 *sizeof(struct st_student)); #includestdio.h #includestdlib.h #includestring.h #define MAX 3 typedef struct st_student{ char bName[20]; int wEnglish; int wchinese; }; void up_sort(struct st_student *Class_b) { int i,j; struct st_student *tmp,*ptr; tmp = Class_b; ptr = (struct st_student *)malloc(sizeof(struct st_student)); for(i = 1;i = MAX; i%2B%2B) { for(j = 0; j MAXi; j%2B%2B) { if(tmp[j].wchinese tmp[j%2B1].wchinese) { strcpy(ptr[0].bName, tmp[j].bName); ptr[0].wchinese = tmp[j].wchinese; ptr[0].wEnglish = tmp[j].wEnglish; strcpy(tmp[j].bName, tmp[j%2B1].bName); tmp[j].wchinese = tmp[j%2B1].wchinese; tmp[j].wEnglish = tmp[j%2B1].wEnglish; strcpy(tmp[j%2B1].bName, ptr[0].bName); tmp[j%2B1].wchinese = ptr[0].wchinese; tmp[j%2B1].wEnglish = ptr[0].wEnglish; } } } } int main(void) { struct st_student *Class_b; Class_b = (struct st_student *)malloc(MAX * sizeof(struct st_student)); int i = 0, j = 0; while(i MAX) { printf("\nplease input name English chinese:"); scanf("%s",Class_b[i].bName); scanf("%d %d",%26Class_b[i].wEnglish,%26Class_b[i].wchinese); i%2B%2B; } up_sort(Class_b); while(j MAX) { printf("%ss wchinese is %d ,wEnglish is%d\n",Class_b[j].bName,Class_b[j].wchinese,Class_b[j].wEnglish); j%2B%2B; } return 0; } 编写程序,现有3个程序1.c 2.c 3.c ,将1.c的内容加到2.c的前面,将3.c的内容加到2.c的后面。 编写程序,用7段位数字led显示数字0~9,7段位显示地址为char LEDADDR[10],对应的10个显示字符,每个字符字节内bit与段为对应如下图; 最小的计算机系统有哪几部分组成? 同步和互斥信号量各有哪些特点? 谈谈你对linux下驱动程序的理解? 请列举5中网络连接设备,并说明他们的功能? 中继器:放大信号。 集线器:以共享带宽的方式将计算机连入网络。 交换机:又名多端口网桥,以交换方式将计算机连入网络,各计算机之间的带宽不影响,隔离了冲突域,但是不能隔离网桥。 光纤收发器:用于将数子信号或模拟信号转化为光信号,以便于在光纤中传输;同时它还能将光信号转为数字信号或模拟信号,从光纤中将信号提取出来。 路由器:具有隔离广播域的功效,负责数据报在网络传输时路径的选择。 防火墙:用于连接内网和外网,防御外网的攻击。 Tcp/UDP协议有什么区别? Tcp是传输控制协议,提供的是面向连接、可靠的字节流服务。当客服与服务器彼此交换数据前,必须先在双方之间建立一个Tcp连接,之后才能传输数据。Tcp提供超时重发、丢弃重复数据、检验数据、流量控制等功能,保证数据能从一端传到另一端。 Udp使用户数据包协议,是一个简单的面向数据报的运输协议。Udp提供不可靠服务,它只把应用程序传给IP层的数据报发送出去,但是并不保证他们能到达目的地。由于Udp在传输数据前不用在服务器端和客户端建立连接,且没有超时重传等机制,故传输速度快。 主机192.168.1.100/255.255.254.0所在的网络,网络地址是多少,最小主机地址是多少? 192.168.0.0 192.168.0.1

以下是网友对裕兴软件linux嵌入式开发笔试试题及答案的回答:

报歉,目前还没有相关答案。我来抢答案?
  • 当前共有0条记录,每页0条,当前0/0
  • 上一页
  • 下一页
中南财经政法大学成教 武汉大学成教 武汉理工大学成教 武汉科技大学成教 华中农业大学成教 湖北工业大学成教 湖北中医药大学成教 武汉成人高考网 孝感成人高考网 荆州成人高考网 咸宁成人高考网 宜昌成人高考网 襄阳成人高考网 十堰成人高考网 武汉自考网 黄冈自考网 宜昌自考网 襄阳自考网 十堰自考网 湖北成人高考报名网 湖北自考报名网 湖北大学成教 湖北工业大学成教 湖北中医药大学成教 华中农业大学成教 武汉大学成教网 武汉科技大学成教 武汉理工大学成教 中南财经政法大学成教 上海成考网 上海自考网 中南财经政法大学自考 中南财经政法大学自考 华中师范大学自考招生网 武汉大学自考招生网 武汉大学自考专升本 武汉理工大学自考 湖北大学自考 华中农业大学自考 湖北中医药大学自考 湖北工业大学自考 华中师范大学自考招生网 湖北中医药大学成教 湖北中医药大学成教 武汉理工大学成教 武汉科技大学成教 武汉大学成教 湖北工业大学成教 湖北大学成教 华中农业大学成教 中南财经政法大学成教 华中师范大学成教 湖北中医药大学自考 武汉理工大学自考 武汉大学自考 湖北工业大学自考 湖北大学自考 华中农业大学自考 中南财经政法大学自考 华中师范大学自考
快捷答题卡

昵称:

答案:

(按Ctrl+Enter可快速提交)