- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
程序设计基础(Program design basis)
程序设计基础(Program design basis)
1 after the following program segment is executed, the values of the memory variables A and B are ().
CLEAR
A=10
B=20
SET UDFPARMS TO REFERENCE
DO SQ WITH (A), B and parameters are transmitted, B is transmitted reference
? A, B
PROCEDURE SQ
PARAMETERSX1, Y1
X1=X1*X1
Y1=2*X1
ENDPROC
A.10 200 B.100 200
C.100 20 D.10 20
[D] teacher corrects: D
2, the following options do not meet the good programming style is ().
A. source to document, B. data description order should be standardized
C. avoids misuse of goto statements; D. modules are designed to ensure high coupling and high cohesion
[D] teacher corrects: D
3 after the following program is executed, the value of the memory variable y is ().
X=34357
Y=0
DO, WHILE, x 0
Y=x%10+y*10
X=int (x/10)
ENDDO
A.3456 B.34567
C.7654 D.76543
[D] teacher corrects: D
4. The following options do not belong to structured programming methods.
A. top-down B. step by step refinement
C. modular D. can be reused
[D] teacher corrects: D
5, the files that can be executed with the DO command in Visual FoxPro do not include
A.PRG file, B.MPR file
C.FRX file, D.QPR file
[C] teacher corrects: C
6, at DO WHILE... In the.ENDDO loop structure, the function of the LOOP command is ().
The A. exit process returns the B. at the beginning of the program and transfers it to the DO WHILE statement line, starting the next judgment and loop
C. terminates the loop and transfers control to the first statement behind the loop structure ENDDO, continuing execution of the D. terminator program
[B] teacher corrects: B
7. The list of known proc.prg procedures is as follows:
SET TALK OFF
N=20
T=1
DO, proc_1, WITH, N, t
T?
SET TALK ON
RETURN
The list of Proc_1.prg programs is as follows:
PARAMETERS, a, B
B=a*b
If a=2
RETURN
ENDIF
DO, proc_1, WITH, A-2, B
RETURN
The function of the program proc.prg is ().
A) output the product of an even number within 20) and output a product of an odd number within 20 B
C) the output is 1 D) and the outpu
您可能关注的文档
- 电脑无法正常开机再现蓝屏的解决办法(The computer can not boot screen reproduction solution).doc
- 电脑横机学习知识(Computer knitting machine learning).doc
- 电脑清洗 电脑加速(Computer cleaning computer acceleration).doc
- 电脑横机维修常识(Computer flat knitting machine maintenance knowledge).doc
- 电脑清理 提速(Computer cleaning speed).doc
- 电脑清理基础知识(Clean up the computer basic knowledge).doc
- 电脑清理知识(Clean up the computer knowledge).doc
- 电脑清理维护(Computer cleaning and maintenance).doc
- 电脑电源改造(Computer power transformation).doc
- 电脑硬件性能指标(Computer hardware performance index).doc
- 秸秆气化炉(Straw gasification furnace).doc
- 税务检查计划(The tax inspection plan).doc
- 科目一总结(A summary of the subject).doc
- 税务筹划企业决策的前提(Tax planning the premise of enterprise decision-making).doc
- 税收法律主义初探——兼评我国税收授权立法之不足(The tax legalism of China -- Comment on the lack of tax legislative authorization).doc
- 税法与会计1(Tax law and accounting for 1).doc
- 税法计算公式(The calculation formula of the tax law).doc
- 稻城交通海拔路况实用信息txt版(Daocheng road traffic information utility altitude TXT version).doc
- 穷人与富人的决定性差异(The decisive differences between the rich and the poor).doc
- 税收优先权初探(Preliminary study on tax priority).doc
文档评论(0)