嵌入式软件工程师评估题目_嵌入式软件开发评估
嵌入式软件工程师评估题目由刀豆文库小编整理,希望给你工作、学习、生活带来方便,猜你可能喜欢“嵌入式软件开发评估”。
1.计算下列C语言表达式的值
0x34 & 0x78值为______
= = 0x64值为______
0x8 | 0x70值为______
0x55 ^ 0x88值为______&& 2值为______
strlen(“Hello!”)值为______
sizeof(char)值为______
32位系统上, sizeof(long)值为______
0x20
!99值为______
2.用C语言预处理指令#define 声明一个常数,用以表明1年中有多少秒(忽略闰年问题)3.ARM指令是多少位的?
4.关键字volatile在C语言中有什么意义?
5.关键字const在C语言中有什么意义?
6.关键字static在C语言中有什么意义?
7.写一段C语言代码,动态申请128K内存,并将前面100个字节初始化为00xFF.8.写一段C语言代码,用递归的方式实现阶乘函数
阶乘的定义: n的阶乘 = 1 * 2 * 3 *„ „ *(n-1)* n
9.写出下面C语言代码段的输出
#include “stdio.h”
#include “stdlib.h”
void main(void)
{
int a, b, c = 3;
int *p;
p = &a;
*p =1;
b = a+1;
printf(“a=%d, b=%d, c=%d”, a, b,c);
}
10.翻译下面英文为中文
i.MX31L is a high performance embedded RISC proceor based on ARM11 core from Freescale.It is a high-speed, low power consumption proceor.Windows CE is a generic OS for embedded system by Microsoft, which is a small footprint, modulized, customizable and reliable OS.In this paper, an embedded system using i.MX31L as hardware platform, Windows CE as operating system, NAND Flash as storage medium is described.The memory acce for RAM and NAND Flash was designed to be flexible and extendible.The Flash bad-block management,Flash acce control, mutually exclusive acce, storage of OS image, OS loading, NAND Flash driver, FAT file system were implemented.A two-level OS loader, a USB upgrade tool and a selftest for manufacturing check were implemented.The performance of file system was extensively evaluated, and being further optimized.Moreover, the defect of NAND Flash controller of i.MX31L was discovered during implementation stage.The defect was solved succefully with software workaround.A mature solution for ma production was resulted.