範文齋

位置:首頁 > 職場範文 > 面試

上海博彥科技面試題

面試2.08W

As last blog mentioned(中軟面試題-最新) ,Some outsourcing company,like chinasoft, beyondsoft, vinceinfo, Hisoft,wicresoft, etc. all the process of interview is the same, if you pass the interview of these company, according to the condition of the project to decide whether you are recommended to Microsoft or not, if yes, you have to practice your oral English and some Algorithm. now go to the interview of Beyondsoft:

上海博彥科技面試題

will have a interview face to face for your oral English and your ability of expressing your emotion for some thing. then Technical interviewer (Team Leader) will take some technology test.

2.數據庫存儲過程, 中怎麼去調用存儲過程。

其實,在這裏主要是考察了中幾大特性的運用,例如:Connection,Command,DataReader,Dataset,

DataAdapter。

說明:

Connection:建立與特定數據源的連接。 所有 Connection 對象的基類均爲 DbConnection 類。

Command:對數據源執行命令。 公開 Parameters,並可在 Transaction 範圍內從 Connection 執行。 所有 Command 對象的基類均爲 DbCommand 類。

DataReader:從數據源中讀取只進且只讀的數據流。 所有 DataReader 對象的基類均爲 DbDataReader 類。

DataAdapter:使用數據源填充 DataSet 並解決更新。 所有 DataAdapter 對象的基類均爲 DbDataAdapter 類。

注意:新手面試經常會遇到考這樣的.題: 的五大對象,就是 上面四種 + DataSet 要牢牢記住哦。後期開發也經常用到。

3. 簡單介紹一下三層架構 可以參考我的博客: 淺析三層架構

4.在未排序的整形數組中,長度大於10,尋找任意一個數,是這個數屬於它的最小集。

對於這個問題,我不知道定義會不會有錯,怎樣去理解這個最小集,例如:有數組 a=(5,3,4,8,9,2,12,10),那在這個數組中,肯定有一個值 3,屬於最小集(3,4)。那這樣是不是很好理解呢.找出最小的,再找出第二小的。這樣寫出來它的時間複雜度就是 O(n),這時候,面試官問,有沒有比O(n)更小的算法呢?讀者可以考慮一下。

h。考查一下xpath 的運用。其中文思創新喜歡考這玩意。在這裏寫一下小運用:

public void ReadXmlNode(string filepath)

{

XmlDocument xmldoc = new XmlDocument();

(filepath);

XmlNodeList nodelist = ctNodes(@"/root/employees/employee"); // xpath

foreach (XmlNode node in nodelist)

{

e( + " ");

}

}

Sort。you can get more information from internet. below is source:

///

/// 小根堆排序

///

///

///

///

private static void HeapSort(ref double[] dblArray)

{

for (int i = th - 1; i >= 0; i--)

{

if (2 * i + 1 < th)

{

int MinChildrenIndex = 2 * i + 1;

//比較左子樹和右子樹,記錄最小值的Index

if (2 * i + 2 < th)

{

if (dblArray[2 * i + 1] > dblArray[2 * i + 2])

MinChildrenIndex = 2 * i + 2;

}

if (dblArray[i] > dblArray[MinChildrenIndex])

{

ExchageValue(ref dblArray[i], ref dblArray[MinChildrenIndex]);

NodeSort(ref dblArray, MinChildrenIndex);

}

}

}

}

///

/// 節點排序

///

///

///

private static void NodeSort(ref double[] dblArray, int StartIndex)

{

while (2 * StartIndex + 1 < th)

{

int MinChildrenIndex = 2 * StartIndex + 1;

if (2 * StartIndex + 2 < th)

{

if (dblArray[2 * StartIndex + 1] > dblArray[2 * StartIndex + 2])

{

MinChildrenIndex = 2 * StartIndex + 2;

}

}

if (dblArray[StartIndex] > dblArray[MinChildrenIndex])

{

ExchageValue(ref dblArray[StartIndex], ref dblArray[MinChildrenIndex]);

StartIndex = MinChildrenIndex;

}

}

}

///

/// 交換值

///

///

///

private static void ExchageValue(ref double A, ref double B)

{

double Temp = A;

A = B;

B = Temp;

}

7.智力題,在12個小球中有一個和其他不同(或輕或重),用一天枰。請問至少稱幾次可以稱出來,怎麼稱。

這樣的題目,網上很多,主要考察的是一種邏輯思維能力。

8.設計模式---單鍵模式,工廠模式,觀察者模式等等。

在這裏不做細緻的分析,讀者可以自己去網上找點資料找點。

這次面試比較快,後面也被推到微軟那邊了,面試題,我將會在後面統一列出來。

注: 本人只在這裏做面試的技術和小小經驗分享,不做任何的公司評價。給更多的程序員一個交流和發展的平臺,更是給正在貧困線左右的找工作的大學生一個小分享。如有任何的問題,請留下你的足跡,後面,我同一修改。