Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Introduction to Models - Introduction to Computer Science - Lecture Slides, Slides of Computer Science

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

2012/2013

Uploaded on 01/02/2013

shantii
shantii 🇮🇳

4.4

(14)

98 documents

1 / 34

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1.1
Introduction
to Models
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22

Partial preview of the text

Download Introduction to Models - Introduction to Computer Science - Lecture Slides and more Slides Computer Science in PDF only on Docsity!

1.

Introduction

to Models

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.

Objectives

After studying this chapter, the student should be able to:

1.

Data processors

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.

Programmable data processors

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

  • Figure 1.4 The same data, different programs Docsity.com 1.

1.

The universal Turing machine

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).

Four subsystems

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.

The stored program concept

1.

1-3 COMPUTER COMPONENTS

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.

Computer hardware

The von Neumann model clearly defines a computer as a data processing machine that accepts the input data, processes it, and outputs the result.

Data

1.

Figure 1.6 Program and data in memory

1.

Figure 1.7 A program made of instructions

1.

Mechanical machines (before 1930)

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

Leibnitz invented what is known as Leibnitz’ Wheel.

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.