Presentation is loading. Please wait.

Presentation is loading. Please wait.

© Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 1.1 What Is a Computer? 1.2 Computer Organization.

Similar presentations


Presentation on theme: "© Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 1.1 What Is a Computer? 1.2 Computer Organization."— Presentation transcript:

1 © Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 1.1 What Is a Computer? 1.2 Computer Organization 1.3 Machine Languages, Assembly Languages and High-Level Languages 1.4 C, C++, Visual Basic.NET and Java 1.5 C# 1.6 Structured Programming 1.7 Key Software Trend: Object Technology 1.8 The Internet and the World Wide Web 1.9 Introduction to Microsoft.NET 1.10 Test-Driving the C# Drawing Application 1.11 Internet and Web Resources 1.12 Wrap-Up Tutorial 1 - Drawing Application Introducing Computers, the Internet and C#

2 © Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 2 Objectives In this tutorial, you will learn to: –Identify the characteristics of low-level and high-level programming languages. –Apply the basics of object-oriented programming. –Run your first C# application. –Locate additional.NET and C# information.

3 © Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 3 1.1 What Is a Computer? Types of computers –Personal computer –Supercomputer Parts of a computer –Hardware –Software

4 © Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 4 1.2 Computer Organization Input unit –Input devices Output unit –Output devices Memory unit –Memory versus primary memory –Volatile Arithmetic and logic unit –Performs calculation –Determines logic Central processing unit –Administrative section

5 © Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 5 1.2 Computer Organization Secondary storage unit –Long-term –High capacity storage –Compared to primary memory

6 © Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 6 1.3 Machine Languages, Assembly Languages and High-Level Languages Machine language –“Natural language” –Machine dependent Assembly language –Machine language too slow –English-like abbreviation –Assemblers High-level language –The importance of the compilers –Write instructions that look like everyday English

7 © Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 7 1.4 C, C++, Visual Basic.NET and Java Fortran –Developed in mid-1950s –For scientific and engineering applications COBOL –Developed in late 1950s –Business software C –Developed in late 1970s –Widespread use in operating systems development C++ –Object-oriented programming Reusable software components

8 © Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 8 1.4 C, C++, Visual Basic.NET and Java BASIC –Beginner’s All-Purpose Symbolic Instruction Code Visual Basic –Evolved from BASIC –Graphical user interface for Windows applications Java –Dynamic content for Web pages –Sun Microsystems Visual Basic.NET –Designed for Microsoft’s.NET platform

9 © Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 9 1.5 C# Like Visual Basic.NET, designed for the.NET platform Visual programming –Integrated Development Environment Object oriented style of programming Event driven

10 © Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 10 1.6 Structured Programming Evolution of structured programming –Clearer and easy to modify –Pascal Designed for teaching structured programming Lacked many features –Ada programming language Developed with sponsorship of the U.S. Department of Defense

11 © Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 11 1.7 Key Software Trend: Object Technology Object technology –Any noun as a software object –Objects have properties –Objects perform actions Classes –Related objects –Focus on the “big picture”

12 © Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 12 1.8 The Internet and the World Wide Web Advanced Research Projects Agency –Networking together computer systems –ARPAnet Today’s internet –Transmission Control Protocol Sending and receiving packets –Internet Protocol “Network of networks” World Wide Web –Collection of hardware and software –HyperText Markup Language

13 © Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 13 1.9 Introduction to Microsoft.NET.NET initiative –Internet and Web development –Software reuse –.NET Framework Framework Class Library

14 © Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 14 1.10 Test-Driving the C# Drawing Application Opening the application –Locate the directory –Double click the executable file

15 © Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 15 1.10 Test-Driving the C# Drawing Application Figure 1.1 Contents of C:\Examples\Tutorial01. Double click this file to run the application

16 © Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 16 1.10 Test-Driving the C# Graphing Application Controls –Graphical elements

17 © Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 17 1.10 Test-Driving the C# Drawing Application Figure 1.2 A C# Drawing application. Panel GroupBox es RadioButton s

18 © Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 18 1.10 Test-Driving the C# Drawing Application Changing the brush color –Click the RadioButton labelled Red –Draw flower petals –Click the RadioButton labelled Green Figure 1.3 Drawing with a new brush color.

19 © Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 19 1.10 Test-Driving the C# Drawing Application Changing the brush size –Click the RadioButton labeled Large –Draw grass and flower stem Figure 1.4 Drawing with a new brush size.

20 © Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 20 1.10 Test-Driving the C# Drawing Application Finishing the drawing –Click the RadioButton labeled Blue –Click the RadioButton labeled Medium –Draw raindrops Figure 1.5 Finishing the drawing. Close box


Download ppt "© Copyright 1992-2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 1.1 What Is a Computer? 1.2 Computer Organization."

Similar presentations


Ads by Google