甘肃电大开放大学22《visualbasic程序设计》形考任务3题目形考作业非答案

  [复制链接]
查看: 738|回复: 6

23万

主题

23万

帖子

32万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
329731
发表于 2022-4-21 16:28:12 | 显示全部楼层 |阅读模式

2021年秋季《VisualBasic程序设计》形考任务3
1.[单选题] 为了使drive1驱动器列表框、dir1目录路径列表框和file1文件列表框能同步协调工作,需要在()
    A.drive1的Change事件过程中加入drive1.Drive=dir1.Path,在dir1的Change事件过程中加入dir1.Path=file1.Path代码。
    B.drive1的Change事件过程中加入dir1.Path = drive1.Drive,在dir1的Change事件过程中加入file1.Path =dir1.Path代码。
    C.dir1的Change事件过程中加入dir1.Path = drive1.Drive,在file1的Click事件过程中加入file1.Path =file1.fileName代码。
    D.dir1的Change事件过程中加入dir1.Path = drive1.Drive,在file1的Click事件过程中加入file1.Path =dir1.Path代码。
    答:——B——
2.[单选题] 设ADOrs为Recordset对象,从“学生基本情况表”中获取所有记录的语句是()
    A.ADOrs.New “Select * From 学生基本情况表”     B.ADOrs.Open “Select * From 学生基本情况表”
    C.ADOrs.Execute “Select * From 学生基本情况表”     D.ADOrs. Select “Select * From 学生基本情况表”
    答:——B——3.[单选题] VB中将变量xl声明为Excel应用程序对象的方法是()
    A.Dim xl As Excel.Application     B.Dim xl As Excel.Workbook
    C.Dim xl As Excel.Worksheet
    D.Dim xl As Excel.Worksheets
    答:——A——4.[单选题] 下列数据对象模型中采用OLE DB访问数据库的是()。
    A.DAO     B.RDO
    C.ADO     D.RDO和ADO
    答:————
5.[单选题] 当用Line方法画直线后,当前坐标在()
    A.(0,0)     B.直线起点
    C.直线终点
    D.容器的中心
    答:————6.[单选题] 为了清除图片框Picture1中的图形,应采取的正确方法是()
    A.选择图片框,然后按Del键     B.执行语句Picture1.picture=LoadPicture(“”)
    C.执行语句Picture1.picture= “”
    D.选择图片框,在属性窗口中选择Picture属性条,然后按回车键     答:————
7.[单选题] 如果准备读文件,打开顺序文件“text.dat”的正确语句是()
    A.open “text.dat” for write As





上一篇:甘肃电大开放大学22《visualbasic程序设计》形考任务2形考作业非答案
下一篇:甘肃电大开放大学22《visualbasic程序设计》形考任务4形考作业非答案
回复

使用道具 举报

23万

主题

23万

帖子

32万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
329731
 楼主| 发表于 2022-4-21 16:28:12 | 显示全部楼层
1
    B.open “text.dat” for Binary  As
回复

使用道具 举报

23万

主题

23万

帖子

32万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
329731
 楼主| 发表于 2022-4-21 16:28:12 | 显示全部楼层
1     C.open “text.dat” for Input  As
回复

使用道具 举报

23万

主题

23万

帖子

32万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
329731
 楼主| 发表于 2022-4-21 16:28:12 | 显示全部楼层
1
    D.open “text.dat” for Random  As
回复

使用道具 举报

23万

主题

23万

帖子

32万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
329731
 楼主| 发表于 2022-4-21 16:28:12 | 显示全部楼层
1
    答:————
8.[单选题] Line (200, 200)-Step( 500, 500)将在窗体()画一直线。    A.(200, 200)到(500, 500)
    B.(200, 200)到(300, 300)
    C.(200, 200)到(700, 700)     D.(300, 300)到(500, 500)
    答:————
9.[单选题] 可用来改变坐标度量单位的是()
    A.Drawstyle属性
    B. DrawWidth属性
    C. Scale方法     D. ScaleMode
    答:————
10.[单选题] 如果准备向随机文件中写入数据,正确的语句是()    A.Print
回复

使用道具 举报

23万

主题

23万

帖子

32万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
329731
 楼主| 发表于 2022-4-21 16:28:12 | 显示全部楼层
1, rec
    B.Write  
回复

使用道具 举报

23万

主题

23万

帖子

32万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
329731
 楼主| 发表于 2022-4-21 16:28:12 | 显示全部楼层
1, rec
    C.Put
回复

使用道具 举报

23万

主题

23万

帖子

32万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
329731
 楼主| 发表于 2022-4-21 16:28:12 | 显示全部楼层
1, rec
    D.Get
回复

使用道具 举报

23万

主题

23万

帖子

32万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
329731
 楼主| 发表于 2022-4-21 16:28:12 | 显示全部楼层
1, rec
    答:————11.[单选题] 下列“CommandDialog1”控件程序代码,CommandDialog1.Action=1,代表()
    A.文件另存为
    B.打开文件         C.色彩
    D.打印     答:————
12.[单选题] 随机文件进行文件读取的单位是()
    A.字节     B.记录
    C.整个文件
    D.字符
    答:————
13.[单选题] 绘制多种形状的图形,需要设置Shape控件的()属性。    A.Shape
    B.Borderstyle
    C.FillStyle     D.Style
    答:————
14.[单选题] 绘制多种形状的直线,需要设置Line控件的()属性。    A.Shape
    B.Borderstyle     C.FillStyle
    D.Style
    答:————
15.[单选题] Visible Basic根据计算机访问文件的方式将文件分成三类,其中不包括()
    A.顺序文件
    B.Unix文件     C.二进制文件
    D.随机文件
    答:————
16.[填空题] VB中将数据库分为 <input type="text" maxlength="15" id="d52cff63-e5a1-49a6-affe-fae87f034c4c" responseid='RESPONSE_1' name="d52cff63-e5a1-49a6-affe-fae87f034c4c" />、  <input type="text" maxlength="15" id="d52cff63-e5a1-49a6-affe-fae87f034c4c" responseid='RESPONSE_2' name="d52cff63-e5a1-49a6-affe-fae87f034c4c" />和 <input type="text" maxlength="15" id="d52cff63-e5a1-49a6-affe-fae87f034c4c" responseid='RESPONSE_3' name="d52cff63-e5a1-49a6-affe-fae87f034c4c" />三种类型.
    答:————17.[填空题] 在VB中,将Foxpro称为外部数据库,Access称为 <input type="text" maxlength="15" id="9607b951-fbe5-4c91-aec9-c967c56f7dad" responseid='RESPONSE_1' name="9607b951-fbe5-4c91-aec9-c967c56f7dad" />,SQL Server称为 <input type="text" maxlength="15" id="9607b951-fbe5-4c91-aec9-c967c56f7dad" responseid='RESPONSE_2' name="9607b951-fbe5-4c91-aec9-c967c56f7dad" />.
    答:————18.[填空题] ADO模型中一般可通过Connection对象的Execute方法执行 <input type="text" maxlength="12" id="d94b61ef-6fa7-43a9-bc5f-879dcc697321" responseid='RESPONSE_1' name="d94b61ef-6fa7-43a9-bc5f-879dcc697321" />、 <input type="text" maxlength="12" id="d94b61ef-6fa7-43a9-bc5f-879dcc697321" responseid='RESPONSE_2' name="d94b61ef-6fa7-43a9-bc5f-879dcc697321" />、 <input type="text" maxlength="12" id="d94b61ef-6fa7-43a9-bc5f-879dcc697321" responseid='RESPONSE_3' name="d94b61ef-6fa7-43a9-bc5f-879dcc697321" />等三类不返回结果集的SQL语句.
    答:————
19.[填空题] 如果要新建一个顺序文件,用Open语句时,操作方式关键词是  <input type="text" maxlength="16" id="df41ae2c-0f6e-4fe7-bf17-35e74d986867" responseid='RESPONSE' name="df41ae2c-0f6e-4fe7-bf17-35e74d986867" /> 。
    答:————
20.[填空题] 若窗体的左上角坐标为(-200,250),右下角坐标为(300,-150),则X轴的正向向 右 ,Y轴的正向向 <input type="text" maxlength="11" id="a89c1530-b479-4f50-a723-df61f85363e9" responseid='RESPONSE' name="a89c1530-b479-4f50-a723-df61f85363e9" />。
    答:————
21.[问答题] <span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">在窗体上建立一个驱动器列表框、目录列表框、文件列表框、图片框。要求程序运行后,驱动器列表框</span><span lang="EN-US" style="font-size: 10.5pt; font-family: "Times New Roman","serif"; color: black; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">Drive1</span><span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">的默认驱动器设置为</span><span lang="EN-US" style="font-size: 10.5pt; font-family: "Times New Roman","serif"; color: black; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">C</span><span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">盘,选择</span><span lang="EN-US" style="font-size: 10.5pt; font-family: "Times New Roman","serif"; color: black; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">File1</span><span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">中所列的确图片文件(</span><span lang="EN-US" style="font-size: 10.5pt; font-family: "Times New Roman","serif"; color: black; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">*.Bmp</span><span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">和</span><span lang="EN-US" style="font-size: 10.5pt; font-family: "Times New Roman","serif"; color: black; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">*.jpg</span><span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">),则相应的图片显示在图片框</span><span lang="EN-US" style="font-size: 10.5pt; font-family: "Times New Roman","serif"; color: black; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">Picture1</span><span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">中。程序运行结果如图</span><span lang="EN-US" style="font-size: 10.5pt; font-family: "Times New Roman","serif"; color: black; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">10</span><span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">所示。<br /><img width="500" height="231" alt="" src="/Attachment/Itembank/QuestionAttachments/201711/a9b1b845-2998-403d-9087-1c0e0dde8864/20171122161959419.jpg" /></span>    答:————
22.[问答题] <span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">使用</span><span lang="EN-US" style="font-size: 10.5pt; font-family: "Times New Roman","serif"; color: black; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">SQL Server</span><span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">或</span><span lang="EN-US" style="font-size: 10.5pt; font-family: "Times New Roman","serif"; color: black; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">Access</span><span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">建立名称为”学生的数据库</span><span lang="EN-US" style="font-size: 10.5pt; font-family: "Times New Roman","serif"; color: black; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">,</span><span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">并在其中创建”</span><span lang="EN-US" style="font-size: 10.5pt; font-family: "Times New Roman","serif"; color: black; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">students</span><span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">”的数据库表</span><span lang="EN-US" style="font-size: 10.5pt; font-family: "Times New Roman","serif"; color: black; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">,</span><span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">其结构及初始记录如表</span><span lang="EN-US" style="font-size: 10.5pt; font-family: "Times New Roman","serif"; color: black; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">1</span><span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">所示</span><span lang="EN-US" style="font-size: 10.5pt; font-family: "Times New Roman","serif"; color: black; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">.</span><span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">使用</span><span lang="EN-US" style="font-size: 10.5pt; font-family: "Times New Roman","serif"; color: black; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">ADO</span><span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">对象和</span><span lang="EN-US" style="font-size: 10.5pt; font-family: "Times New Roman","serif"; color: black; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">MSFlexGrid</span><span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">控件设计数据库列表显示程序</span><span lang="EN-US" style="font-size: 10.5pt; font-family: "Times New Roman","serif"; color: black; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">.</span><span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">程序的设计界面和运行结果如图</span><span lang="EN-US" style="font-size: 10.5pt; font-family: "Times New Roman","serif"; color: black; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">15</span><span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">、图</span><span lang="EN-US" style="font-size: 10.5pt; font-family: "Times New Roman","serif"; color: black; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-fareast-font-family: 宋体">16</span><span style="font-size: 10.5pt; font-family: 宋体; color: black; mso-ascii-font-family: "Times New Roman"; mso-hansi-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">所示。<br /><img width="400" height="377" alt="" src="/Attachment/Itembank/QuestionAttachments/201711/64e71026-2f17-4f22-8838-a99d3b5e3e9c/2017112216281550.jpg" /><img width="400" height="326" alt="" src="/Attachment/Itembank/QuestionAttachments/201711/64e71026-2f17-4f22-8838-a99d3b5e3e9c/20171122162822516.jpg" /><br /></span>
    答:————

回复

使用道具 举报

0

主题

3480

帖子

5221

积分

论坛元老

Rank: 8Rank: 8

积分
5221
发表于 2022-4-21 16:34:37 | 显示全部楼层
青海电大形考作业有答案吗?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

精彩课程推荐
|网站地图|网站地图