管理模式、電池資訊的讀取方式,以及兩題跟 C 語言中字串與唯讀記憶體、指標傳遞有關的題目。
題目不要求死背,但需要能看得懂概念,最好能先查查資料、簡單整理一下。
正式面談的流程大致是:
1. 自我介紹
2. 討論你在 BIOS 題目裡的理解
3. 主管根據你的背景往下提問
整體大概 40~50 分鐘,不算太長,氣氛中等,不會完全放鬆但也不到壓迫,只是主管會根據你的回答做深入追問,所以建議回答不要太表面。
我自己的感受是:主管重視你是否真的理解「基本概念」,而不是會不會把答案背出來。他會比照你在技術題裡的回答看你「懂不懂在說什麼」。
問題:
1. Please explain the architecture of the PC(Notebook/Desktop)? What is the role and function of BIOS in it?
2. What are the stages in the UEFI BIOS boot process? What are the main functions of each stage?
3. What power saving modes are defined in the ACPI specification? What are the differences between modes?
4. How OS read the battery information?
)。
5. Find the output for the following C program
int main (void)
{
int i;
char *ptr = "Vhrsqnm";
char *temp;
temp = ptr;
for (i=0;i<=6;i++)
{
(*ptr)++;
ptr++;
}
ptr -= 7;
printf ("%s\n", temp);
}
6. Find the output for the following C program
void myfun(int p1, int *p2, int *p3, int **p4)
{
p1 = 2; *p2 = 4; p3 = &p1; *p4 = &p1;
}
int main(void) {
int p1=1, p2=5, p3=6, *p4=&p1;
myfun(p1, &p2, &p3, &p4);
printf("p1 %d, p2 %d, p3 %d, *p4 %d\n",p1, p2, p3, *p4);
}