有興趣的人參考一下吧:Q
上禮拜收到的題目,答完才有phone interview之類的
我看到這麼多題就馬上放棄了..
Please answer the following questions and type your answer bellow each;
In coding questions, you are recommended to use the pre-defined prototypes
in Windows SDK/VC/C++;
1. In Windows environment, which tool (hardware or software) can you use to
detect a HTTP package in an Ethernet network? If you are going to implement
this tool and extend to detect all packages in Ethernet, what are the key
functionalities you intend to have?
2. Refer to function std::string::getline(!K), write a similar function in C:
BYTE* GetLine(BYTE* pByte_Content, BYTE* pByte_Out);
The first parameter points to the multi-lined content; The second parameter
points to a buffer where you should copy the line into it; Returns the next
line address if it still has new lines in the content, or 0 if you meets
0x0.
3. Give an idea how to implement a drop down menu on a web page.
4. Estimate the output of the following code:
struct CA
{
static int msi_1;
int mi_2;
BYTE mpByte_1[40];
};
struct CB : public CA
{
float mf_1;
double mpd_1[4];
};
void main()
{
printf(!§%d, %d\n!‥, sizeof(CA), sizeof(CB));
CB B;
CB* pB = &B;
CB** ppB = &pB;
printf(!§%d, %d, %d\n!‥, sizeof(B), sizeof(pB), sizeof(ppB));
}
5. When you build an ASP.Net website, as a default project made by Visual
Studio, IIS 6.0 will not show the debug information and error message,
to change this situation, which configuration file should you modify
and how to modify it?
6. If you want to manually compile and link a C/C++ project with Windows SDK
but not Visual Studio, in this project you have ten C or C++ source files,
what is the best way to build them to minimize the rebuild work? Give an
example to illustrate your method.
7. In .Net technology, you need to verify a user!|s name and password in a
webpage and users information is stored in a Microsoft SQL Server database,
give a sample segment of code in C# to implement these requirement.
8. If you are going to start a small law office and you want your information
(such as lawyers, contract info) can be seen online, and your clients can
contact you through email. What!|s your plan to realize your requirement
that could save as much money as possible. Give the KEY steps you may
consider.
9. To understand __value, __gc, __nogc efficiently, what key ideas do you
think are important?
10. Type your C code to implement the following requirement (on Windows
platform, only SDK can be used, no MFC, STL libraris are allowed in this
question), you may just have the main codes typed bellow.
Show a dialog box, on it:
- there is a button, if you click the button, popup a message box to
say !§A button has been clicked.!‥;
- there is a check box, if you click it, popup a message box to say its
status;
- there is a combo box, initialize with 3 string items, if you choose an
item, popup a message box to say the string which you have chosen.
--
※ 發信站: 批踢踢參(ptt3.cc)
◆ From: 140.109.228.104
> -------------------------------------------------------------------------- <
作者: chomin (chomin) 看板: Job
標題: Re: CS練習題
時間: Sat Apr 24 10:06:28 2004
※ 引述《toppest (高點)》之銘言:
: 那間公司的題目啊?
: 不過是個很好的練習囉:p
這間是 Think Bay Technology Inc. @ CA
--
※ 發信站: 批踢踢參(ptt3.cc)
◆ From: 24.59.79.153