 2002 Prentice Hall. All rights reserved. Week 1 - Introduction to Object- Oriented Programming Outline 1.1 Machine Languages, Assembly Languages and.

Slides:



Advertisements
Similar presentations
 2008 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
Advertisements

 2005 Pearson Education, Inc. All rights reserved Introduction.
 2002 Prentice Hall. All rights reserved. Chapter 1 – Introduction to Computers, the Internet, and the Web Java, How to Program, 4 th Edition, by Deitel.
Visual and Internet Programming using JAVA
Chapter 1: An Overview of Computers and Programming Languages J ava P rogramming: From Problem Analysis to Program Design, From Problem Analysis to Program.
 2005 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and the World Wide Web.
Java Environment (CSS444)
 2003 Prentice Hall, Inc. All rights reserved. 1 Chapter 1 – Introduction to Computers, the Internet, and the Web Outline 1.1 Introduction 1.2 What Is.
 2006 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
Java Programming, 3e Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
Introduction to Computer Programming CSC 1401: Introduction to Programming with Java Lecture 2 Wanda M. Kunkle.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Chapter 1 – Introduction to Computers and C++ Programming.
 2000 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers and C++ Programming Outline 1.1Introduction 1.2What Is a Computer?
 2001 Deitel & Associates, Inc. All rights reserved. 1 Chapter 1 – Introduction to Computers, the Internet and the Web Outline 1.1Introduction 1.2The.
Java How to Program, 9/e Instructor: José M. Reyes Álamo © by Pearson Education, Inc. All Rights Reserved.
 2000 Prentice Hall, Inc. All rights reserved. 1 Introduction to Computers and C Programming Outline Introduction What Is a Computer? Computer Organization.
Java PAL.  Contains the development kit and the runtime environment ( aka the Java Virtual Machine )  Download Link:
 2003 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers, the Internet, and the Web Outline 1.1 Introduction 1.2 What Is a.
Java Programming, 2E Introductory Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
Computers Are Your Future Tenth Edition Chapter 11: Programming Languages & Program Development Copyright © 2009 Pearson Education, Inc. Publishing as.
Program development & programming languages Chapter 13.
1 Chapter 1 - Introduction to Computers, the Internet, and the World Wide Web Outline 1.1Introduction 1.2What Is a Computer? 1.3Computer Organization 1.4Evolution.
1 1 1 Introduction to Java. 2 History of Java Java – Originally for intelligent consumer-electronic devices – Then used for creating Web pages with dynamic.
 2008 Pearson Education, Inc. All rights reserved. 1 The chief merit of language is clearness. — Galen Our life is frittered away by detail…. Simplify,
 2005 Pearson Education, Inc. All rights reserved. 1 Introduction & The Java Virtual Machine Small Java Chapter 1 1.
 2008 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
 2002 Prentice Hall. All rights reserved. 1 Introduction to Visual Basic.NET,.NET Framework and Visual Studio.NET Outline 1.7Introduction to Visual Basic.NET.
Object Oriented Programming Lecturer: Andreas P. Adi
 2003 Prentice Hall, Inc. All rights reserved. 1 Java Training Course Dr. H.E. Dunsmore Purdue University Java – How to Program, Deitel (5 th Edition)
 2005 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and the World Wide Web.
© Copyright 1992–2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Tutorial 1 – Car Payment Calculator and Guess the Number.
Programming in Java This is a one semester course. You will learn the language and some basic programming skills. You are expected to read, program,
C++ Programming Language Lecture 1 Introduction By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
 2002 Prentice Hall. All rights reserved. Chapter 1 – Introduction to Computers, the Internet, and the Web Outline 1.1 Introduction 1.2 What Is a Computer?
1.8History of Java Java –Based on C and C++ –Originally developed in early 1991 for intelligent consumer electronic devices Market did not develop, project.
1 Chapter 1 Introduction to Java. 2 History of Java Java Originally for _________________________ devices Then used for creating Web pages with __________________________.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Introduction to Computers Outline 1.1Introduction.
 2006 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Chapter 1 Introduction to Computers, the Internet and.
 2006 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
1 CISC181 Introduction to Computer Science Dr. McCoy Lecture 1 February 8, 2005.
 2006 Pearson Education, Inc. All rights reserved. 1 C++ How to Program, 5th Edition Deitel Dev C++
1 MIS 131 Introduction to Algorithms and Programming 2015/2016 Fall - Chapter 1 -
CIS 120 Problem Solving Programming Java. Problem Solving Problem-Solving: the process of defining a problem, searching for relevant information and resources.
 Programming Language  Object Oriented Programming  JAVA – An Introduction  JAVA Milestones  JAVA Features.
MCS 220: Concepts of Programming (focus on Object-Oriented Programming) Class Hour: Section 1: MWF 11:00AM - 11:50AM. Hyland 3202.
 2000 Prentice Hall, Inc. All rights reserved. 1 Chapter 1 - Introduction to Computers, the Internet, and the World Wide Web Outline 1.1Introduction 1.2What.
J ava P rogramming: From Problem Analysis to Program Design, From Problem Analysis to Program Design, Second Edition Second Edition D.S. Malik D.S. Malik.
ECE 264 Object-Oriented Software Development Instructor: Dr. Honggang Wang Spring 2013 Lecture 1: Introduction.
 2001 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers, the Internet and the World Wide Web Outline 1.1Introduction 1.2What.
1 Introduction Read D&D Sec 1.8; Sec 1.13 THE Java tutorial -
CHAPTER 1.1 INTRODUCTION TO COMPUTERS AND C++ Dr. Shady Yehia Elmashad.
 Pearson Education, Inc. All rights reserved Introduction to Computers and Java.
Chapter 1 An Overview of Computers and Programming Languages.
1 Chapter 1 Java –Originally for intelligent consumer-electronic devices –Then used for creating Web pages with dynamic content –Now also used for: Develop.
1 1 1 Introduction to Java. 2 History of Java Java – Originally for intelligent consumer-electronic devices – Then used for creating Web pages with dynamic.
Chapter 1 – Introduction to Computers, the Internet, and the Web Outline 1.1 Introduction 1.2 What Is a Computer? 1.3 Computer Organization 1.4 Evolution.
 2007 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and Visual Basic.
 2006 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
 2001 Prentice Hall, Inc. All rights reserved.
Introduction to Computers, the Internet and the World Wide Web
Chapter 1 – Introduction to Computers, the Internet, and the Web
Chapter 1 – Introduction to Computers and C++ Programming
Chapter 1 – Introduction to Computers, the Internet, and the Web
Chapter 1 – Introduction to Computers, the Internet, and the Web
Introduction to Computers, the Internet and the World Wide Web
Chapter 1 – Introduction to Computers and C++ Programming
Chapter 1 – Introduction to Computers, the Internet, and the Web
Introduction to Computers, Internet and the World Wide Web
Presentation transcript:

 2002 Prentice Hall. All rights reserved. Week 1 - Introduction to Object- Oriented Programming Outline 1.1 Machine Languages, Assembly Languages and High-Level Languages 1.2 History of C History of Java 1.4 Java Class Libraries 1.5 Other High-Level Languages 1.6 Structured Programming 1.7 The Internet and the World Wide Web 1.8 Basics of a Typical Java Environment 1.9 Thinking About Objects: Introduction to Object Technology and the Unified Modeling Language

 2002 Prentice Hall. All rights reserved. 1.1 Machine Languages, Assembly Languages and High-Level Languages Machine language –“Natural language” of computer component –Machine dependent Assembly language –English-like abbreviations represent computer operations –Translator programs convert to machine language High-level language –Allows for writing more “English-like” instructions Contains commonly used mathematical operations –Compiler convert to machine language Interpreter –Execute high-level language programs without compilation

 2002 Prentice Hall. All rights reserved. 1.2 History of C++ C++ –Evolved from C Evolved from BCPL and B –Provides object-oriented programming capabilities Objects –Reusable software components that model real-world items

 2002 Prentice Hall. All rights reserved. 1.3 History of Java Java –Originally for intelligent consumer-electronic devices –Then used for creating Web pages with dynamic content –Now also used for: Develop large-scale enterprise applications Enhance WWW server functionality Provide applications for consumer devices (cell phones, etc.)

 2002 Prentice Hall. All rights reserved. 1.4 Java Class Libraries Classes –Contain methods that perform tasks Return information after task completion –Used to build Java programs Java contains class libraries –Known as Java APIs (Application Programming Interfaces)

 2002 Prentice Hall. All rights reserved. 1.5 Other High-Level Languages Fortran –FORmula TRANslator COBOL –COmmon Business Oriented Language Pascal Basic

 2002 Prentice Hall. All rights reserved. 1.6 Structured Programming Structured Programming –Structured programs Clearer than unstructured programs Easier to test, debug and modify –Pascal designed for teaching structured programming –ADA Multitasking –C

 2002 Prentice Hall. All rights reserved. 1.7 The Internet and the World Wide Web Internet –Developed over three decades ago with DOD funding –Originally for connecting few main computer systems –Now accessible by hundreds of millions of computers World Wide Web (WWW) –Allows for locating/viewing multimedia-based documents

 2002 Prentice Hall. All rights reserved. 1.8 Basics of a Typical Java Environment Java systems contain –Environment –Language –APIs –Class libraries

 2002 Prentice Hall. All rights reserved. 1.8 Basics of a Typical Java Environment (cont.) Java programs normally undergo five phases –Edit Programmer writes program (and stores program on disk) –Compile Compiler creates bytecodes from program –Load Class loader stores bytecodes in memory –Verify Verifier ensures bytecodes do not violate security requirements –Execute Interpreter translates bytecodes into machine language

 2002 Prentice Hall. All rights reserved. Fig. 1.1 A typical Java environment.

 2002 Prentice Hall. All rights reserved. 1.9 Thinking About Objects: Introduction to Object Technology and the Unified Modeling Language Object orientation Unified Modeling Language (UML) –Graphical language that uses common notation –Allows developers to represent object-oriented designs

 2002 Prentice Hall. All rights reserved Thinking About Objects (cont.) Objects –Reusable software components that model real-world items –Look all around you People, animals, plants, cars, etc. –Attributes Size, shape, color, weight, etc. –Behaviors Babies cry, crawl, sleep, etc.

 2002 Prentice Hall. All rights reserved Thinking About Objects (cont.) Object-oriented design (OOD) –Models real-world objects –Models communication among objects –Encapsulates data (attributes) and functions (behaviors) Information hiding Communication through well-defined interfaces Object-oriented language –Programming is called object-oriented programming (OOP) –Java

 2002 Prentice Hall. All rights reserved Thinking About Objects (cont.) Object-Oriented Analysis and Design (OOAD) –Essential for large programs –Analyze program requirements, then develop solution –We begin OOAD in Chapter 2 Elevator-simulation case study

 2002 Prentice Hall. All rights reserved Thinking About Objects (cont.) History of the UML –Need developed for process with which to approach OOAD –Brainchild of Booch, Rumbaugh and Jacobson –Object Management Group (OMG) supervised –Version 1.4 is current version Version 2.0 scheduled tentatively for release in 2002

 2002 Prentice Hall. All rights reserved Thinking About Objects (cont.) UML –Graphical representation scheme –Enables developers to model object-oriented systems –Flexible and extendible