- 相關(guān)推薦
上海博彥科技面試題
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.數(shù)據(jù)庫(kù)存儲(chǔ)過程,ASP.NET 中怎么去調(diào)用存儲(chǔ)過程。
其實(shí),在這里主要是考察了ADO.NET中幾大特性的運(yùn)用,例如:Connection,Command,DataReader,Dataset,
DataAdapter。
說明:
Connection:建立與特定數(shù)據(jù)源的連接。 所有 Connection 對(duì)象的基類均為 DbConnection 類。
Command:對(duì)數(shù)據(jù)源執(zhí)行命令。 公開 Parameters,并可在 Transaction 范圍內(nèi)從 Connection 執(zhí)行。 所有 Command 對(duì)象的基類均為 DbCommand 類。
DataReader:從數(shù)據(jù)源中讀取只進(jìn)且只讀的數(shù)據(jù)流。 所有 DataReader 對(duì)象的基類均為 DbDataReader 類。
DataAdapter:使用數(shù)據(jù)源填充 DataSet 并解決更新。 所有 DataAdapter 對(duì)象的基類均為 DbDataAdapter 類。
注意:新手面試經(jīng)常會(huì)遇到考這樣的題:ADO.NET 的五大對(duì)象,就是 上面四種 + DataSet 要牢牢記住哦。后期開發(fā)也經(jīng)常用到。
3. 簡(jiǎn)單介紹一下ASP.NET三層架構(gòu) 可以參考我的博客: 淺析ASP.NET三層架構(gòu)
4.在未排序的整形數(shù)組中,長(zhǎng)度大于10,尋找任意一個(gè)數(shù),是這個(gè)數(shù)屬于它的最小集。
對(duì)于這個(gè)問題,我不知道定義會(huì)不會(huì)有錯(cuò),怎樣去理解這個(gè)最小集,例如:有數(shù)組 a=(5,3,4,8,9,2,12,10),那在這個(gè)數(shù)組中,肯定有一個(gè)值 3,屬于最小集(3,4)。那這樣是不是很好理解呢.找出最小的,再找出第二小的。這樣寫出來它的時(shí)間復(fù)雜度就是 O(n),這時(shí)候,面試官問,有沒有比O(n)更小的算法呢?讀者可以考慮一下。
5.XPath。考查一下xpath 的運(yùn)用。其中文思創(chuàng)新喜歡考這玩意。在這里寫一下小運(yùn)用:
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);
}
}
}
}
///
/// 節(jié)點(diǎn)排序
///
///
///
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個(gè)小球中有一個(gè)和其他不同(或輕或重),用一天枰。請(qǐng)問至少稱幾次可以稱出來,怎么稱。
這樣的題目,網(wǎng)上很多,主要考察的是一種邏輯思維能力。
8.設(shè)計(jì)模式---單鍵模式,工廠模式,觀察者模式等等。
在這里不做細(xì)致的分析,讀者可以自己去網(wǎng)上找點(diǎn)資料找點(diǎn)。
這次面試比較快,后面也被推到微軟那邊了,面試題,我將會(huì)在后面統(tǒng)一列出來。
注: 本人只在這里做面試的技術(shù)和小小經(jīng)驗(yàn)分享,不做任何的公司評(píng)價(jià)。給更多的程序員一個(gè)交流和發(fā)展的平臺(tái),更是給正在貧困線左右的找工作的大學(xué)生一個(gè)小分享。如有任何的問題,請(qǐng)留下你的足跡,后面,我同一修改。
[上海博彥科技面試題]
【上海博彥科技面試題】相關(guān)文章:
博彥科技校園招聘信息08-27
博朗軟件Java面試題08-12
上海小升初面試題目及答案10-01
硅谷科技公司刁鉆面試題集合08-15
第五屆上海創(chuàng)博會(huì)亮點(diǎn)08-25
上海博澤汽車部件有限公司面試07-02
近期上海文思創(chuàng)新java軟件開發(fā)面試題11-12
經(jīng)典面試題06-20
經(jīng)典面試題08-07