• 沒有找到結果。

Chapter 0: Introduction

N/A
N/A
Protected

Academic year: 2022

Share "Chapter 0: Introduction"

Copied!
22
0
0

加載中.... (立即查看全文)

全文

(1)

Chapter 0:

Introduction

Computer Science: An Overview Eleventh Edition

by

J. Glenn Brookshear

(2)

Copyright © 2012 Pearson Education, Inc. 0-2

Chapter 0: Introduction

0.1 The Role of Algorithms

0.2 The Origins of Computing Machines

0.3 The Science of Algorithms

0.4 Abstraction

0.5 An Outline of Our Study

0.6 Social Repercussions

(3)

Terminology

Algorithm: A set of steps that defines how a task is performed

Program: A representation of an algorithm

Programming: The process of developing a program

Software: Programs and algorithms

Hardware: Equipment

(4)

Copyright © 2012 Pearson Education, Inc. 0-4

Figure 0.1 An algorithm for a magic

trick

(5)

History of Algorithms

• The study of algorithms was originally a subject in mathematics.

• Early examples of algorithms

Long division algorithm Euclidean Algorithm

Gö del's Incompleteness Theorem: Some problems cannot be solved by algorithms.

(6)

Copyright © 2012 Pearson Education, Inc. 0-6

Figure 0.2 The Euclidean algorithm

(7)

Origins of Computing Machines

• Early computing devices

Abacus: positions of beads represent numbers Gear-based machines (1600s-1800s)

Positions of gears represent numbers

Blaise Pascal, Wilhelm Leibniz, Charles Babbage

(8)

Copyright © 2012 Pearson Education, Inc. 0-8

Figure 0.3 An Abacus

(9)

Early Data Storage

• Punched cards

First used in Jacquard Loom (1801) to store patterns for weaving cloth

Storage of programs in Babbage’s Analytical Engine

Popular through the 1970’s

• Gear positions

(10)

Copyright © 2012 Pearson Education, Inc. 0-10

Early Computers

Based on mechanical relays

1940: Stibitz at Bell Laboratories

1944: Mark I: Howard Aiken and IBM at Harvard

Based on vacuum tubes

1937-1941: Atanasoff-Berry at Iowa State

1940s: Colossus: secret German code-breaker 1940s: ENIAC: Mauchly & Eckert at U. of Penn.

(11)

Figure 0.4 The Mark I computer

(12)

Copyright © 2012 Pearson Education, Inc. 0-12

Personal Computers

First used by hobbyists

IBM introduced the PC in 1981.

Accepted by business

Became the standard hardware design for most desktop computers

Most PCs use software from Microsoft

(13)

Into the Millennia

Internet revolutionized communications

World Wide Web

Search Engines (Google, Yahoo, and Microsoft)

Miniaturization of computing machines

Embedded (GPS, in automobile engines) Smartphone

(14)

Copyright © 2012 Pearson Education, Inc. 0-14

Computer Science

• The science of algorithms

• Draws from other subjects, including

Mathematics Engineering Psychology

Business Administration Psychology

(15)

Central Questions of Computer Science

• Which problems can be solved by algorithmic processes?

• How can algorithm discovery be made easier?

• How can techniques of representing and communicating algorithms be improved?

• How can characteristics of different

algorithms be analyzed and compared?

(16)

Copyright © 2012 Pearson Education, Inc. 0-16

Central Questions of Computer Science

(continued)

• How can algorithms be used to manipulate information?

• How can algorithms be applied to produce intelligent behavior?

• How does the application of algorithms affect society?

(17)

Figure 0.5 The central role of

algorithms in computer science

(18)

Copyright © 2012 Pearson Education, Inc. 0-18

Abstraction

Abstraction: The distinction between the external properties of an entity and the

details of the entity’s internal composition

Abstract tool: A “component” that can be used without concern for the component’s internal properties

(19)

Outline of Our Study

• Chapter 1: Data Storage

• Chapter 2: Data Manipulation

• Chapter 3: Operating Systems

• Chapter 4: Networks and the Internet

• Chapter 5: Algorithms

• Chapter 6: Programming Languages

(20)

Copyright © 2012 Pearson Education, Inc. 0-20

Outline of Our Study

(continued)

• Chapter 7: Software Engineering

• Chapter 8: Data Abstractions

• Chapter 9: Database Systems

• Chapter 10: Computer Graphics

• Chapter 11: Artificial Intelligence

• Chapter 12: Theory of Computation

(21)

Social Repercussions

• Advances in computer science raise new questions.

In law: Questions of rights and liabilities In government: Questions of regulation In the work place: Questions of

professionalism

In society: Questions of social behavior

(22)

Copyright © 2012 Pearson Education, Inc. 0-22

Ethical Theories

Consequence based:

What leads to the greatest benefit?

Duty based:

What are my intrinsic obligations?

Contract based:

What contracts must I honor?

Character based:

Who do I want to be?

參考文獻

相關文件

Department of Computer Science and Information

Department of Computer Science and Information

Recycling Techniques are Available to Address Specific Pavement Distress and/or Pavement Structural Requirement.. Introduction to Asphalt Introduction

which can be used (i) to test specific assumptions about the distribution of speed and accuracy in a population of test takers and (ii) to iteratively build a structural

Introduction to the following free CPS Apps/Platforms and illustration will be given to how to adopt them in carrying out classroom activities and collaborative learning.

Programming languages can be used to create programs that control the behavior of a. machine and/or to express algorithms precisely.” -

Show that the requirement in the definition of uniform continuity can be rephrased as follows, in terms of diameters of sets: To every  > 0 there exists a δ > 0 such that

To explore different e-learning resources and strategies that can be used to successfully develop the language skills of students with special educational needs in the