二級(jí)vf考試試題及答案_第1頁(yè)
二級(jí)vf考試試題及答案_第2頁(yè)
二級(jí)vf考試試題及答案_第3頁(yè)
二級(jí)vf考試試題及答案_第4頁(yè)
二級(jí)vf考試試題及答案_第5頁(yè)
已閱讀5頁(yè),還剩10頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

一.選擇題

1.欲從項(xiàng)目管理器中創(chuàng)建菜單,應(yīng)選擇選項(xiàng)卡:HTMLCONTROLForms.HTML:Option.1文檔HTMLCONTROLForms.HTML:Option.1代碼HTMLCONTROLForms.HTML:Option.1其它HTMLCONTROLForms.HTML:Option.1數(shù)據(jù)HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:3

2.菜單中定義訪問鍵,在訪問鍵前應(yīng)加上字符:HTMLCONTROLForms.HTML:Option.1“Ctrl+”HTMLCONTROLForms.HTML:Option.1“Alt+”HTMLCONTROLForms.HTML:Option.1“\<”HTMLCONTROLForms.HTML:Option.1“(\-”HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:3

3.要給表文件學(xué)生.DBF中的整數(shù)型字段“入學(xué)總分”指定取值范圍為550≤入學(xué)總分≤650,以下正確的命令是()。HTMLCONTROLForms.HTML:Option.1ALTERTABLE學(xué)生ALTER入學(xué)總分(INT)CHECK550<=入學(xué)總分<=650HTMLCONTROLForms.HTML:Option.1ALTERTABLE學(xué)生ALTER入學(xué)總分(INT)CHECK550<=入學(xué)總分AND入學(xué)分總<=650HTMLCONTROLForms.HTML:Option.1ALTERTABLE學(xué)生SET入學(xué)總分(INT)CHECK550<=入學(xué)總分AND入學(xué)總分<=650HTMLCONTROLForms.HTML:Option.1ALTERTABLE學(xué)生SET入學(xué)總分(INT)CHECK550<=入學(xué)總分<=650HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:2

4.表格中的列控件默認(rèn)是:HTMLCONTROLForms.HTML:Option.1TextBoxHTMLCONTROLForms.HTML:Option.1EditBoxHTMLCONTROLForms.HTML:Option.1CheckBoxHTMLCONTROLForms.HTML:Option.1ListBoxHTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:1

5.用二維表形式表示的數(shù)據(jù)模型是()HTMLCONTROLForms.HTML:Option.1層次數(shù)據(jù)庫(kù)HTMLCONTROLForms.HTML:Option.1網(wǎng)狀數(shù)據(jù)模型HTMLCONTROLForms.HTML:Option.1網(wǎng)絡(luò)數(shù)據(jù)模型HTMLCONTROLForms.HTML:Option.1關(guān)系數(shù)據(jù)模型HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:4

6.如果要選取一個(gè)關(guān)系中的若干屬性,應(yīng)使用的關(guān)系運(yùn)算是()HTMLCONTROLForms.HTML:Option.1連接HTMLCONTROLForms.HTML:Option.1選擇HTMLCONTROLForms.HTML:Option.1投影HTMLCONTROLForms.HTML:Option.1重建HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:3

7.當(dāng)數(shù)據(jù)表在原始物理順序中記錄指針指向第一個(gè)記錄之前,則EOF()、BOF()和RECNO()的返回值分別為()。HTMLCONTROLForms.HTML:Option.1.T.、.T.和0HTMLCONTROLForms.HTML:Option.1.F.、.T.和1HTMLCONTROLForms.HTML:Option.1.T.、.F.和0HTMLCONTROLForms.HTML:Option.1.F.、.T.和0HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:2

8.在下面的表達(dá)式中,運(yùn)算結(jié)果是邏輯真的是()。HTMLCONTROLForms.HTML:Option.1EMPTY(SPACE(10))HTMLCONTROLForms.HTML:Option.1LIKE("EDIT","EDI?")HTMLCONTROLForms.HTML:Option.1EMPTY(NuLL)HTMLCONTROLForms.HTML:Option.1AT("a","123abc")HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:1

9.想要將日期型或日期時(shí)間型數(shù)據(jù)中的年份用4位數(shù)字顯示,應(yīng)當(dāng)使用設(shè)置命令()HTMLCONTROLForms.HTML:Option.1SETCENTURYOFFHTMLCONTROLForms.HTML:Option.1SETCENTURYOF4HTMLCONTROLForms.HTML:Option.1SETCENTURYONHTMLCONTROLForms.HTML:Option.1SETCENTURYTO4HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:3

10.執(zhí)行下列命令后,屏幕上顯示的結(jié)果是()。X="AREYOUOk?"Y="are"?AT(Y,X)HTMLCONTROLForms.HTML:Option.1.T.HTMLCONTROLForms.HTML:Option.11HTMLCONTROLForms.HTML:Option.10HTMLCONTROLForms.HTML:Option.1.F.HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:3

11.在VFP中,要關(guān)閉"Command"窗口,應(yīng)選擇"窗口"菜單中的選項(xiàng)是()。HTMLCONTROLForms.HTML:Option.1命令窗口HTMLCONTROLForms.HTML:Option.1隱藏HTMLCONTROLForms.HTML:Option.1清除HTMLCONTROLForms.HTML:Option.1數(shù)據(jù)工作期HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:2

12.用INSERT命令插入一條記錄時(shí),被插入的記錄在表中的位置是()。HTMLCONTROLForms.HTML:Option.1表的最前HTMLCONTROLForms.HTML:Option.1表的尾部HTMLCONTROLForms.HTML:Option.1當(dāng)前記錄之后HTMLCONTROLForms.HTML:Option.1當(dāng)前記錄之前HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:3

13.如果要為控件設(shè)置焦點(diǎn),則下列屬性值是真(.T.)的是_______。HTMLCONTROLForms.HTML:Option.1Enabled和VisibleHTMLCONTROLForms.HTML:Option.1Visible和DefaultHTMLCONTROLForms.HTML:Option.1Default和CancelHTMLCONTROLForms.HTML:Option.1Enabled和DefaultHTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:1

14.在VFP中,將A盤文本文件JAKE.TXT中的記錄,添加到當(dāng)前表的末尾,應(yīng)該執(zhí)行命令()。HTMLCONTROLForms.HTML:Option.1APPENDFROMA:JAKE.TXTSDFHTMLCONTROLForms.HTML:Option.1COPYFROMA:JAKE.TXTHTMLCONTROLForms.HTML:Option.1APPENDFROMA:JAKE.TXTHTMLCONTROLForms.HTML:Option.1COPYFROMA:JAKE.TXTSDFHTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:1

15.要顯示表XSCJ.DBF中平均分超過90分和不及格的全部女生記錄,應(yīng)當(dāng)使用的命令是()。HTMLCONTROLForms.HTML:Option.1LISTFOR性別="女".AND.(平均分>90.OR.平均分<60)HTMLCONTROLForms.HTML:Option.1LISTFOR性別="女",平均分>90,平均分<60HTMLCONTROLForms.HTML:Option.1LISTFOR性別="女",平均分>=90,平均分<=60HTMLCONTROLForms.HTML:Option.1LISTFOR性別="女".AND.平均分>90.AND.平均分<60HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:1

16.下列命令用于顯示1968年及其以前出生的職工記錄,其中錯(cuò)誤的是()。HTMLCONTROLForms.HTML:Option.1LISTFORYEAR(出生日期)<=1968HTMLCONTROLForms.HTML:Option.1LISTFORSUBSTR(DTOC(出生日期),7,2)<=”68”HTMLCONTROLForms.HTML:Option.1LISTFORRIGHT(DTOC(出生日期),2)<=”68”HTMLCONTROLForms.HTML:Option.1LISTFORLEFT(DTOC(出生日期),7,2)<=”68”HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:4

17.在VFP中,字段長(zhǎng)度只受外存可用空間限制的字段類型為()。HTMLCONTROLForms.HTML:Option.1CharacterHTMLCONTROLForms.HTML:Option.1MemoHTMLCONTROLForms.HTML:Option.1NumericHTMLCONTROLForms.HTML:Option.1FloatHTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:2

18.當(dāng)前數(shù)據(jù)表文件有10條記錄,要在第5條記錄后面插入1條新記錄,應(yīng)使用命令()。HTMLCONTROLForms.HTML:Option.1APPENDHTMLCONTROLForms.HTML:Option.1INSERTHTMLCONTROLForms.HTML:Option.1BROWSE.HTMLCONTROLForms.HTML:Option.1EDITHTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:2

19.表文件與其相應(yīng)的索引文件已經(jīng)打開,內(nèi)存變量XM="李春",執(zhí)行以下命令時(shí)會(huì)發(fā)生錯(cuò)誤的是()。HTMLCONTROLForms.HTML:Option.1LOCATEFOR姓名=XMHTMLCONTROLForms.HTML:Option.1SEEKXMHTMLCONTROLForms.HTML:Option.1LOCATEFOR姓名=&XMHTMLCONTROLForms.HTML:Option.1FIND&XMHTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:3

20.在VFP中函數(shù)SELECT()的值為()。HTMLCONTROLForms.HTML:Option.1文件型HTMLCONTROLForms.HTML:Option.1邏輯型HTMLCONTROLForms.HTML:Option.1字符型HTMLCONTROLForms.HTML:Option.1數(shù)值型HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:4二.判斷題

21.表單的方法就是已封裝的程序,其內(nèi)容可由使用者重新定義編寫。HTMLCONTROLForms.HTML:Option.1NHTMLCONTROLForms.HTML:Option.1YHTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:N

22.報(bào)表的結(jié)果除Preview與ToPrinter外,可以ToFile,成為一個(gè)文本文件。HTMLCONTROLForms.HTML:Option.1NHTMLCONTROLForms.HTML:Option.1YHTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:Y

23.?和??都是從當(dāng)前光標(biāo)所在行的下一行開始顯示。HTMLCONTROLForms.HTML:Option.1NHTMLCONTROLForms.HTML:Option.1YHTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:N

24.使用SQL-INSERT命令可以向表中任意位置插入記錄。HTMLCONTROLForms.HTML:Option.1NHTMLCONTROLForms.HTML:Option.1YHTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:N

25.邏輯型字段的寬度為1。HTMLCONTROLForms.HTML:Option.1NHTMLCONTROLForms.HTML:Option.1YHTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:Y

26.用APPENDBLANK追加記錄時(shí)不進(jìn)入到全屏幕編輯狀態(tài)。HTMLCONTROLForms.HTML:Option.1NHTMLCONTROLForms.HTML:Option.1YHTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:Y

27.已知數(shù)組QQ(10),命令STORE0TOQQ執(zhí)行后數(shù)組的10個(gè)元素都為0。HTMLCONTROLForms.HTML:Option.1NHTMLCONTROLForms.HTML:Option.1YHTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:Y

28.“+”號(hào)運(yùn)算符和“-”號(hào)運(yùn)算符,在VFP中可用于字符型和邏輯型數(shù)據(jù)類型中。HTMLCONTROLForms.HTML:Option.1NHTMLCONTROLForms.HTML:Option.1YHTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:N

29.編輯框?qū)嶋H上是一個(gè)完整的字處理器,可進(jìn)行選擇、剪切、粘貼及復(fù)制正文等操作,但在編輯框中只能輸入和編輯字符型數(shù)據(jù)。HTMLCONTROLForms.HTML:Option.1NHTMLCONTROLForms.HTML:Option.1YHTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:Y

30.在VFP中能真正改變記錄物理順序的操作是排序。HTMLCONTROLForms.HTML:Option.1NHTMLCONTROLForms.HTML:Option.1YHTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:Y

31.報(bào)表文件的擴(kuò)展名是.MNXHTMLCONTROLForms.HTML:Option.1NHTMLCONTROLForms.HTML:Option.1YHTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:N

32.一個(gè)報(bào)表可以設(shè)置一個(gè)或多個(gè)數(shù)據(jù)分組。HTMLCONTROLForms.HTML:Option.1NHTMLCONTROLForms.HTML:Option.1YHTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:Y三.讀程序(每段程序有兩個(gè)小題)

33.程序執(zhí)行完后,第一條?y命令顯示的結(jié)果為:HTMLCONTROLForms.HTML:Option.16HTMLCONTROLForms.HTML:Option.15HTMLCONTROLForms.HTML:Option.14HTMLCONTROLForms.HTML:Option.13HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:A

34.程序執(zhí)行完后,?x命令顯示的結(jié)果為:HTMLCONTROLForms.HTML:Option.16HTMLCONTROLForms.HTML:Option.15HTMLCONTROLForms.HTML:Option.14HTMLCONTROLForms.HTML:Option.13HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:A

35.執(zhí)行命令?AB后,屏幕顯示的結(jié)果是:HTMLCONTROLForms.HTML:Option.1999ABHTMLCONTROLForms.HTML:Option.1999BAHTMLCONTROLForms.HTML:Option.1AB999HTMLCONTROLForms.HTML:Option.1BA999HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:D

36.執(zhí)行命令?VAL(AB)后,屏幕顯示的結(jié)果是:HTMLCONTROLForms.HTML:Option.1BAHTMLCONTROLForms.HTML:Option.1ABHTMLCONTROLForms.HTML:Option.1999HTMLCONTROLForms.HTML:Option.10.00HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:D

37.程序執(zhí)行后,A的值為HTMLCONTROLForms.HTML:Option.113.00HTMLCONTROLForms.HTML:Option.114.00HTMLCONTROLForms.HTML:Option.115.00HTMLCONTROLForms.HTML:Option.116.00HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:C

38.程序執(zhí)行后,B的值為HTMLCONTROLForms.HTML:Option.14.00HTMLCONTROLForms.HTML:Option.15.00HTMLCONTROLForms.HTML:Option.16.00HTMLCONTROLForms.HTML:Option.17.00HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:A

39.程序運(yùn)行到第一個(gè)?A,B,C后屏幕顯示的結(jié)果為HTMLCONTROLForms.HTML:Option.125V5HTMLCONTROLForms.HTML:Option.125V0HTMLCONTROLForms.HTML:Option.1FoxProFoxHTMLCONTROLForms.HTML:Option.10V5HTMLCONTROLForms.HTML:Option.1你的答案:0標(biāo)準(zhǔn)答案:D

40.程序運(yùn)行到第二個(gè)?A,B,C后屏幕顯示的結(jié)果為HTMLCONTROLForms.HTML:Option.10V15

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論