Chapter 1 – Introduction to Computers, the Internet, and the Web

Slides:



Advertisements
Similar presentations
EC-111 Algorithms & Computing Lecture #1 Instructor: Jahan Zeb Department of Computer Engineering (DCE) College of E&ME NUST.
Advertisements

 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.
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?
 2002 Prentice Hall. All rights reserved. Week 1 - Introduction to Object- Oriented Programming Outline 1.1 Machine Languages, Assembly Languages and.
August 29, 2005ICP: Chapter 0: Introduction to Computers and Computing 1 Introduction or Computer Programming Chapter 0: Introduction to Computers and.
 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.
Introduction to Computers and Python. What is a Computer? Computer- a device capable of performing computations and making logical decisions at speeds.
Computer Programming-1 CSC 111 Chapter 1 : Introduction.
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.
Chapter 1 An Overview of Computers and Programming Languages.
 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.
Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of  Performing computation  Making logical decisions 
Chapter 1 Introduction to Computers, the Internet and the World Wide Web.
 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.
1 MIS 131 Introduction to Algorithms and Programming 2015/2016 Fall - Chapter 1 -
 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.
CHAPTER 1 INTRODUCTION 1 st Semester H King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1.
Spring 09- ICE0124 Programming Fundamentals I Java Programming XuanTung Hoang Lecture No. 1.
CHAPTER 1 INTRODUCTION 2 nd Semester H King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1.
 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.
Structured programming 1 st stage By Heba.A Raheem Assist Lecturer College of Sciences/Computer Sciences Department.
 2007 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and Visual Basic.
Chapter 1 Introduction 2nd Semester H
Java Programming: From the Ground Up
 2001 Prentice Hall, Inc. All rights reserved.
Introduction to Computers, the Internet and the World Wide Web
Outline Introduction What Is a Computer? Computer Organization
Lecture 1: Introduction to JAVA
Chapter 1 – Introduction to Computers and C++ Programming
Chapter 1 – Introduction to Computers, the Internet, and the Web
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
Chapter 1 – Introduction to Computers, the Internet, and the Web
Outline Introduction What Is a Computer? Computer Organization
Introduction to Computers, the Internet and the World Wide Web
Chapter 1 – Introduction to Computers and C++ Programming
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
Introduction to Computer Programming
Chapter 1 – Introduction to Computers and C++ Programming
Chapter 1 – Introduction to Computers, the Internet, and the Web
Computer Programming-1 CSC 111
Introduction to Computers, Internet and the World Wide Web
Chapter 1 – Introduction to Computers and C++ Programming
Presentation transcript:

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 of Operating Systems 1.5 Personal, Distributed and Client/Server Computing 1.6 Machine Languages, Assembly Languages and High-Level Languages 1.7 History of C++ 1.8 History of Java 1.9 Java Class Libraries 1.10 FORTRAN, COBOL, Pascal and Ada 1.11 BASIC, Visual Basic, Visual C++, C# and .NET 1.12 The Internet and the World Wide Web 1.13 Basics of a Typical Java Environment

Chapter 1 – Introduction to Computers, the Internet, and the Web 1.14 General Notes about Java and This Book 1.15 Thinking About Objects: Introduction to Object Technology and the Unified Modeling Language 1.16 Discovering Design Patterns: Introduction

Java How to Program, Fifth Edition 1.1 Introduction Java How to Program, Fifth Edition Java 2 Standard Edition Object-oriented programming

1.2 What Is a Computer? Computer Computer programs Hardware Software Performs computations and makes logical decisions Millions / billions times faster than human beings Computer programs Sets of instructions for which computer processes data Hardware Physical devices of computer system Software Programs that run on computers

1.3 Computer Organization Six logical units of computer system Input unit Mouse, keyboard Output unit Printer, monitor, audio speakers Memory unit Retains input and processed information Arithmetic and logic unit (ALU) Performs calculations Central processing unit (CPU) Supervises operation of other devices Secondary storage unit Hard drives, floppy drives

1.4 Evolution of Operating Systems Batch processing One job (task) at a time Operating systems developed Programs to make computers more convenient to use Switch jobs easier Multiprogramming “Simultaneous” jobs Timesharing operating systems

1.5 Personal, Distributed and Client/Server Computing Personal computing Computers for personal use Distributed computing Computing performed among several computers Client/server computing Servers offer common store of programs and data Clients access programs and data from server

1.6 Machine Languages, Assembly Languages and High-Level Languages “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

1.7 History of C++ C++ Objects Evolved from C Evolved from BCPL and B Provides object-oriented programming capabilities Objects Reusable software components that model real-world items

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

Java contains class libraries 1.9 Java Class Libraries Classes Include 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)

1.10 FORTRAN, COBOL, Pascal and Ada FORmula TRANslator COBOL COmmon Business Oriented Language Pascal Structured programming Ada Multitasking

1.11 BASIC, Visual Basic, Visual C++, C# and .NET Beginner’s All-Purpose Symbolic Instruction Code Visual Basic .NET Framework Class Library (FLC) Visual C++ Microsoft Foundation Classes (MFC) C# C-Sharp .NET .NET platform

1.12 The Internet and the World Wide Web Developed more than four 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

1.13 Basics of a Typical Java Environment 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

Fig. 1.1 Typical Java environment. Primary Memory . Disk Editor Compiler Class Loader Program is created in an editor and stored on disk in a file ending with .java. Compiler creates bytecodes and stores them on disk in a file ending with .class. Class loader reads .class files containing bytecodes from disk and puts those bytecodes in memory. Phase 1 Phase 2 Phase 3 Bytecode Verifier Bytecode verifier confirms that all bytecodes are valid and do not violate Java’s security restrictions. Phase 4 Interpreter Interpreter reads bytecodes and translates them into a language that the computer can understand, possibly storing data values as the program executes. Phase 5 Fig. 1.1 Typical Java environment.

1.14 General Notes about Java and This Book Geared for novice programmers We stress clarity

Unified Modeling Language (UML) 1.15 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

1.15 Thinking About Objects (cont.) 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.

1.15 Thinking About Objects (cont.) Object-oriented design (OOD) Models real-world objects Models communication among objects Encapsulates attributes and operations (behaviors) Information hiding Communication through well-defined interfaces Object-oriented language Programming in object oriented languages is called object-oriented programming (OOP) Java