大学计算机基础-算法与数据结构基础.pptxVIP

  • 3
  • 0
  • 约6.58千字
  • 约 54页
  • 2023-01-28 发布于四川
  • 举报

大学计算机基础-算法与数据结构基础.pptx

算法与数据结构基础第一页,共五十四页。算法算法是解题方案的准确而完整的描述。具有可行性,确定性,有穷性,有足够的情报输入与输出。算法要素:数据的运算和操作+控制结构;运算与操作:算术,逻辑,关系,数据传输(赋值,输入,输出等);控制结构:顺序,选择,循环;第二页,共五十四页。算法的常见描述方法: 自然语言方式伪代码方式 程序流程图方式N/S盒图方式第三页,共五十四页。算法描述-伪代码介于自然语言和程序语言之间的一种描述方法,与具体编程语言无关。Keep track of current number of resources in use If another resource is available Allocate a dialog box structure If a dialog box structure could be allocated Note that one more resource is in use Initialize the resource Store the resource number at the location provided by the caller Endif Endif Return TRUE if a new resource was created; else return FALSE第四页,共五十四页。端点符处

文档评论(0)

1亿VIP精品文档

相关文档