本答案对应课程为:点我自动跳转查看
本课程起止时间为:2021-10-01到2021-12-31
本篇答案更新状态:已完结

【作业】2. 算法 homework 01

1、 问题:用c程序在屏幕上输出以下一行信息。            Hello, World.在线提交源程序,代码执行截图。
评分规则: 【 1、代码正确,清晰,容易阅读。
2、运行结果正确。

2、 问题:求两个整数之和。
评分规则: 【 1、代码正确,清晰,容易阅读。
2、运行结果正确。

3.数据表示和操控 单元测验

1、 问题:Which of the settings can be stored in a single bit?
选项:
A:User name
B:Birthdate
C:Primary language
D:Sound effects
答案: 【Sound effects

2、 问题:A math student is writing code to verify their project answers:sideLength ← 6area ← (SQRT(3) / 4) * (sideLength * sideLength)That code relies on a built-in procedure SQRT() that calculates the square root of a number. After running the code, area stores 15.588457268119894.Their classmates runs the same calculation on their own computer. Their program results in an area of 15.58845726804.The two values are very close, but not quite the same.Which of these is the most likely explanation for the difference?
选项:
A:The two computers executed the arithmetic operations using a different order of operations.
B:One of the computers has a bug in its mathematical operations.
C:One of the computers experienced an integer overflow error when calculating the result.
D:The two computers represent the result of SQRT(3) with a different level of precision, due to their rounding strategy or size limitations.
E:One computer used an integer representation for the result of SQRT(3) while the other computer used the more accurate floating-point representation.
答案: 【The two computers represent the result of SQRT(3) with a different level of precision, due to their rounding strategy or size limitations.

3、 问题:Which of these is the best description of analog data?
选项:
A:Data that changes smoothly over time.
B:Data that varies between positive and negative values.
C:Data that has been sampled by a computer.
D:Data that changes in discrete intervals over time.
答案: 【Data that changes smoothly over time.

4、 问题:Consider this sequence of bits:0100010000010001
0110101000010010
0111111111110010
1011010110010010
1001000001011011
1100010000110111
0101010011001110
1000111111110011
1100010101011000
1001100100101101What is true about this binary data?
选项:
A:This sequence of bits might represent letters or emoji symbols, but it could not represent numbers. 
B:This sequence of bits might represent numbers, but it could not represent letters or emoji symbols. 
C:This sequence of bits might represent numbers, letters, or emoji symbols. 
D:This sequence of bits might represent numbers or letters, but it could not represent emoji symbols. 
答案: 【This sequence of bits might represent numbers, letters, or emoji symbols. 

5、 问题:Akuchi develops an algorithm that counts the number of words used in an essay. Now they’ve been asked to extend the algorithm to ignore common words (like "the" and "to").What structure must be added to the algorithm so that it does not count common words?
选项:
A:Selection 
B:Sequencing 
C:Iteration
D:None of above

本门课程剩余章节答案为付费内容
本文章不含期末不含主观题!!
本文章不含期末不含主观题!!
支付后可长期查看
有疑问请添加客服QQ 2356025045反馈
如遇卡顿看不了请换个浏览器即可打开
请看清楚了再购买哦,电子资源购买后不支持退款哦

   

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注