introduction tointroduction to computers, thecomputers

51
1 1 1 1 1 Introduction to Introduction to Computers, the Computers, the Internet and Visual Basic 2009 Pearson Education, Inc. All rights reserved.

Upload: others

Post on 06-Jan-2022

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction toIntroduction to Computers, theComputers

1

1111Introduction toIntroduction toComputers, theComputers, the

Internet and Visual Basic

2009 Pearson Education, Inc. All rights reserved.

Page 2: Introduction toIntroduction to Computers, theComputers

2

Th hi f it f l i lThe chief merit of language is clearness.– Galen

High thoughts must have high language.– Aristophanesp

Our life is frittered away with detail. . . .Simplify, simplify.

– Henry David Thoreau

2009 Pearson Education, Inc. All rights reserved.

Page 3: Introduction toIntroduction to Computers, theComputers

3

M bj t ll bliMy object all sublimeI shall achieve in time.

– W S Gilbert– W. S. Gilbert

Man is still the most extraordinaryycomputer of all.

– John F. Kennedy

2009 Pearson Education, Inc. All rights reserved.

Page 4: Introduction toIntroduction to Computers, theComputers

4

OBJECTIVESOBJECTIVESIn this chapter you will learn: Basic hardware and software concepts Basic hardware and software concepts. The different types of programming languages. Which programming languages are most widely Which programming languages are most widely

used. The history of the Visual Basic programming The history of the Visual Basic programming

language. Some basics of object technology.j gy

2009 Pearson Education, Inc. All rights reserved.

Page 5: Introduction toIntroduction to Computers, theComputers

5

OBJECTIVESOBJECTIVES The history of the UML—the industry-standard

object-oriented system modeling languageobject oriented system modeling language. The history of the Internet and the

World Wide Web. The motivation behind and an overview of

Microsoft’s .NET initiative, which involves the Internet in developing and using software systems.T t t d i Vi l B i 2008 li ti To test-drive a Visual Basic 2008 application that enables you to draw on the screen.

2009 Pearson Education, Inc. All rights reserved.

Page 6: Introduction toIntroduction to Computers, theComputers

6

1.1 Introduction 1.2 What Is a Computer?1.3 Computer Organization1.4 Early Operating Systems1.5 Personal Computing, Distributed Computing

and Client/Server Computingand Client/Server Computing1.6 Hardware Trends1 7 Microsoft’s Windows® Operating System1.7 Microsoft s Windows® Operating System1.8 Machine Languages, Assembly Languages

and High-Level Languagesg g g1.9 Visual Basic1.10 C, C++, Java and Visual C#

2009 Pearson Education, Inc. All rights reserved.

Page 7: Introduction toIntroduction to Computers, theComputers

7

1.11 Other High-Level Languages1.12 Structured Programming1.13 Key Software Trend: Object Technology1.14 The Internet and the World Wide Web1.15 Extensible Markup Language (XML)1.16 Introduction to Microsoft .NET1.17 The .NET Framework and the Common

Language RuntimeLanguage Runtime1.18 Test-Driving the Visual Basic Advanced

Painter Applicationpp1.19 Software Engineering Case Study: Introduction

to Object Technology and the UML

2009 Pearson Education, Inc. All rights reserved.

Page 8: Introduction toIntroduction to Computers, theComputers

8

1.1 Introduction

• Computer use is increasing in almost every field.• Computing costs have been decreasing due to rapid

developments in both hardware and software technologiestechnologies.

• Silicon chip technology has made computing economical for worldwide personal useeconomical for worldwide personal use.

2009 Pearson Education, Inc. All rights reserved.

Page 9: Introduction toIntroduction to Computers, theComputers

9

1.2 What Is a Computer?

• A computer performs calculations and makes logical decisionsdecisions.

• Computers process data using sets of instructions called computer programscalled computer programs.

– These programs are specified by people known as computer programmers.p g

• A computer consists of various devices referred to as hardware.

• Programs that run on a computer are software.

2009 Pearson Education, Inc. All rights reserved.

Page 10: Introduction toIntroduction to Computers, theComputers

10

1.3 Computer Organization

• The input unit obtains information from input devices such as the keyboard and the mousedevices, such as the keyboard and the mouse.

• The output unit takes information and places it on output devices making the information available tooutput devices, making the information available to the user.

• The memory unit stores data while an application is• The memory unit stores data while an application is running.

– Random-access memory (RAM) is primary memory.Random access memory (RAM) is primary memory. – Primary memory is usually volatile, and is erased when the

machine is powered off.

2009 Pearson Education, Inc. All rights reserved.

Page 11: Introduction toIntroduction to Computers, theComputers

11

1.3 Computer Organization (Cont.)

• The central processing unit (CPU) supervises the operation of the other sectionsoperation of the other sections.

• The arithmetic and logic unit (ALU) performs calculationscalculations.

– It also makes decisions, such as determining whether two items stored in memory are equal.y q

• The secondary storage unit is the long-term storage of the computer in devices such as hard drives and DVD drives.

2009 Pearson Education, Inc. All rights reserved.

Page 12: Introduction toIntroduction to Computers, theComputers

12

1.4 Early Operating Systems

• Computers of the 1950s could perform only onejob or task at a time.job or task at a time.

• Users submitted their jobs on decks of punched cards.• Operating systems make using computers more p g y g p

convenient. Early operating systems increased the throughput computers could process.

• Many jobs or tasks could share the resources of a computer• Many jobs or tasks could share the resources of a computer through multiprogramming—the simultaneous operation of many jobs.

• Timesharing allowed multiple users to access a computer through separate terminals.

The computer runs a small portion of one user’s job

2009 Pearson Education, Inc. All rights reserved.

– The computer runs a small portion of one user s job,then moves on to service the next user.

Page 13: Introduction toIntroduction to Computers, theComputers

13

1.5 Personal Computing, Distributed Computing and Client/Server ComputingComputing and Client/Server Computing

• Silicon chip technology made it possible for computers to be more economicalcomputers to be more economical.

• Apple Computer and IBM introduced rival personal computers IBM introduced businesses to the benefitscomputers. IBM introduced businesses to the benefits of personal computing.

• Computers communicated over telephone lines and p plocal area networks (LANs).

• Distributed computing allowed an organization’s p g gcomputing to be distributed over a network.

• Today, computers called servers offer a common data

2009 Pearson Education, Inc. All rights reserved.

store used by client computers.

Page 14: Introduction toIntroduction to Computers, theComputers

14

1.6 Hardware Trends

• Moore’s Law is the ongoing trend for computers to get more advanced while prices fallget more advanced while prices fall.

• Moore’s Law is especially true in relation to the amount of memory that computers have for programsamount of memory that computers have for programs, the amount of secondary storage they have, and their processor speeds.processor speeds.

• Microprocessor chip technology laid the groundwork for significant improvements in productivity. g p p y

2009 Pearson Education, Inc. All rights reserved.

Page 15: Introduction toIntroduction to Computers, theComputers

15

1.7 Microsoft’s Windows Operating SystemSystem

• In 1981, Microsoft released the first version of its DOS operating systemDOS operating system.

• In the mid-1980s, Microsoft developed the Windows operating system a graphical user interface built onoperating system, a graphical user interface built on top of DOS.

• The Windows operating system became especially• The Windows operating system became especially popular after the 1993 release of Windows 3.1.

• Windows virtually cornered the operating systems• Windows virtually cornered the operating systems market by the late 1990s.

2009 Pearson Education, Inc. All rights reserved.

Page 16: Introduction toIntroduction to Computers, theComputers

16

1.7 Microsoft’s Windows Operating System (Cont.)System (Cont.)

• Windows XP combined Microsoft’s corporate and consumer operating system linesconsumer operating system lines.

• Windows Vista is Microsoft’s latest operating system offeringoffering.

• The biggest competitor to the Windows operating system is Linuxsystem is Linux.

– Linux is a free, open-source operating system.– The source code for Linux is freely available to users, and theyThe source code for Linux is freely available to users, and they

can modify it to fit their needs.

2009 Pearson Education, Inc. All rights reserved.

Page 17: Introduction toIntroduction to Computers, theComputers

17

1.8 Machine Languages, Assembly Languages and High-Level LanguagesLanguages and High Level Languages

• Programmers write instructions in various programming languagesprogramming languages.

• Computer languages can be divided into threegeneral types:general types:

– Machine languages– Assembly languagesAssembly languages– High-level languages

2009 Pearson Education, Inc. All rights reserved.

Page 18: Introduction toIntroduction to Computers, theComputers

18

1.8 Machine Languages, Assembly Languages and High-Level LanguagesLanguages and High Level Languages (Cont.)

A t di tl d t d l it• A computer can directly understand only its own machine language.M hi l ll i t f t f• Machine languages generally consist of streams of numbers (ultimately reduced to binary 1s and 0s).

• Machine language programs are nearly• Machine-language programs are nearly incomprehensible to humans:

+1300042774+1300042774

+1400593419

+1200274027

2009 Pearson Education, Inc. All rights reserved.

Page 19: Introduction toIntroduction to Computers, theComputers

19

1.8 Machine Languages, Assembly Languages and High-Level LanguagesLanguages and High Level Languages (Cont.)

• Machine language programming proved to be slow and• Machine-language programming proved to be slow and error prone.

• English-like abbreviations form the basis of assembly g ylanguages.

• Assemblers convert assembly-language programs to machine languagemachine language.

LOAD BASEPAY

ADD OVERPAY

STORE GROSSPAY

• Computers cannot understand assembly-languaged til it i t l t d i t hi l

2009 Pearson Education, Inc. All rights reserved.

code until it is translated into machine language.

Page 20: Introduction toIntroduction to Computers, theComputers

20

1.8 Machine Languages, Assembly Languages and High-Level LanguagesLanguages and High Level Languages (Cont.)

T d th i hi h l l• To speed up the programming process, high-level languages were developed. Compilers t hi h l l l• Compilers convert high-level-language programsinto machine language.

• High level languages look almost like everyday• High-level languages look almost like everyday English:

grossPay = basePay + overTimePaygrossPay = basePay + overTimePay

• Visual Basic is one of the world’s most popularhigh-level programming languages.

2009 Pearson Education, Inc. All rights reserved.

g p g g g g

Page 21: Introduction toIntroduction to Computers, theComputers

21

1.8 Machine Languages, Assembly Languages and High-Level LanguagesLanguages and High Level Languages (Cont.)

2009 Pearson Education, Inc. All rights reserved.

Fig. 1.1 | Comparing machine, assembly and high-level languages.

Page 22: Introduction toIntroduction to Computers, theComputers

22

1.9 Visual Basic

• BASIC was developed in the mid-1960s for writing programs quickly and easilyprograms quickly and easily.

– BASIC’s primary purpose was to teach programming to novices.

• When Microsoft developed the Windows® graphical• When Microsoft developed the Windows® graphical user interface (GUI), the natural evolution of BASIC was to Visual Basic.was to Visual Basic.

• Visual Basic programs are created with the use of a software tool called an Integrated Development g pEnvironment (IDE).

2009 Pearson Education, Inc. All rights reserved.

Page 23: Introduction toIntroduction to Computers, theComputers

23

1.9 Visual Basic (Cont.)

• The latest versions of Visual Basic are fully object orientedoriented.

• Visual Basic is also event driven—it responds touser initiated events such as mouse clicks keystrokesuser-initiated events such as mouse clicks, keystrokes and timers.

• It is a visual programming language you’ll drag and• It is a visual programming language—you ll drag and drop objects like buttons and textboxes into place.

2009 Pearson Education, Inc. All rights reserved.

Page 24: Introduction toIntroduction to Computers, theComputers

24

1.10 C, C++, Java and Visual C#

• C first gained widespread recognition as the development language of the UNIX operating systemdevelopment language of the UNIX operating system.

– C is a hardware-independent language (i.e. it is portable tomost computers).p )

• C++ took the C language and provided capabilities for object-oriented programming (OOP).

• Objects are reusable software components that model items in the real world.

– Object-oriented programs are often easier to understand,correct and modify.

2009 Pearson Education, Inc. All rights reserved.

Page 25: Introduction toIntroduction to Computers, theComputers

25

1.10 C, C++, Java and Visual C# (Cont.)

• Sun Microsystems began development of the Javaprogramming language in 1991programming language in 1991.

• Sun saw the possibility of using Java to add dynamic content to web pagescontent to web pages.

• Java is now used to develop large-scale enterprise applications to enhance the functionality of webapplications, to enhance the functionality of web pages and for many other purposes.

2009 Pearson Education, Inc. All rights reserved.

Page 26: Introduction toIntroduction to Computers, theComputers

26

1.10 C, C++, Java and Visual C# (Cont.)

• Microsoft released the C# programming language for the NET platform in 2000the .NET platform in 2000.

• C# has roots in C, C++ and Java, adapting the best features of eachfeatures of each.

• C# is object oriented and has access to a powerful class library of prebuilt componentsclass library of prebuilt components.

2009 Pearson Education, Inc. All rights reserved.

Page 27: Introduction toIntroduction to Computers, theComputers

27

1.11 Other High-Level Languages

• Fortran (Formula Translator) was developed in the mid 1950s to create scientific and engineeringmid-1950s to create scientific and engineering applications.

• COBOL is used primarily for business applications• COBOL is used primarily for business applications that require the manipulation of large amounts of data.

2009 Pearson Education, Inc. All rights reserved.

Page 28: Introduction toIntroduction to Computers, theComputers

28

1.12 Structured Programming

• Structured programming is a disciplined approach to creating clear correct and easy to modify programsto creating clear, correct and easy-to-modify programs.

• The Pascal programming language was designed for teaching structured programmingteaching structured programming.

• The Ada structured programming language was developed under the sponsorship of the U Sdeveloped under the sponsorship of the U.S. Department of Defense (DOD).

2009 Pearson Education, Inc. All rights reserved.

Page 29: Introduction toIntroduction to Computers, theComputers

29

1.13 Key Software Trend: Object TechnologyTechnology

• Object technology is a packaging scheme for creating meaningful software unitsmeaningful software units.

• Almost any noun can be reasonably represented as a software objectsoftware object.

• Objectsh ti ( l ll d tt ib t )– have properties (also called attributes)

– perform actions (also called behaviors or methods)

2009 Pearson Education, Inc. All rights reserved.

Page 30: Introduction toIntroduction to Computers, theComputers

30

1.13 Key Software Trend: Object Technology (Cont.)Technology (Cont.)

• Classes are types of related objects.A l ifi h l f f i bj d h– A class specifies the general format of its objects, and the properties and actions available to an object.

– An object is related to its class in much the same way as a j ybuilding is related to its blueprint.

• Procedural programming languages focus on i h h hiactions rather than things.

2009 Pearson Education, Inc. All rights reserved.

Page 31: Introduction toIntroduction to Computers, theComputers

31

1.13 Key Software Trend: Object Technology (Cont.)Technology (Cont.)

• Properly designed classes can be reused on future projectsprojects.

• Using libraries of classes reduces the amount of effort required to implement new systemsrequired to implement new systems.

• Instead of worrying about minute details, you can focus on the behaviors and interactions of objectsfocus on the behaviors and interactions of objects.

2009 Pearson Education, Inc. All rights reserved.

Page 32: Introduction toIntroduction to Computers, theComputers

32

1.14 The Internet and the World Wide Web

• In the late 1960s, ARPA (Advanced Research Projects Agency of the Department of Defense) connected theAgency of the Department of Defense) connected the main computer systems of universities and research institutions.institutions.

• This became known as the ARPAnet, the grandparent of today’s Internet.of today s Internet.

• Its quick and easy communication came to be known as electronic mail (e-mail). ( )

2009 Pearson Education, Inc. All rights reserved.

Page 33: Introduction toIntroduction to Computers, theComputers

33

1.14 The Internet and the World Wide Web (Cont.)Web (Cont.)

• The protocol for communicating over the ARPAnet became known as the Transmission Control Protocolbecame known as the Transmission Control Protocol (TCP).

• TCP ensured that message “packets” were properly• TCP ensured that message packets were properly routed from sender to receiver.

• One challenge was to enable different networks to• One challenge was to enable different networks to communicate with each other.

– ARPA accomplished this by developing theARPA accomplished this by developing theInternet Protocol (IP).

• The combined set of protocols is now called TCP/IP.

2009 Pearson Education, Inc. All rights reserved.

Page 34: Introduction toIntroduction to Computers, theComputers

34

1.14 The Internet and the World Wide Web (Cont.)Web (Cont.)

• Companies started to develop and enhance their Internet presenceInternet presence.

• This generated fierce competition among communications carriers and hardware and softwarecommunications carriers and hardware and software suppliers.

• As a result bandwidth has increased tremendously• As a result, bandwidth has increased tremendously, while communication costs have plummeted.

2009 Pearson Education, Inc. All rights reserved.

Page 35: Introduction toIntroduction to Computers, theComputers

35

1.14 The Internet and the World Wide Web (Cont.)Web (Cont.)

• The World Wide Web is a collection of hardware and software associated with the Internetsoftware associated with the Internet.

• Tim Berners-Lee of CERN developed a technology for sharing information via the HyperText Markupfor sharing information via the HyperText Markup Language (HTML).

• He also wrote HyperText Transfer Protocol• He also wrote HyperText Transfer Protocol (HTTP), the main internet communications protocol.

2009 Pearson Education, Inc. All rights reserved.

Page 36: Introduction toIntroduction to Computers, theComputers

36

1.14 The Internet and the World Wide Web (Cont.)Web (Cont.)

• In 1994, Berners-Lee founded the World Wide Web Consortium (W3C) devoted to developingConsortium (W3C), devoted to developing technologies for the World Wide Web.

• The W3C aims to make the web universally accessible• The W3C aims to make the web universally accessible regardless of disabilities, language or culture.

2009 Pearson Education, Inc. All rights reserved.

Page 37: Introduction toIntroduction to Computers, theComputers

37

1.15 Extensible Markup Language (XML)

• HTML’s lack of extensibility frustrated developers. As a result XML was developed by the W3CAs a result, XML was developed by the W3C.

• Data independence is the essential characteristic of XMLXML.

– Because XML documents describe data, any application conceivably can process them.y p

– Software developers are integrating XML into their applications to improve web functionality and interoperability.XML i l b i l d i d t b– XML is also being employed in databases.

2009 Pearson Education, Inc. All rights reserved.

Page 38: Introduction toIntroduction to Computers, theComputers

38

1.15 Extensible Markup Language (XML) (Cont.)(Cont.)

• Applications employing XML can communicate with one another if they can understand common XMLone another, if they can understand common XML vocabularies.

• The Simple Object Access Protocol (SOAP) is a• The Simple Object Access Protocol (SOAP) is a technology for the transmission of objects.

• Since SOAP’s foundations are in XML and HTTP• Since SOAP s foundations are in XML and HTTP,it is supported on most computer systems.

2009 Pearson Education, Inc. All rights reserved.

Page 39: Introduction toIntroduction to Computers, theComputers

39

1.16 Introduction to Microsoft .NET

• Microsoft’s .NET initiative uses the Internet and the web in the development engineering distribution andweb in the development, engineering, distribution and use of software.

• Applications in any NET compatible language can• Applications in any .NET-compatible language can interact with each other.

• Microsoft’s ASP NET technology allows you to• Microsoft s ASP.NET technology allows you to create web applications.

• The NET strategy allows programmers to concentrate• The .NET strategy allows programmers to concentrate on their specialties without having to implement every component of every application.

2009 Pearson Education, Inc. All rights reserved.

p y pp

Page 40: Introduction toIntroduction to Computers, theComputers

40

1.17 The .NET Framework and the Common Language RuntimeCommon Language Runtime

• The Microsoft .NET Framework:d li i d b i– manages and executes applications and web services

– contains a class library (called the .NET Framework Class Library)y)

– provides security and other programming capabilities.

• The Common Language Runtime (CLR):– Programs are compiled first into Microsoft Intermediate

Language (MSIL).Whe the li ti e e te the j st in time compiler– When the application executes, the just-in-time compilertranslates the MSIL in the executable file into machine-language code.

2009 Pearson Education, Inc. All rights reserved.

Page 41: Introduction toIntroduction to Computers, theComputers

41

1.18 Test-Driving the Visual Basic Advanced Painter ApplicationAdvanced Painter Application

• Open Windows Explorer and navigate to the C:\Examples\ch01directory (Fig. 1.2). y ( g )

• Double click the file name AdvancedPainter.exe to run the application.

Double click this file torun the application

2009 Pearson Education, Inc. All rights reserved.

Fig. 1.2 | Contents of C:\Examples\ch01.

Page 42: Introduction toIntroduction to Computers, theComputers

42

1.18 Test-Driving the Visual Basic Advanced Painter Application (Cont.)Advanced Painter Application (Cont.)

• A user interface uses GUI controls (Fig. 1.3).

RadioButtons

GroupBoxes

Panel

Buttons

2009 Pearson Education, Inc. All rights reserved.

Fig. 1.3 | Visual Basic Advanced Painter application.

Page 43: Introduction toIntroduction to Computers, theComputers

43

1.18 Test-Driving the Visual Basic Advanced Painter Application (Cont.)Advanced Painter Application (Cont.)

• Click the RadioButtons labeled Red and Smallto change the color and size of the brush.to change the color and size of the brush.

• Press and hold down the left mouse button to draw, as shown in Fig. 1.4.

2009 Pearson Education, Inc. All rights reserved.

Fig. 1.4 | Drawing with a new brush color.

Page 44: Introduction toIntroduction to Computers, theComputers

44

1.18 Test-Driving the Visual Basic Advanced Painter Application (Cont.)Advanced Painter Application (Cont.)

• Click the RadioButtons labeled Green and Largeto change the color and size of the brush (Fig. 1.5).to change the color and size of the brush (Fig. 1.5).

2009 Pearson Education, Inc. All rights reserved.

Fig. 1.5 | Drawing with a new brush size.

Page 45: Introduction toIntroduction to Computers, theComputers

45

1.18 Test-Driving the Visual Basic Advanced Painter Application (Cont.)Advanced Painter Application (Cont.)

• Click the RadioButtons labeled Blue and Medium.• Draw raindrops to complete the picture (Fig 1 6)• Draw raindrops to complete the picture (Fig. 1.6).• Close the application by clicking its close box.

2009 Pearson Education, Inc. All rights reserved.

Fig. 1.6 | Finishing the drawing.

Page 46: Introduction toIntroduction to Computers, theComputers

46

1.18 Test-Driving the Visual Basic Advanced Painter Application (Cont.)Advanced Painter Application (Cont.)

• Figure 1.7 lists a few of the applications available in the examples and exercisesthe examples and exercises.

• You’re encouraged to test-drive these applications.

Application name File to execute

Parking Fees Garage.exe

Tic Tac Toe TicTacToe.exe

Drawing Stars DrawStars.exe

Drawing Shapes DrawShapes.exe

Fig. 1.7 | Examples of Visual Basic applications found in this book.

g p

Drawing Polygons DrawPolygons.exe

2009 Pearson Education, Inc. All rights reserved.

Page 47: Introduction toIntroduction to Computers, theComputers

47

1.19 Introduction to Object Technology and the UMLand the UML

• Object-oriented design (OOD) models softwarein terms similar to those that people use to describein terms similar to those that people use to describereal-world objects.

• OOD takes advantage of inheritance relationships:• OOD takes advantage of inheritance relationships:– A “convertible” object has the characteristics of an “automobile.”– The “convertible” also has unique propertiesThe convertible also has unique properties.

2009 Pearson Education, Inc. All rights reserved.

Page 48: Introduction toIntroduction to Computers, theComputers

48

1.19 Introduction to Object Technology and the UML (Cont.)and the UML (Cont.)

• OOD encapsulates attributes and operations into objectsobjects.

• An object’s attributes and operations are intimately tied togethertied together.

• Objects have the property of information hiding.Obj t i t ith th ll d fi d– Objects communicate with one another across well-defined interfaces.

– They do not usually access each other’s information directly.

2009 Pearson Education, Inc. All rights reserved.

Page 49: Introduction toIntroduction to Computers, theComputers

49

1.19 Introduction to Object Technology and the UML (Cont.)and the UML (Cont.)

• Each class contains data as well as the set of methods that manipulate that data and provide services to clients.manipulate that data and provide services to clients.

• The data components of a class are called attributes or fields. For example, a bank account class has an account

b d b lnumber and a balance.• A class is a “blueprint” for building objects of the class. Soft are Engineering Obser ation 1 1Software Engineering Observation 1.1Reuse of existing classes when building new classes and programs saves time, money and effort. Reuse also helpsprograms saves time, money and effort. Reuse also helps programmers build more reliable and effective systems, because existing classes and components often have gone through extensive testing debugging and performance tuning

2009 Pearson Education, Inc. All rights reserved.

through extensive testing, debugging and performance tuning.

Page 50: Introduction toIntroduction to Computers, theComputers

50

1.19 Introduction to Object Technology and the UML (Cont.)and the UML (Cont.)

Introduction to Object-Oriented Analysis andDesign (OOAD)• Follow a process for analyzing your project’s

i t d d l i d i th t ti fi threquirements and developing a design that satisfies them.• If this process involves an object-oriented point of view, it

is called object oriented analysis and design (OOAD)is called object-oriented analysis and design (OOAD).• A group should agree on a strictly defined process for

solving its problem and communicating its results.solving its problem and communicating its results.

2009 Pearson Education, Inc. All rights reserved.

Page 51: Introduction toIntroduction to Computers, theComputers

51

1.19 Introduction to Object Technology and the UML (Cont.)and the UML (Cont.)

What is the UML?• The Unified Modeling Language (UML) models

object-oriented systems graphically.• The UML is extensible (i e capable of being enhanced• The UML is extensible (i.e., capable of being enhanced

with new features) and can be used with any OOAD process.p

• UML allows all developers to express their designs with one standard set of notations.

2009 Pearson Education, Inc. All rights reserved.