Sie sind auf Seite 1von 60

Introduction to Computers

History of Computers - 19th Century

first stored program metal cards first computer manufacturing still in use today!

Charles Babbage - 1792-1871

Difference Engine c.1822

huge calculator, never finished could store numbers calculating mill used punched metal cards for instructions powered by steam! accurate to six decimal places
MIT School of Telecom Management 3

Analytical Engine 1833


Computer Size
ENIAC then
ENIAC today

With computers (small) size does matter!


MIT School of Telecom Management 4

Discussion Question

What was the biggest advance that led to modern computers?

Electricity Transistor Microchip Data storage

MIT School of Telecom Management

Generations of Electronic Computers


First Generation Technology Vacuum Tubes Second Gen. Transistors Third Gen. Integrated Circuits (multiple transistors) Smaller Fourth Gen. Microchips (millions of transistors) Tiny - Palm Pilot is as powerful as old building sized computer

Size

Filled Whole Filled half a Buildings room

MIT School of Telecom Management

Whats next for computers?

Use your imagination to come up with what the next century holds for computers.

What can we expect in two years? What can we expect in twenty years?

MIT School of Telecom Management

Algorithms

What is an algorithm? A step-by-step problem-solving procedure, especially an established, recursive computational procedure for solving a problem in a finite number of steps Weve seen lots of algorithms before
MIT School of Telecom Management 8

Example algorithm: map directions

MIT School of Telecom Management

Computer Organization
Memory

Input Devices

Output Devices

Central Processing Unit

MIT School of Telecom Management

10

A bit of humor: Computer Organization

MIT School of Telecom Management

11

Computing units of measure

A bit is either a 1 or a 0

On or off, true or false, etc.

A byte is 8 bits:

01001010
As there are 8 bits per byte, each byte can hold 28=256 values

01001010 = 74

All computing measurements are in terms of bytes


MIT School of Telecom Management 12

Computing units of measure

An unformatted text document (such as a Java program)

3 pages per kilobyte (1,000 bytes)


About 5k per page with formatting

A formatted document (such as a Word file)

A digital camera picture

About 1 Mb each (1,000,000 bytes)


5 Mb for a 5 minute song 50 Mb for a 5 minute song 10 times the size of an MP3!

An MP3 music file

A music file on a CD

A movie clip
About 10 Mb per minute of (TV-sized) video
13

MIT School of Telecom Management

Software Concepts

MIT School of Telecom Management

14

Software Concepts

A program is a set of instructions that tells the computer what to do. Software can be a single program or a group of programs needed to perform several functions. Simple programs may have a few hundred instructions (lines of code) though most have many more (several million).
15

MIT School of Telecom Management

Application Software

MIT School of Telecom Management

16

Individual Application Software


Word processing Spreadsheet Graphics Database Browser

MIT School of Telecom Management

17

Workgroup Application Software


Groupware E-Mail software Information sharing software Electronic conferencing software

MIT School of Telecom Management

18

Other Application Software

Organizational application software

Generally organization specific Electronic Data Interchange (EDI) Generally common to the participating organizations

Interorganizational application software


MIT School of Telecom Management

19

System Software

MIT School of Telecom Management

20

Operating System Concepts

An operating system is a group of programs that manages the operation of the computer. Three functions of an operating system

Process management Resource management Data management


21

MIT School of Telecom Management

Operating System Concepts (contd.)

Organization of an operating system

Most operating system programs are stored in secondary storage. One operating system program is stored in a section of primary storage. It goes by various names kernel but generically called the supervisor. The supervisor controls all activity in primary storage.
22

MIT School of Telecom Management

Using an Operating System

Starting the computer is called booting which transfers the supervisor from secondary storage to primary storage. Connecting to a network or other multiuser environment is called logging in. Detaching from a network is called logging out.
23

MIT School of Telecom Management

Elements of an Operating System

User interface is the visual link between the user and the software. Small pictures on the screen are icons. Graphical User Interface (GUI) uses

Buttons Icons Menus Dialog boxes


24

MIT School of Telecom Management

Capabilities of Operating Systems

Multitasking is appearing to execute more than one program at a time, though the CPU can execute instructions from only one program at a time.

MIT School of Telecom Management

25

Capabilities of Operating Systems (contd.)

Multi-user or Multiple-user programs permit more than one person to use the program, and data, at a time. One technique that is used with multiple-user operating systems is time sharing. With this technique, the users are each allocated a small amount of time by the operating system.
26

MIT School of Telecom Management

Capabilities of Operating Systems (contd.)

Two types of operating systems

Batch operating systems where the first program is executed and all data processed before moving to the second program. Interactive operating systems allow user interaction as the program executes. Most personal computer operating systems permit user interaction.
27

MIT School of Telecom Management

Capabilities of Operating Systems (contd.)

Virtual memory is supplemental primary storage (RAM) or real memory where the programs are too big for primary storage. It is created on a secondary storage device, usually the hard drive, and is generally temporary in nature.

MIT School of Telecom Management

28

Capabilities of Operating Systems (contd.)

Virtual memory operating systems execute large programs by dividing the program into parts and transferring the necessary parts of the program from secondary storage to primary storage as needed. The transfer process does not require any action by the user.
29

MIT School of Telecom Management

Personal Computer Common Operating Systems


Microsoft Windows Microsoft DOS (and others) IBM OS/2 Apple Mac OS UNIX Linux

MIT School of Telecom Management

30

Multi-User Computer Common Operating Systems


IBM OS/390 Hewlett Packard MPE (MultiProgramming Executive) UNIX Network Operating Systems

Novell Netware Windows 2000 Server


31

MIT School of Telecom Management

Other System Software

Utility programs

Sort utility rearranges data in a specified order Merge utility merges two files into one Print utility prints the contents of a file Copy utility copies data from one device to another

MIT School of Telecom Management

32

Other System Software (contd.)

Communications software used for communications between computers. Database management systems used for managing databases. Software development software software used to develop software.

MIT School of Telecom Management

33

Software Development

MIT School of Telecom Management

34

Programming Language Concepts


What is a programming language? Why are there so many programming languages? How do you select a programming language? What are the types of programming languages?
35

MIT School of Telecom Management

What is a Programming Language

English is a natural language. It has words, symbols and grammatical rules. A programming language also has words, symbols and rules of grammar. The grammatical rules are called syntax. Each programming language has a different set of syntax rules.
36

MIT School of Telecom Management

Why Are There So Many Programming Languages

Programming languages have evolved over time as better ways have been developed to design them. Different programming languages are designed for different types of programs. First programs were developed in the 1950s.
37

MIT School of Telecom Management

How Do You Select a Programming Language

Is it designed for the type of program that needs to be written? Is it available on the computer being used? Are trained programmers available? Is it easy to write programs in the language? Is the language efficient when the program is executed?
MIT School of Telecom Management 38

What Are the Types of Programming Languages


First Generation Languages Second Generation Languages Third Generation Languages Fourth Generation Languages Fifth Generation Languages

MIT School of Telecom Management

39

First Generation Languages

Machine language

Operation code such as addition or subtraction. Operands that identify the data to be processed. Machine language is machine dependent as it is the only language the computer can understand. Very efficient code but very difficult to write.
40

MIT School of Telecom Management

Second Generation Languages

Assembly languages

Symbolic operation codes replaced binary operation codes. Assembly language programs needed to be assembled for execution by the computer. Each assembly language instruction is translated into one machine language instruction. Very efficient code and easier to write.
41

MIT School of Telecom Management

Third Generation Languages

Closer to English but included simple mathematical notation.

Programs written in source code which must be translated into machine language programs called object code. The translation of source code to object code is accomplished by a machine language system program called a compiler.
42

MIT School of Telecom Management

Third Generation Languages (contd.)

Alternative to compilation is interpretation which is accomplished by a system program called an interpreter. Common third generation languages

FORTRAN COBOL C and C++ Visual Basic


43

MIT School of Telecom Management

Fourth Generation Languages

A high level language (4GL) that requires fewer instructions to accomplish than a third generation language. Used with databases

Query languages Report generators Forms designers Application generators

MIT School of Telecom Management

44

Fifth Generation Languages

Though no clear definition at present, natural language programs generally can be interpreted and executed by the computer with no other action by the user than stating their question. Limited capabilities at present.

MIT School of Telecom Management

45

Programming Languages

Two broad groups

Traditional programming languages


Sequences of instructions First, second and some third generation languages Objects are created rather than sequences of instructions Some third generation, and fourth and fifth generation languages
46

Object-oriented languages

MIT School of Telecom Management

Traditional Programming Languages

FORTRAN

FORmula TRANslation. Developed at IBM in the mid-1950s. Designed for scientific and mathematical applications by scientists and engineers.

MIT School of Telecom Management

47

Traditional Programming Languages (contd.)

COBOL

COmmon Business Oriented Language. Developed in 1959. Designed to be common to many different computers. Typically used for business applications.

MIT School of Telecom Management

48

Traditional Programming Languages (contd.)

BASIC

Beginners All-purpose Symbolic Instruction Code. Developed at Dartmouth College in mid 1960s. Developed as a simple language for students to write programs with which they could interact through terminals.
49

MIT School of Telecom Management

Traditional Programming Languages (contd.)

Developed by Bell Laboratories in the early 1970s. Provides control and efficiency of assembly language while having third generation language features. Often used for system programs. UNIX is written in C.
50

MIT School of Telecom Management

Object-Oriented Programming Languages

Smalltalk

First object-oriented language. Developed by Xerox in mid-1970s. Still in use on some computers.

MIT School of Telecom Management

51

Object-Oriented Programming Languages (contd.)

C++

It is C language with additional features. Widely used for developing system and application software. Graphical user interfaces can be developed easily with visual programming tools.

MIT School of Telecom Management

52

Special Programming Languages

HTML

HyperText Markup Language. Used on the Internet and the World Wide Web (WWW). Web page developer puts brief codes called tags in the page to indicate how the page should be formatted.

MIT School of Telecom Management

53

Special Programming Languages (contd.)

XML

Extensible Markup Language. A language for defining other languages.

MIT School of Telecom Management

54

Special Programming Languages (contd.)

JAVA

An object-oriented language similar to C++ that allows a web page developer to create programs for applications, called applets that can be used through a browser. Objective of JAVA developers is that it be machine, platform and operating system independent.
55

MIT School of Telecom Management

Translation

Translator

Accepts a program written in a source language and translates it to a program in a target language Standard name for a translator whose source language is a high-level language
A translator that both translates and executes a source program
56

Compiler

Interpreter

MIT School of Telecom Management

Software Concepts
Key Terms

MIT School of Telecom Management

57

Key Terms

Assembler Assembly Language BASIC Booting Browser Button C C++ COBOL

Command Compiler Database Software Dialog Box Electronic Conferencing Software Electronic Messaging Software FORTRAN
58

MIT School of Telecom Management

Key Terms (contd.)


Fourth-Generation Language (4GL) Graphical User Interface (GUI) Graphics Software Groupware HTML Icon

Information Sharing Software Interpreter Java Menu Multitasking Network Operating System (NOS) Object
59

MIT School of Telecom Management

Key Terms (contd.)


Object-Oriented Programming Operating Environment Page Programmer Programming Programming Language Prompt Spreadsheet Software

Time-Sharing User Interface Utility Program Virtual Memory Window Word Processing Software XML

MIT School of Telecom Management

60

Das könnte Ihnen auch gefallen