閱讀屋>面試> 上海博彥科技面試題

上海博彥科技面試題

上海博彥科技面試題

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:

1.HR 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.資料庫儲存過程,ASP.NET 中怎麼去呼叫儲存過程。

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

DataAdapter。

說明:

Connection:建立與特定資料來源的連線。 所有 Connection 物件的基類均為 DbConnection 類。

Command:對資料來源執行命令。 公開 Parameters,並可在 Transaction 範圍內從 Connection 執行。 所有 Command 物件的基類均為 DbCommand 類。

DataReader:從資料來源中讀取只進且只讀的資料流。 所有 DataReader 物件的基類均為 DbDataReader 類。

DataAdapter:使用資料來源填充 DataSet 並解決更新。 所有 DataAdapter 物件的基類均為 DbDataAdapter 類。

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

3. 簡單介紹一下ASP.NET三層架構 可以參考我的部落格: 淺析ASP.NET三層架構

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

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

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

public void ReadXmlNode(string filepath)

{

XmlDocument xmldoc = new XmlDocument();

xmldoc.Load(filepath);

XmlNodeList nodelist = xmldoc.SelectNodes(@"/root/employees/employee"); // xpath

foreach (XmlNode node in nodelist)

{

Console.Write(node.Name + " ");

}

}

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

///


/// 小根堆排序

///


///

///

///

private static void HeapSort(ref double[] dblArray)

{

for (int i = dblArray.Length - 1; i >= 0; i--)

{

if (2 * i + 1 < dblArray.Length)

{

int MinChildrenIndex = 2 * i + 1;

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

if (2 * i + 2 < dblArray.Length)

{

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 < dblArray.Length)

{

int MinChildrenIndex = 2 * StartIndex + 1;

if (2 * StartIndex + 2 < dblArray.Length)

{

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.設計模式---單鍵模式,工廠模式,觀察者模式等等。

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

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

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


[上海博彥科技面試題]相關文章:

1.上海博彥科技面試題

2.博彥科技測試面試題

【上海博彥科技面試題】相關文章: