<delect id="sj01t"></delect>
  1. <em id="sj01t"><label id="sj01t"></label></em>
  2. <div id="sj01t"></div>
    1. <em id="sj01t"></em>

            <div id="sj01t"></div>

            寫絕招的作文200字

            時間:2025-08-18 18:59:19 200字 我要投稿

            寫絕招的作文200字

              筆試題目一

            寫絕招的作文200字

              一.簡答題.

              1.避免死鎖的方法有哪些?

              2.在Sybase數據庫中注冊用戶與數據庫用戶有什么區別?

              3.在MS SQL_Server 數據庫中通過什么約束保證數據庫的實體完整性

              4.內存有哪幾種存儲組織結構.請分別加以說明

              5.JAVA中的Wait() 和notify()方法使用時應注意些什么?

              6.用戶輸入一個整數.系統判斷,并輸出是負數還是非負數,請設計測試用例.

              7.操作系統中的同步和互訴解決了什么問題

              8.UNIX 中init

              二.編寫類String 的構造函數,析構函數和賦值函數

              已知類String 的原型為

              class string

              {

              public:

              string(const char *str=null);/pic/p>

              string(const string &other);/pic/p>

              ---string(void);

              string &operate=(const string &other);/pic/p>

              private:

              char * m-data;/pic/p>

              };

              請編寫string 的上述4個函數

              三.有關內存的思考題

              1.void getmemory(char *p)

              { p=(char*)mallol(100);

              }

              void test(void)

              {

              char * str =null;

              getmemory(str);

              strcpy(str,”hello,world”);

              printf(str);

              }

              請問運行Test函數會有什么樣的結果

              2.char*getmemory(void)

              { char p[]=”hello world”;

              return p;

              }

              void test(void)

              {

              char *str=null;

              str=Getmemory();

              printf(str);

              } 請問運行Test 函數會有什么樣的結果.

              筆試題目二

              問題:

              Write a function to get the second maximum number in an integer array.(請寫程序返回一個數組中第2大的數)

              int getsecond(int a [])

              答案:

              int getsecond(int a[],int nLength)

              {

              int nMax = -1000, nSec = 0;

              for(int i = 0 ; i < nLength ; i ++ )

              {

              if(nMax < a[i])

              {

              nSec = nMax;

              nMax = a[i];

              }

              else

              {

              if(a[i] > nSec)

              nSec = a[i];

              }

              }

              return nSec;

              }

            【寫絕招的作文200字】相關文章:

            《絕招》續寫03-23

            《絕招》續寫優選(10篇)05-20

            介紹自己絕招的作文01-15

            滿身絕招的同桌作文12-06

            (精選)實用的絕招作文300字08-20

            絕招敘事作文(精選25篇)06-06

            我的絕招作文500字12-04

            我的絕招作文(通用35篇)06-02

            絕招作文600字(精選26篇)02-12

            我的絕招作文(通用30篇)11-28

            • 相關推薦
            <delect id="sj01t"></delect>
            1. <em id="sj01t"><label id="sj01t"></label></em>
            2. <div id="sj01t"></div>
              1. <em id="sj01t"></em>

                      <div id="sj01t"></div>
                      黄色视频在线观看