聚合答案库

免费查题,不限次数,
扫描二维码立即使用。

了解更多
免费 数据结构(全英文) 最新智慧树知到答案-公众号-聚合答案库
作者:2023-03-04 00:00 点赞 收藏 热度:15

1、单选题:
The algorithm and flowchart can help us to
选项:
A:Identify the data type of a variable
B:To know the memory capacity
C:To store the data
D:Specify the problem completely and clearly
答案: 【Specify the problem completely and clearly

2、单选题:
The rhombus or diamond shape in flowcharting denotes
选项:
A:Initialization
B:Input
C:Output
D:Decision
答案: 【Decision

3、单选题:
Which of the following is not an advantage of a flowchart?
选项:
A:Efficient coding
B:Improper documentation
C:Systematic testing
D:Better communication
答案: 【Improper documentation

4、单选题:
The flowchart symbols used for start and stop operations are called as_______.
选项:
A:processing
B:decision
C:connectors
D:terminals
答案: 【terminals

5、单选题:
The formula Fn = Fn-1+Fn-2 will produce
选项:
A:Prime Number
B:Euler Number
C:Fibonacci Number
D:Ramanujan Number
答案: 【Fibonacci Number

6、单选题:
The main measures for the efficiency of an algorithm are
选项:
A:Processor and memory
B:Data and space
C:Complexity and capacity
D:Time and space
答案: 【Time and space

7、单选题:
Which one of the following is the constant time complexity in terms of Big-Oh notation
选项:
A:O(n)
B:O(n3)
C:O(n2)
D:O(1)
答案: 【O(1)

8、单选题:
What is the time complexity of the following code? int a=0; for(i=0;i<n;i++){ for(j=n;j>i;j--){ a=a+i+j;}}
选项:
A:O(1)
B:O(n2)
C:O(nlogn)
D:O(n)
答案: 【O(n2)

9、单选题:
Which one of the following is an example for exponential time complexity?
选项:
A:O(2n)
B:O(1)
C:O(n)
D:O(n2)
答案: 【O(2n)

10、单选题:
For larger values of n, which one represents the slowest time?
选项:
A:O(n)
B:O(n!)
C:O(n2)
D:O(2n)
答案: 【O(n!)

欢迎您对本文章进行评论
文明留言,请勿恶意评论,包括但不限于纯数字、敏感内容、非法昵称等
暂无讨论,说说你的看法吧
学习通答案

学习通答案

学习通答案
职教云答案

职教云答案

Q&A

备案号:冀ICP备20010840号 2020-2099辉辉网络科技 All Rights Reserved