About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.

Slides:



Advertisements
Similar presentations
Computer Skills Preparatory Year Presented by: L. Obead Alhadreti.
Advertisements

Introduction to Computers 2010 Class: ________________ Name: ________________.
1 CS1000 Introduction to Computer Science Instructor Soufiane Noureddine Lectures Tu/Th: 12:15-13:30 (B650) Office Hours Tu/Th: 11:00-12:00 (C520)
Lecture 1 “History and Evolution of Computers” Informatics.
Chapter 1: An Introduction to Computer Science Invitation to Computer Science, Java Version, Third Edition.
Chapter 1: An Introduction to Computer Science Invitation to Computer Science, Java Version, Third Edition.
Chapter 1: An Introduction to Computer Science Invitation to Computer Science, C++ Version, Third Edition.
What is an algorithm? Informally: An Algorithm is a step by step method for solving a problem. It’s purpose is to break a larger task down so that each.
Chapter Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing Describe.
Chapter 01 Introduction Chapter 0 Introduction. Chapter 02 History of Computing - Early Computers Abacus (ancient orient, still in use) Slide rule (17C,
CMPUT101 Introduction to Computing(c) Yngvi Bjornsson1 An Introduction to Computer Science Chapter 1 Topics: The Definition of Computer Science Algorithms.
Chapter 2 The Algorithmic Foundations of Computer Science
Chapter 1: An Introduction to Computer Science
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
CS 104 Introduction to Computer Science and Graphics Problems History of Computer 09/05/2008 Yang Song (Prepared by Yang Song and Suresh Solaimuthu)
Chapter 1: An Introduction to Computer Science Invitation to Computer Science, C++ Version, Fourth Edition --slides rearranged by Shannon Steinfadt for.
Chapter 1: An Introduction to Computer Science Invitation to Computer Science, C++ Version, Third Edition Several Slides added to by Shannon Steinfadt,
1 Chapter 1 The Big Picture. 2 2 Computing systems are dynamic entities used to solve problems and interact with their environment. They consist of devices,
Some of these slides are based on material from the ACM Computing Curricula 2005.
1 Introduction Foundations of Computer Science ã Cengage Learning 1.#
Prepared by: Jasper Francisco. The Early Years 1  In the early years, before the computer was invented, there were several inventions of counting machine.
Evolution of Computers
Chapter 1 An Introduction to Computer Science
Chapter 1 An Introduction to Computer Science
Chapter 1 The Big Picture Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing.
Chapter 1: An Introduction to Computer Science Invitation to Computer Science, Java Version, Third Edition.
Chapter 01 Nell Dale & John Lewis.
CSCI-100 Introduction to Computing Algorithms Part I.
CREATION OF THE COMPUTER & THE GRAND IDEAS OF COMPUTER SCIENCE
Wilhelm Schickhard (1623) Astronomer and mathematician Automatically add, subtract, multiply, and divide Blaise Pascal (1642) Mathematician Mass produced.
The History of Computers
The History of Computers. People have almost always looked for tools to aid in calculation. The human hand was probably the first tool used to help people.
CS 1410 Intro to Computer Tecnology Computers and History1.

 the gradual transformation or development of certain specie to a new form.
Chapter I: Introduction to Computer Science. Computer: is a machine that accepts input data, processes the data and creates output data. This is a specific-purpose.
Chapter 0 Introduction Yonsei University 1 st Semester, 2012 Sanghyun Park.
Chapter 1 The Big Picture.
1.1 The Computer Revolution. Computer Revolution Early calculating machines Mechanical devices used to add and subtract By Babylonian (Iraq) 5000 years.
©Brooks/Cole, 2003 Foundations of Computer Science from Data Manipulation to Theory of Computation Behrouz A. Forouzan, Brooks/Cole — Thomson Learning,
Microprocessor Fundamentals Week 1 Mount Druitt College of TAFE Dept. Electrical Engineering 2008.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
CMSC 120: Visualizing Information 1/29/08 Introduction to Computing.
Computer Science What is Computer Science? Algorithm Design and Analysis Organization and Architecture Artificial Intelligence Databases Operating Systems.
1.1 1 Introduction Foundations of Computer Science  Cengage Learning.
1 Invitation to Computer Science 6 th Edition Chapter 1 An Introduction to Computer Science.
Chapter 1 Introduction. Understand the concept of a black box, a data processor, and a programmable data processor. Define the von Neumann model and name.
CPIT 201 Introduction to Computing
Chapter 1 Introduction.

CSCI-100 Introduction to Computing
History of Computer Wyatt Feiling Did you know... The first idea for a computer was in the early 1800s Charles Babbage is the man who is credited with.
LECTURE#2 INTRODUCTION TO COMPUTERS, HISTORY AND APPLICATIONS INSTRUCTOR: M. MATEEN YAQOOB.
Why build a computer? u Computers were developed to mechanize mathematical computations. u Two definitions:  A computer is “a programmable electronic.
CS 101 INTRODUCTION TO COMPUTING * image from The Central Eglinton Community Centre website.
مقدمة في البرمجة CS 201 Huda aljaloud. Chapter1 Introduction.
Introduction to Information Technology, D3 FMIPA UGM Chapter 1 Brief History of Computer Technology 1.
Computer A Computer may be defined as an electronic device that operates upon data. So, a computer can store, process and retrieve data as and when desired.
CHAPTER 1 INTRODUCTION.  Data Processor: ◦ The basic definition of a computer is as a data processor. ◦ A black box that: 1.Accepts input data, 2.Processes.
History of computer science
Chapter 1 Introduction.
Chapter 1 The Big Picture
No one think of modern life without computers.
Chapter 1 Introduction.
Lecture 2 Introduction to Computer Science (continued)
INTRODUCTION Term “Computer” Computer definition Data Information
HISTROY CLASS EVOLUTION..
Chapter 0 Introduction Introduction Chapter 0.
Presentation transcript:

About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning of each presentation. You may customize the presentations to fit your class needs. Some figures from the chapters are included. A complete set of images from the book can be found on the Instructor Resources disc.

2 Invitation to Computer Science 6 th Edition Chapter 1 An Introduction to Computer Science

Invitation to Computer Science, 6th Edition Objectives In this chapter, you will learn about: The definition of computer science Algorithms A brief history of computing Organization of the text 3

Invitation to Computer Science, 6th Edition Introduction Chemistry : deals with the structure and composition of matter. Biology : the study of living organisms Computer Science: definition? 4

Invitation to Computer Science, 6th Edition Introduction Misconceptions –Computer science is: The study of computers The study of how to write computer programs The study of the uses and applications of computers and software 5

Invitation to Computer Science, 6th Edition The Definition of Computer Science Computer science is the study of algorithms, including: –Their formal and mathematical properties –Their hardware realizations –Their linguistic realizations –Their applications 6

Invitation to Computer Science, 6th Edition The Definition of Computer Science (continued) Computer scientist designs and develops algorithms to solve problems Operations involved in designing algorithms –Formal and mathematical properties Studying the behavior of algorithms to determine whether they are correct and efficient –Hardware realizations Designing and building computer systems that are able to execute algorithms 7

Invitation to Computer Science, 6th Edition The Definition of Computer Science (continued) –Linguistic realizations Designing programming languages and translating algorithms into these languages –Applications Identifying important problems and designing correct and efficient software packages to solve these problems 8

Invitation to Computer Science, 6th Edition The Definition of Computer Science (continued) Algorithm –Dictionary definition Procedure for solving a mathematical problem in a finite number of steps that frequently involves repetition of an operation A step-by-step method for accomplishing a task –Informal description An ordered sequence of instructions that is guaranteed to solve a specific problem 9

Invitation to Computer Science, 6th Edition The Definition of Computer Science (continued) An algorithm is a list that looks like –STEP 1: Do something. –STEP 2: Do something. –STEP 3: Do something. –.. –STEP N: Stop. You are finished. 10

Invitation to Computer Science, 6th Edition The Definition of Computer Science (continued) Operations used to construct algorithms –Sequential operations –Conditional operations –Iterative operations 11

Invitation to Computer Science, 6th Edition The Definition of Computer Science (continued) –Sequential operations Carry out a single well-defined task; when that task is finished, the algorithm moves on to the next operation Examples: –Add 1 cup of butter to the mixture in the bowl –Subtract the amount of the check from the current account balance –Set the value of x to 1 12

Invitation to Computer Science, 6th Edition The Definition of Computer Science (continued) –Conditional operations Ask a question and then select the next operation to be executed on the basis of the answer to that question Examples –If the mixture is too dry, then add one-half cup of water to the bowl 13

Invitation to Computer Science, 6th Edition The Definition of Computer Science (continued) Conditional operations examples (continued): –If the amount of the check is less than or equal to the current account balance, then cash the check; otherwise, tell the person that the account is overdrawn –If x is not equal to 0, then set y equal to 1/x; otherwise, print an error message that says we cannot divide by 0 14

Invitation to Computer Science, 6th Edition The Definition of Computer Science (continued) –Iterative operations Tell us to go back and repeat the execution of a previous block of instructions Examples –Repeat the previous two operations until the mixture has thickened –While there are still more checks to be processed, do the following five steps –Repeat steps 1, 2, and 3 until the value of y is equal to 11 15

Invitation to Computer Science, 6th Edition The Definition of Computer Science (continued) If we can specify an algorithm to solve a problem, we can automate its solution Computing agent –The machine, robot, person, or thing carrying out the steps of the algorithm –Does not need to understand the concepts or ideas underlying the solution 16

Invitation to Computer Science, 6th Edition Figure 1.1 Programming Your DVR. An Example of an Algorithm 17

Invitation to Computer Science, 6th Edition Figure 1.2 Algorithm for Adding Two m-digit Numbers 18

Invitation to Computer Science, 6th Edition The Definition of Computer Science (continued) Why are formal algorithms so important in computer science? –If we can specify an algorithm to solve a problem, then we can automate its solution Computing agent –Machine, robot, person, or thing carrying out the steps of the algorithm 19

Invitation to Computer Science, 6th Edition Algorithms Algorithm –Well-ordered collection of unambiguous and effectively computable operations that, when executed, produces a result and halts in a finite amount of time Ambiguous statements –Go back and do it again (Do what again?) –Start over (From where?) 20

Invitation to Computer Science, 6th Edition Algorithms (continued) Unambiguous operation –Can be understood and carried out directly by the computing agent without further simplification or explanation –Also called primitive operation It is not enough for an operation to be understandable –It must also be doable (effectively computable) by the computing agent 21

Invitation to Computer Science, 6th Edition Algorithms (continued) Algorithm –Result must be produced after the execution of a finite number of operations Infinite loop –Runs forever 22

Invitation to Computer Science, 6th Edition Figure 1.3a A Correct Solution to the Shampooing Problem 23

Invitation to Computer Science, 6th Edition Figure 1.3b Another Correct Solution to the Shampooing Problem 24

Invitation to Computer Science, 6th Edition The Importance of Algorithmic Problem Solving “Computer revolution” of the twentieth and twenty- first centuries –Has enabled us to implement algorithms that mechanize and automate the drudgery of repetitive mental tasks 25

Invitation to Computer Science, 6th Edition A Brief History of Computing The Early Period: Up to 1940 –John Napier invented logarithms as a way to simplify difficult mathematical computations –The first slide rule appeared around 1622 –Blaise Pascal designed and built one of the first mechanical calculators (named the Pascaline) –Gottfried Leibnitz constructed a mechanical calculator called Leibnitz’s Wheel 26

Invitation to Computer Science, 6th Edition Figure 1.4 The Pascaline. One of the Earliest Mechanical Calculators 27

Invitation to Computer Science, 6th Edition The Early Period: Up to 1940 Difference Engine –Could do addition, subtraction, multiplication, and division to six significant digits –Could solve polynomial equations and other complex mathematical problems Babbage’s Analytic Engine –Amazingly similar in design to a modern computer 28

Invitation to Computer Science, 6th Edition The Early Period: Up to 1940 (continued) Herman Hollerith –Designed and built programmable card-processing machines that could automatically read, tally, and sort data entered on punched cards –Founded the Computer Tabulating Recording Company –In 1924, Hollerith’s tabulating machine company changed its name to IBM 29

Invitation to Computer Science, 6th Edition The Birth of Computers: 1940–1950 Mark I –General-purpose, electromechanical programmable computer that used a mix of relays, magnets, and gears to process and store data ENIAC (Electronic Numerical Integrator and Calculator) –Completed in 1946 –First fully electronic general-purpose programmable computer 30

Invitation to Computer Science, 6th Edition31 Figure 1.7 Photograph of the ENIAC Computer

Invitation to Computer Science, 6th Edition The Birth of Computers: 1940–1950 (continued) John Von Neumann –Proposed a radically different computer design based on a model called the stored program computer –Research group at the University of Pennsylvania built one of the first stored program computers, called EDVAC, in

Invitation to Computer Science, 6th Edition The Modern Era: 1950 to the Present First generation of computing ( ) –Vacuum tubes used to store data and programs –Each computer was multiple rooms in size –Computers were not very reliable 33

Invitation to Computer Science, 6th Edition The Modern Era: 1950 to the Present (continued) Second generation of computing ( ) –Transistors and magnetic cores replaced vacuum tubes –Dramatic reduction in size Computer could fit into a single room –Increase in reliability of computers –Reduced cost of computers –High-level programming languages The programmer occupation was born 34

Invitation to Computer Science, 6th Edition The Modern Era: 1950 to the Present (continued) Third generation of computing ( ) –Integrated circuits rather than individual electronic components were used –Further reduction in size and cost of computers Computers became desk-sized First minicomputer developed –Software industry formed 35

Invitation to Computer Science, 6th Edition The Modern Era: 1950 to the Present (continued) Fourth generation of computing ( ) –Reduced to the size of a typewriter –First microcomputer developed –Desktop and personal computers common –Appearance of Computer networks Electronic mail User-friendly systems (graphical user interfaces) Embedded systems 36

Invitation to Computer Science, 6th Edition The Modern Era: 1950 to the Present (continued) Fifth generation of computing (1985-?) –Recent developments Massively parallel processors Handheld devices and other types of personal digital assistants (PDAs) High-resolution graphics Powerful multimedia user interfaces incorporating sound, voice recognition, touch, photography, video, and television 37

Invitation to Computer Science, 6th Edition Figure 1.8 Some of the Major Advancements in Computing 38

Invitation to Computer Science, 6th Edition Organization of the Text This book is divided into six separate sections called levels Each level addresses one aspect of the definition of computer science Computer science/algorithms 39

Invitation to Computer Science, 6th Edition Organization of the Text(continued) Level 1: The Algorithmic Foundations of Computer Science –Chapters 1, 2, 3 Level 2: The Hardware World –Chapters 4, 5 Level 3: The Virtual Machine –Chapters 6, 7 40

Invitation to Computer Science, 6th Edition Organization of the Text(continued) Level 4: The Software World –Chapters 8, 9, 10, 11 Level 5: Applications –Chapters 12, 13, 14 Level 6: Social Issues –Chapter 15 41

Invitation to Computer Science, 6th Edition Organization of the Text 42 Figure 1.9 Organization of the Text into a Six-Layer Hierarchy

Invitation to Computer Science, 6th Edition Summary Computer science is the study of algorithms An algorithm is a well-ordered collection of unambiguous and effectively computable operations that, when executed, produces a result and halts in a finite amount of time If we can specify an algorithm to solve a problem, then we can automate its solution Computers developed from mechanical calculating devices to modern electronic marvels of miniaturization 43