欧美在线一级ⅤA免费观看,好吊妞国产欧美日韩观看,日本韩国亚洲综合日韩欧美国产,日本免费A在线

    <menu id="gdpeu"></menu>

  • 筆試 > 筆試題目 > 正文

    索愛(ài)筆試題程序筆試

    2014-02-23    筆試題目   

    索愛(ài)筆試分兩個(gè)階段,每階段一個(gè)小時(shí),一共兩個(gè)小時(shí),第一階段,試卷為英文,考邏輯和智力題,四道邏輯大題,考的都是總結(jié)推理之類的,選擇題。例如,一條路上住了七家房子,誰(shuí)家住誰(shuí)家東邊,誰(shuí)家住誰(shuí)家西邊誰(shuí)家不住在頭尾,誰(shuí)家正好住在第幾座房子等等,每個(gè)大題有6、7道小問(wèn)題,問(wèn)的無(wú)非也是誰(shuí)家可能住在幾號(hào)房子,哪兩家不可能是鄰居等,其它三道題目也類似。一個(gè)是三對(duì)夫婦點(diǎn)菜,一個(gè)是三層樓辦車(chē)展。最后一題是關(guān)于飛行表演中的飛行員分配,我沒(méi)看懂題目,瞎填了一氣:(還有一道智力題,是九個(gè)九宮格,呈九宮方位排列,一共81個(gè)格,填入9組1~9,讓每行每列以及每個(gè)小九宮格里邊,1~9都只出現(xiàn)一次。已經(jīng)給出了十幾個(gè)數(shù)字,填剩下的。

    第二階段是技術(shù)筆試。我投的是軟件測(cè)試,筆試試卷是中文描述的。考的都是c語(yǔ)言。

    一、索愛(ài)筆試題:用變量a定義以下類型:(這道題目是中英文描述,我為了抄的簡(jiǎn)單就寫(xiě)英文了。)

    a) an integer

    b) a pointer to an integer

    c) a pointer to a pointer to an integer

    d) an array of 10 integers

    e) an array of 10 pointers to integers

    f) a pointer to an array of 10 integers

    g) a pointer to a function that makes an integer as an argument and returns an integer

    h) an array of 10 pointers to functions that makes an integer as an argument and returns an integer

    二、索愛(ài)筆試題:關(guān)鍵字static的作用是什么?

    三、索愛(ài)筆試題:這段代碼有什么問(wèn)題?

    strunt S_A{int a[10];};void f(){int i;strunt S_A *s_ptr;for (i=0,i10,i )s_ptr-a[i]=i;}四、寫(xiě)一個(gè)字符串反轉(zhuǎn)函數(shù),比如把a(bǔ)bcd變成dcba,要求在空間和時(shí)間上盡量?jī)?yōu)化。函數(shù)原型char* strrev(char* dest, char* src);

    四、索愛(ài)筆試題:寫(xiě)鏈表操作函數(shù)

    鏈表節(jié)點(diǎn)定義如:struct ListNode{long id;struct ListNode* next;}寫(xiě)一個(gè)返回下一個(gè)節(jié)點(diǎn)的函數(shù),沒(méi)有的話返回0struct ListNode* ListNext(struct ListNode* cur);寫(xiě)一個(gè)在已經(jīng)排序好的鏈表中插入一個(gè)節(jié)點(diǎn)的函數(shù),返回插入位置的前一個(gè)節(jié)點(diǎn)如果節(jié)點(diǎn)已經(jīng)在鏈表里邊返回0struct ListNode* ListInsert(struct ListNode* head,struct ListNode* newNode);寫(xiě)一個(gè)刪除節(jié)點(diǎn)的函數(shù),返回刪除后的前一個(gè)節(jié)點(diǎn),如果節(jié)點(diǎn)不在鏈表里邊返回0struct ListNode* ListRemove(struct ListNode* head,struct ListNode* theNode)

    相關(guān)文章
    熱點(diǎn)文章
    推薦文章