下载此文档

《计算机科学导论》课件Unit 8Algorithms.ppt


文档分类:IT计算机 | 页数:约66页 举报非法文档有奖
1/66
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/66 下载此文档
文档列表 文档介绍
?计算机科学导论?课件Unit 8Algorithms
*
8-1 What Is Algorithm?
8-2 Three Constructs
8-3 How to Evaluate Algorithms
8-4 Algorithm Representation
8-5 Basic Algorithms
8-6 Classification of Algorithm
8-7 References and Recommended Reading
8-8 Key terms
8-9 Summary
8-10 Practice Set
OUTLINE
*
Define an algorithm and relate it to problem solving.
Define three construct and describe their use in algorithms.
Describe UML diagrams and pseudocode and how they are used in algorithms.
After reading this chapter, you are supposed to be able to :
OBJECTIVES
Understand how to evaluate algorithms.
Describe the concept of sorting and understand the mechanisms behind seven primitive sorting algorithms.
Describe the concept of searching and understand the mechanisms behind two common searching algorithms.
Understand the implementation of algorithms by different basic principles.
*
Problem solving
Definition of Algorithm
8-1 What Is Algorithm?
*
Problem Solving
If your friend can't use E-mail, how will you teach him?
Question
The general steps for using a mailbox are as following:
step 1: open the e-mail ;
step 2: click “write letters〞;
step 3: enter the recipient e-mail address;
step 4: enter the subject line;
step 5: enter the text of the message;
step 6: click “send〞.
*
Problem Solving
Problem solving【问题求解】 is to find a solution for a complicated, distressing, vexing, or unsettled question.
In computer science, we call the plan of solution an algorithm【算法】.
Figure An algorithm used in a computer
*
Definition of Algorithm
An algorithm is a series of clear instructions to solve the problem, that is, you can get the required output【要求的输出】 in a limited time for a normative input【标准的输入】.
an algorithm used in a computer
*
Definition of Algorithm
Algorithms have five basic characteristics:
Input【输入】: An algorithm must have zero or multiple input that inscribes the initial condition of the operands.
Output【输出】:

《计算机科学导论》课件Unit 8Algorithms 来自淘豆网m.daumloan.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数66
  • 收藏数0 收藏
  • 顶次数0
  • 上传人na2021
  • 文件大小527 KB
  • 时间2021-09-09
最近更新