第一张:关于C/C++的题目
1 你如果看待在c程序中对复杂类型声明的情况,说说你对复杂类型声明的理解。
2 (1)struct { int x,int y}p1,p2;(2)struct point {int x, int y}p1,p2;(3)struct point {int x,int y};struct point p1,p2;(4)typedef struct point {int x,int y}point;struct point p1,p2; 请说明第四组中第一句话中两个“point”的含义,前三组可做参考回答思路。
3
写函数原型的题目
1 如果函数的实参是char a[5][6],函数名称是function1,该函数的形参该怎么写才能与实参相对应。
2 如果函数的实参是char *a[6],函数名称是function2,该函数的形参该怎么写才能与实参相对应。
3 如果函数的实参是char (*a)[7],函数名称是function3,该函数的形参该怎么写才能与实参
相对应。
第二张关于linux c 英文选择题目:
1What file does init process u at its control file?
A /etc/inittab B /etc/proc C /etc/init D /etc/instruct
2You need to have all the output from the executable myprog written to a text log named file1.out. This program must not nd any output to the console. Which of the commands listed will accomplish this?
A myprog >file1.out 2>&1
B myprog >file1.out 1>&2
C myprog>file1.out 1>/dev/null
D myprog 1&2 >file1.out
3Which of the following best describes the order in which xwindow files are executed or read?
A startx->xinit->xinitrc->xclients
B xinit->startx->xclients->xlinitrc
C xinitrc->xclients->startx->xinit
手机微信D xclients->startx->xinitrc->xinit
道之以德4Which steps are necessary to compile and install a source code program ?choo the least amout possibe?
A Extract source
B edit makefile
C ./configure
D make
E make install
5Which of the falling is not a valid make command during a kernel recompile?
无线天线A make dep
B make clean
C make xconfig
D make modules
E make gzlilo
第三张 是linux中文简答题目:
1 Linux文件系统损坏之后,怎么检查和修复?
2 写出该函数的运行结果:void func (char *a)
{
printf(“%d”,sizeof(a));
printf(“%d”,strlen(a));
}
Int main()
{
char a[]=”123456789”;
printf(“%d”,sizeof(a));
func(a);
}
3 指出下面函数的错误,并写出正确的函数
int delete(char * head)
{
新西湖十景 free(head);
head=head->link;
return(0);
}
4 用shell脚本写程序,判断该文件是否为字符设备文件,如果是的话,就拷贝到/dev目录下。
5 用查找命令查找在当前目录下包含字符“abc”的文件夹,并且文件内容包含有“bcd”字符串的。
第四张
1翻译成中文
MS-DOS ,the acrongm for Microsoft Disk Operating System,is an operating system with a command-line interface ud on personal computers.As with other operating systems such as OS/2,it translates keyboard input by the ur into operations the computer can perform,is also overes operations such as disk input and output,video support,keyboard control,and many internal functions related to program execution and file maintenance.The MS-DOS module is a shell in which the MS-DOS environment is emulated in 32-bit systems,such as Windows,MS-DOS-bad programs can run with Windows and might create a program information file(PIE) which appears as a shortcut on you desktop.
2翻译成中文
MSN Explorer 是新开发的多合一软件,使用它可以轻松地从Web中获取更多的信息。使用MSN Explorer ,您可以阅读电子邮件,与在线朋友交流,享受在线音乐以及浏览Web。MSN Explorer能使您从Microsoft享受现在的Internet技术中获益,这些技术(例如Hotmail,
Internet Explorer,Windows Messager以及Microsoft Media Player)都集成在一个只需使用已有Internet连接的简单程序中。
七夕伤感文章复试题:
1堆和栈的区别中班剪纸教案
去痛2接触过的bootloader有几种。
invation
3接触过的架构有几种,例如;x86
4uboot引导内核时,传的参数是什么。
5uboot的启动过程。
6接触过的文件系统有哪些,他们有什么区别。
7shell脚本的哪些关键字是必须的。
8makefile的格式有哪些需要注意的。
9都写过哪些驱动?