مقدمة في البرمجة CS 201 Huda aljaloud. Chapter1 Introduction.

Slides:



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

Introduction to Computers 2010 Class: ________________ Name: ________________.
Chapter 1: An Introduction to Computer Science Invitation to Computer Science, Java Version, Third Edition.
History of Computing -- Soujanya. Contents Definition Abacus(600 B.C) Cardboard Calculator First Calculator Difference Engine(1822) Well-Known Early Computers.
CSCI-235 Micro-Computers in Science Course Information & Introduction.
Chapter Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing Describe.
Chapter 1 The Big Picture Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing.
Computer History Presented by Frank H. Osborne, Ph. D. © 2005 Bio 2900 Computer Applications in Biology.
Chapter 1: An Introduction to Computer Science
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
Chapter 1: An Introduction to Computer Science Invitation to Computer Science, C++ Version, Fourth Edition --slides rearranged by Shannon Steinfadt for.
Chapter 1 The Big Picture Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing.
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,
1 Introduction Foundations of Computer Science ã Cengage Learning 1.#
Chapter 1 An Introduction to Computer Science
Chapter 1 An Introduction to Computer Science
Introduction to Computers. Are Computers Important? OF COURSE!
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 The Big Picture Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing.
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 01 Nell Dale & John Lewis.
Studies in Big Data 4 Weng-Long Chang Athanasios V. Vasilakos MolecularComputing Towards a Novel Computing Architecture for Complex Problem Solving.
© Prentice-Hall, Inc Definition  Computer - An electronic device that has the ability to store, retrieve, and process data and can be programmed with.
1.1 1 Introduction Foundations of Computer Science  Cengage Learning.
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 HISTORY OF COMPUTERS Presenter: Miss T. Johnson Grade:8.
Introduction Chapter 1. 1 History of Computers Development of computers began with many early inventions: The abacus helped early societies perform computations.

© Prentice-Hall, Inc Definition  Computer - An electronic device that has the ability to store, retrieve, and process data and can be programmed with.
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 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,
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
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.
History of Computers.
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.

Chapter 1 The Big Picture Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship 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.
Introduction to Computers. Are Computers Important? OF COURSE!
Computer History How did we get here?.
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.
History of Computers March 26, 2012Greer Potadle.
Session One: An Introduction to Computing History of Computers
1 Introduction Foundations of Computer Science  Cengage Learning.
Information Age “An in depth look at the exciting history of the Calculator and Computer”
CS 101 INTRODUCTION TO COMPUTING * image from The Central Eglinton Community Centre website.
Evolution of the Computer. Zeroth Generation- Mechanical 1.Blaise Pascal –Mechanical calculator only perform Von Leibiniz –Mechanical.
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.
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.
Introduction to Computers
Chapter 1 Introduction.
Chapter 1 The Big Picture
Computer Organization and Architecture
History Computers.
Chapter 1 Introduction.
1.#.
INTRODUCTION Term “Computer” Computer definition Data Information
Presentation transcript:

مقدمة في البرمجة CS 201 Huda aljaloud

Chapter1 Introduction

Objectives Define the Turing model of a computer. Define the von Neumann model of a computer. Describe the three components of a computer: hardware, data, and software. Give a short history of computers. Discuss some social and ethical issues related to the use of computers.

TURING MODEL Alan Turing described the idea of a universal computational device in He proposed that all computation could be performed by a special kind of a machine, now called a Turing machine. He based the model on the actions that people perform when involved in computation. He abstracted these actions into a model for a computational machine that has really changed the world.

Data processors A computer acts as a black box that accepts input data, processes the data, and creates output data. This model defines the functionality of a computer Drawbacks: It is too general definition. Represent a specific-purpose computer that is designed to do specific jobs such as controlling the room temperature

Turing model : Programmable data processors The Turing model is a better model for a general-purpose computer. A program is a set of instructions that tells the computer what to do with data. The output data depends on the combination of two factor.

The Same program, different data

The same data, different program

The universal Turing machine A universal Turing machine, a machine that can do any computation if the appropriate program is provided. It can be proved that a very powerful computer and a universal Turing machine can compute the same thing. We need only provide the data and the program to either machine. In fact, a universal Turing machine is capable of computing anything that is computable.

VON NEUMANN MODEL Based on the concept of” since program and data are logically the same, programs should also be stored in the memory of a computer. ” Computers built on the von Neumann model divide the computer hardware into four subsystems.

VON NEUMANN MODEL The memory of modern computers hosts both a program and its corresponding data. This implies that both the data and programs should have the same format, they are stored as binary patterns in memory—a sequence of 0s and 1s. A program in the von Neumann model is made of a finite number of instructions. The control unit fetches one instruction from memory, decodes it, then executes it. The instructions are executed one after another. Sequential execution of a program was the initial requirement of a computer based on the von Neumann model.

COMPUTER COMPONENTS Computer HardwareDataComputer Software

Computer Hardware & Data Computer hardware today has four components under the von Neumann model, although we can have different types of memory, different types of input/output subsystems, and so on. The von Neumann model clearly defines a computer as a data processing machine that accepts the input data, processes it, and outputs the result.

Computer software The main feature of the Turing or von Neumann models is the concept of the program. Although early computers did not store the program in the computer’s memory, they did use the concept of programs. Programming those early computers meant changing the wiring systems or turning a set of switches on or off. Programming was therefore a task done by an operator or engineer before the actual data processing began.

A program made of instructions

HISTORY: 1.Mechanical machines (before 1930) In the 17th century, Blaise Pascal, a French mathematician and philosopher, invented Pascaline, a mechanical calculator for addition and subtraction operation. In the late 17th century, a German mathematician called Gottfried Leibnitz invented what is known as Leibnitz’ Wheel a mechanical calculator for multiplication and division operation. The first machine that used the idea of storage and programming was the Jacquard loom, invented by Joseph-Marie Jacquard at the beginning of the 19 th century.

HISTORY: 1.Mechanical machines (before 1930) In 1823, Charles Babbage invented the Difference Engine. Later, he invented a machine called the Analytical Engine that parallels the idea of modern computers. In 1890, Herman Hollerith designed and built a programmer machine that could automatically read, tally, and sort data stored on punched cards.

HISTORY : 2.The birth of electronic computers (1930–1950) The early computers of this period did not store the program in memory—all were programmed externally. Five computers were prominent during these years: ABC: The first special-purpose computer Z1:General-purpose machine. Mark I:This computer used the both electrical and mechanical components. Colossus: Designed to break the German enigma code. ENIAC: the first general- purpose computer totally electronic.

Computers based on the von Neumann model The first computer based on von Neumann’s ideas was made in 1950 at the University of Pennsylvania and was called EDVAC. At the same time, a similar computer called EDSAC was built by Maurice Wilkes at Cambridge University in England.

HISTORY: 3.Computer generations (1950–present) Computers built after 1950 more or less follow the von Neumann model. They have become faster, smaller, and cheaper, but the principle is almost the same. Historians divide this period into generations, with each generation witnessing some major change in hardware or software (but not in the model). First generation: The first generation (roughly 1950–1959) is characterized by the emergence of commercial computers and used vacuum tubes as electronic switches.

HISTORY: 3.Computer generations (1950–present) Second Generation: Second-generation computers (roughly 1959–1965) used transistors instead of vacuum tubes. This reduced the size and cost. Two high-level programming languages, FORTRAN and COBOL invented and made programming easier. Third Generation: The invention of the integrated circuit reduced the cost and size of computers even further. Minicomputers appeared on the market. Canned programs, popularly known as software packages, became available and the software industry was born. This generation lasted roughly from 1965 to 1975.

Fourth Generation: The fourth generation (approximately 1975–1985) saw the appearance of microcomputers. The first desktop calculator, the Altair 8800, became available in This generation also saw the emergence of computer networks. Fifth Generation: This open-ended generation started in It has witnessed the appearance of laptop and palmtop computers, improvements in secondary storage media (CD-ROM, DVD and so on), the use of multimedia, and the phenomenon of virtual reality. HISTORY: 3.Computer generations (1950–present)

SOCIAL AND ETHICAL ISSUES Computer science has created some peripheral issues, the most prevalent of which can be categorized as social and ethical issues.

Social issues Computers have created some arguments. We introduce some of these arguments here. Dependency: Some people think that computers have created a kind of dependency, which makes people’s lives more difficult. Social justice: The advocates of this issue argue that using computers at home is a luxury benefit that not all people can afford. The cost of a computer, peripheral devices, and a monthly charge for Internet access is an extra burden on low-income people.

Cont. Social issues Digital divide: The concept of digital divide covers both the issues of dependency and social justice discussed above. The concept divides society into two groups: those who are electronically connected to the rest of society and those who are not.

Ethical issues Computers have created some ethical issues. We introduce some of these here. Privacy Computers allow communication between two parties to be done electronically. However, much needs to be done to make this type of communication private. Society is paying a big price for private electronic communication. Network security may create this type of privacy, but it needs effort and costs a lot.

Cont. Ethical issues Copyright Another ethical issue in a computerized society is copyright: who owns data? The Internet has created opportunities to share ideas, but has also brought with it a further ethical issue: electronic copyright. Computer crime Computers and information technology have created new types of crime. Hackers have been able to access many computers in the world and have stolen a lot of money. Virus creators design new viruses to be sent through the Internet and damage the information stored in computers. Although there are many anti-virus programs in use today, society is paying a big price for this type of crime, which did not exist before the computer and Internet era.

COMPUTER SCIENCE AS A DISCIPLINE With the invention of computers, a new discipline has evolved: computer science. Like any other discipline, computer science has now divided into several areas. We can divide these areas into two broad categories: systems areas and applications areas.