日韩亚洲专区中文字幕|五月天国产精品免费视频|中文字幕乱码亚州无线码二区|亚洲中文免费AV

<ul id="eu2wk"><blockquote id="eu2wk"></blockquote></ul>
  • <td id="eu2wk"><code id="eu2wk"></code></td>

    當(dāng)前位置:高考升學(xué)網(wǎng) > 招聘筆試題 > 正文

    軟件工程師筆試題和面試題答案

    更新:2023-09-18 18:35:32 高考升學(xué)網(wǎng)

      如下內(nèi)容是用友筆試題目NET面試題專欄部分,推薦給大家練習(xí)。

      1、面向?qū)ο蟮恼Z言具有___封裝__性、___繼承__性、___多態(tài)_性。

      2、能用foreach遍歷訪問的對象需要實(shí)現(xiàn) __ IEnumerable __接口或聲明__GetEnumerator __方法的類型。

      3、以下敘述正確的是:

      A. 接口中可以有虛方法。 B. 一個類可以實(shí)現(xiàn)多個接口。

      C. 接口不能被實(shí)例化。 D. 接口中可以包含已實(shí)現(xiàn)的方法。

      4、簡述 private、protected、public、internal 修飾符的訪問權(quán)限。

      Private 私有成員:只有本類內(nèi)部可以訪問

      Protected 受保護(hù)成員:只有本類和本類的子類可以訪問

      Public 公有成員:完全公開,沒有訪問限制

      Internal :在同一命名空間下可以訪問

      5、寫出一條Sql語句:取出表A中第31到第40記錄(SQLServer, 以自動增長的ID作為主鍵, 注意:ID可能不是連續(xù)的。)

      select top 10 from A where id not in (select top 30 id from A)

      5、DataReader與DataSet有什么區(qū)別?

      (1)、dataset表示一個數(shù)據(jù)集,是數(shù)據(jù)在內(nèi)存中的緩存。 可以包括多個表;

      (2)、dataset連接數(shù)據(jù)庫時是非面向連接的。把表全部讀到Sql中的緩沖池,并斷開于數(shù)據(jù)庫的連接

      (3)、datareader 連接數(shù)據(jù)庫時是面向連接的。讀表時,只能向前讀取,讀完數(shù)據(jù)后有用戶決定是否斷開連接。

      6、簡述什么是裝箱?

      把一個值類型的數(shù)據(jù)轉(zhuǎn)換為引用類型的數(shù)據(jù)的過程叫裝箱。

      7、下列選項(xiàng)中,(c)是引用類型。

      a) enum類型 b) struct類型

      c) string類型 d) int類型

      8、一個數(shù)據(jù)庫中的一個表中有 year 、salary這兩個字段,原表中數(shù)據(jù)如原表,請用SQL查詢出結(jié)果顯示的數(shù)據(jù):

      原表中數(shù)據(jù):

      year salary

      —————————————–

      2000 1000

      2001 2000

      2002 3000

      2003 4000

      結(jié)果表中數(shù)據(jù):

      year salary

      ——————————————

      2000 1000

      2001 3000

      2002 6000

      2003 10000

      寫出SQL語句如下:

      create table test([year] int ,salary int)

      insert test(year,salary) values(2000,1000)

      insert test(year,salary) values(2001,2000)

      insert test(year,salary) values(2002,3000)

      insert test(year,salary) values(2003,4000)

      select t1.year, (select sum(salary) from test as t2 where t2.year

    最新圖文