Assignment3(1)(3)

2021-01-20 18:34

while (X < 6) do while (X < 5) do repeat (print the value of X;

虽然(X < 6)在(X < 5)做重复(打印X的值;

(print the value of X; X + 1; (X X + 1) X

X + 1) X + 1,X (打印X的值;(X

X + 1) X print the value of X) until (X > 6)

X + 1)打印X的值),直到(X X > 6)

9. Which of the following is not a way of representing algorithms?

9。下列哪一项不是代表算法的方式吗?

A. Stepwise refinement B. Pseudocode C. Flowchart D. Programming language

a .逐步求精b . c .流程图d .编程语言的伪代码

10. Which algorithms would find the name Kelly more quickly in the list: John, Kelly, Lewis, Maurice, Nathan, Oliver, Pat, Quincy, Roger, Stan, Tom?

10。这算法会发现这个名字凯利在列表中更快:约翰,凯莉,刘易斯,莫里斯,内森,奥利弗,帕特,昆西,罗杰,斯坦,汤姆?

A. sequential search B. binary search

a .顺序搜索b .二进制搜索

Fill-in-the-blank/Short-answer Questions

填空/简答题

1. An ordered collection of unambiguous, executable steps that defines a terminating process is called A , and the

representation of an algorithm is B . The action of executing a program is C .

1。一个命令收集的明确的、可执行的步骤,定义了一个终止过程被称为,代表一个算法是B。执行程序的作用是C。

2. What sequence of values will be printed when the following instructions are executed?

2。什么值序列将打印当以下执行指令?

5; X


Assignment3(1)(3).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:海洋地质调查与研究元数据的标准化

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: