问题详情

在考生文件夹下有一个工程文件sjt5.vbp,按照要求完成以下操作:  在名称为Form1的窗体上添加两个命令按钮,其名称分别为C1和C2,标题分别为:“读入数据”和“计算”(如下图所示)。程序运行后,如果单击“读入数据”按钮,则调用题目所提供的ReadData1和ReadData2过程读入datain1.txt和datain2.txt文件中的各20个整数,分别放入Arr1和Arr2两个数组中;如果单击“计算”按钮,则把两个数组中对应下标的元素相减,其结果放入第三个数组中(第1个数组的第n个元素减去第2个数组的第n个元素,其结果作为第3个数组的第n个元素。这里的n为1、2…20),最后计算第3个数组各元素之和,把所求得的和在窗体上显示出来;并调用题目中给出的WriteData过程将所求得的和存入考生文件夹下的dataout.txt文件中。  注意:考生不得修改窗体文件中已经存在的程序,且必须执行一次,最后将修改后的文件以原来的文件名存盘。

未搜索到的试题可在搜索页快速提交,您可在会员中心"提交的题"快速查看答案。 收藏该题
查看答案

相关问题推荐

Which option provides a hierarchy of data security across lines of business?()

A、Alerts

B、Multi-Org

C、Flexfields

D、Shared entities

E、Business Intelligence

A technician is using a packet sniffer to identify a server. The technician observes the following network traffic: Which of the following is MOST likely to be the server?()

A、 HOST-A

B、 HOST-B

C、 HOST-C

D、 HOST-D

Which of the following choices correctly describes the difference between a data load via the conventional path and the direct path?()

A、One runs faster than the other

B、A conventional path data load bypasses most of the Oracle RDBMS, whereas a direct path load is a high-speed version of the SQL INSERT

C、A direct path data load bypasses most of the Oracle RDBMS, whereas a conventional path load is a high-speed version of the SQL INSERT

D、The conventional path runs when the CONVENTIONAL command-line parameter is set to TRUE

You are defining areas on your Oracle database. Which of the following profile areas can be used to control the resource usage for the other four?()

A、LOGICAL_READS_PER_SESSION 

B、CONNECT_TIME 

C、COMPOSITE_LIMIT 

D、CPU_PER_SESSION 

E、PRIVATE_SGA

Which component of the SGA stores parsed SQL statements is used for process sharing?()

A、Buffer cache 

B、Redo log buffer 

C、Private SQL area 

D、Library cache 

E、Row cache 

联系客服 会员中心
TOP