


























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Introduction to Models, Turing Model of a Computer, Von Neumann Model, Three Components of a Computer, Computer Hardware, Social and Ethical Issues, Use of Computers, History of Computers, Alan Turing, Turing Machine are the important points of lecture slides of Introduction to Computer Science.
Typology: Slides
1 / 34
This page cannot be seen from the preview
Don't miss anything!
1.
1.
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.
List topics related to computer hardware.
List topics related to data.
List topics related to software.
Discuss some social and ethical issues related to the use of computers.
Give a short history of computers.
After studying this chapter, the student should be able to:
1.
Before discussing the Turing model, let us define a computer as a data processor. Using this definition, a computer acts as a black box that accepts input data, processes the data, and creates output data (Figure 1.1). Although this model can define the functionality of a computer today, it is too general. In this model, a pocket calculator is also a computer (which it is, in a literal sense).
Figure 1.1 A single purpose computing machine
1.
The Turing model is a better model for a general-purpose computer. This model adds an extra element to the specific computing machine: the program. A program is a set of instructions that tells the computer what to do with data. Figure 1.2 shows the Turing model.
Figure 1.2 A computer based on the Turing model
1.
A universal Turing machine , a machine that can do any computation if the appropriate program is provided, was the first description of a modern computer. 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—the description of how to do the computation—to either machine. In fact, a universal Turing machine is capable of computing anything that is computable.
1.
Computers built on the von Neumann model divide the computer hardware into four subsystems: memory , arithmetic logic unit , control unit , and input/output (Figure 1.5).
Figure 1.5 The von Neumann model
1.
The von Neumann model states that the program must be stored in memory. This is totally different from the architecture of early computers in which only the data was stored in memory: the programs for their task was implemented by manipulating a set of switches or by changing the wiring system.
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, because they are stored in memory. In fact, they are stored as binary patterns in memory— a sequence of 0s and 1s.
1.
We can think of a computer as being made up of three components: computer hardware , data , and computer software.
1.
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. We discuss computer hardware in more detail in Chapter 5.
The von Neumann model clearly defines a computer as a data processing machine that accepts the input data, processes it, and outputs the result.
1.
Figure 1.6 Program and data in memory
1.
Figure 1.7 A program made of instructions
1.
During this period, several computing machines were invented that bear little resemblance to the modern concept of a computer.
In the 17th century, Blaise Pascal, a French mathematician and philosopher, invented Pascaline.
In the late 17th century, a German mathematician called Gottfried
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.
1.
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 , working at the US Census Bureau, designed and built a programmer machine that could automatically read, tally, and sort data stored on punched cards.