Queue is a useful structure
* What is a queue?
* Write 5 operations or functions, without details, that can be done on a queue.
Insert a sequence fo keys(24,49,13,20,59,23,90,35) into a data structure, which has no keys initially. Depict the data structure after these insertions, if it is:
* a heap tree
* an AVL tree
What is a synchronous I/O bus?
* What is an asnchronous I/O bus?
* Compare the advantages and disadvantages of synchronous and a synchronous I/O bus.
Explain the following terminology:
* Baud rate
* Handshaking
* Memory mapped I/O
Explain the key issues in supporting a real-time operation system for embedded system.
Explain the mapping of visual addresses to real addresses under paging by
* direct mapping
* associative mapping
* combined direct/associated mapping
Please explain what is “write-back” and “write-through”, and discuss the advantage and disadvantage about these two methods.
Explain the concept and benefit of threads
What is hardware interrupt? What is software interrupt? What is exception? Please tell me all you know about interrupt
Write a recursive function that tests wether a string is a palindrome. A palindrome is s string such as “abcba” or “otto” that reads the same in both directions. If you can write this function recursively,you can write an iterative version of this function instead.
什么是进程(Process)和线程(Thread)?有何区别?
MFC和SDK有何区别?
IRP是什么?有何作用?
Windows 2000操作系统下用户模式和内核模式下编程有何区别?
驱动程序的BUFFER能swap到磁盘上去吗?为什么?
试编写3个函数实现
(1)建立一个双向链表
(2)插入一个节点
(3)删除一个节点
简述Hardware interrupt和software中断的区别,简述其应用。
试编写一个函数,计算一个字符串中A的个数。
画出其相应流程图并编写一个函数实现一个整数到二进制数的转换,如输入6,输出110。
(1)编写一个递归函数,删除一个目录。
(2)编写一个非递归函数,删除一个目录。
并比较其性能。