- 1、本文档共30页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
电脑组装与维修技能实训(Computer assembly and maintenance skills training)
电脑组装与维修技能实训(Computer assembly and maintenance skills training)
Basic knowledge of computer C language
Chapter 1 data structures and algorithms
1.1 algorithm
Algorithm: the exact and complete description of the solution.
The algorithm is not equal to the program nor the computer method, so the program can not be better than the design of the algorithm.
The basic features of an algorithm are a set of rules that define the order of operations rigorously. Each rule is valid and explicit, and the order is terminated at a finite number of times. Features include:
(1) feasibility;
(2) certainty, each step in the algorithm must be clearly defined, not ambiguous explanations, and no ambiguity;
(3) being poor, the algorithm must be completed within a limited amount of time, that is, after the execution of a finite number of steps, including the meaning of reasonable execution time;
(4) have enough information.
The basic elements of the algorithm: first, the operation and operation of data objects; two, the control structure of the algorithm.
Instruction system: a collection of all instructions that a computer system can execute.
Basic operations include arithmetic operations, logical operations, relational operations, and data transmission.
The control structure of the algorithm: sequential structure, selection structure, and cyclic structure.
The basic design methods of the algorithm are enumeration, induction, recursion, recursion, reduction, recursion and backtracking.
Algorithm complexity: algorithm time complexity and algorithm space complexity.
Algorithm time complexity refers to the computational effort required to perform the algorithm.
The algorithm space complexity refers to the memory space needed to execute the algorithm.
1.2 basic concepts of data structures
Three aspects of data structure research:
(1) the logical relationship between the data elements in the data set, that is, the logical structure of the data;
(2) when dealing with data, the storage relation o
您可能关注的文档
- 生物化学检验(Biochemical test).doc
- 生物电能的作用(The role of bioelectricity).doc
- 生理学无冕之王——巴甫洛夫(The king of physiology without a crown - Pavlov).doc
- 生物必修一总结(Biological compulsory summary).doc
- 甘肃省药品价格管理目录-(一)西药部分(Catalogue of drug price control in Gansu - Part 1).doc
- 生理学教案第三章 血液(Physiology lesson plan third chapters blood).doc
- 生病吃水果!(Sick to eat fruit!).doc
- 生病应吃的水果(Sick fruit to eat).doc
- 用dv剪电影(Cut the film with DV).doc
- 用gnu工具开发基于arm的嵌入式系统(Developing an embedded system based on arm using GNU tools).doc
文档评论(0)