 2001 Prentice Hall, Inc. All rights reserved.

Slides:



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

Introduction to Computer Programming Nai-Wei Lin Department of Computer Science and Information Engineering National Chung Cheng University.
 2000 Prentice Hall, Inc. All rights reserved. 1 Chapter 1 – Introduction to Computers and C++ Programming Outline 1.1Introduction 1.2What is a Computer?
Computers, Internet and Web Risanuri Hidayat, Ir.,M.Sc.
Java Environment (CSS444)
 2007 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and the Web.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Chapter 1 – Introduction to Computers and C++ Programming.
Introduction to Computers and Programming Using Java Professor Deena Engel V : Section 1 Office hours: MW 12:00 - 1:00 in room.
 2000 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers and C++ Programming Outline 1.1Introduction 1.2What Is a Computer?
August 29, 2005ICP: Chapter 0: Introduction to Computers and Computing 1 Introduction or Computer Programming Chapter 0: Introduction to Computers and.
 2001 Deitel & Associates, Inc. All rights reserved. 1 Chapter 1 – Introduction to Computers, the Internet and the Web Outline 1.1Introduction 1.2The.
 2000 Prentice Hall, Inc. All rights reserved. 1 Introduction to Computers and C Programming Outline Introduction What Is a Computer? Computer Organization.
C programming language Computer Programming Language 計算機程式設計 Chapter 1 Overview 台大電機系 吳安宇教授 Sept
Introduction to computers and programming RIZWAN REHMAN Assistant Professor Centre For Computer Studies.
1 6 Abacus An early device to record numeric values Blaise Pascal Mechanical device to add, subtract, divide & multiply Joseph Jacquard Jacquard’s Loom,
CS102 Introduction to Computer Programming
 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.
Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI CSCI.
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.
 2008 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
 2000 Deitel & Associates, Inc. All rights reserved. Chapter 1 – Introduction to Computers and C++ Programming Outline 1.1Introduction 1.2What is a Computer?
Chapter 1 Introduction to Computers, the Internet and the World Wide Web.
Spring 2005, Gülcihan Özdemir Dağ BIL104E: Introduction to Scientific and Engineering Computing, Spring Outline 1.1Introduction 1.2What Is a Computer?
© Copyright 1992–2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Tutorial 1 – Car Payment Calculator and Guess the Number.
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?
© 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 CISC181 Introduction to Computer Science Dr. McCoy Lecture 1 February 8, 2005.
1 MIS 131 Introduction to Algorithms and Programming 2015/2016 Fall - Chapter 1 -
COMPUTER PROGRAMMING. Computer programming the objective of the module to gain the necessary skills to develop a computer program using one of the high.
 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.
Computer Organization & Assembly Language © by DR. M. Amer.
Spring 09- ICE0124 Programming Fundamentals I Java Programming XuanTung Hoang Lecture No. 1.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 1.1 What Is a Computer? 1.2 Computer Organization.
 2001 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers, the Internet and the World Wide Web Outline 1.1Introduction 1.2What.
CHAPTER 1.1 INTRODUCTION TO COMPUTERS AND C++ Dr. Shady Yehia Elmashad.
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.
 2004 Prentice Hall, Inc. All rights reserved. 1 Segment – 1 Introduction.
ITSE 1430 – Introduction to C# Programing Chapter 1 – Introduction to Computers, the Internet and Visual C# ITSE Introduction to C# Programing 1.
Introduction to Computers - Hardware
Introduction to Computers, the Internet and the Web
Chapter 1: Introduction to computers and C++ Programming
Introduction to Computers
Chapter 1 – Introduction to Computers, the Internet, and the Web
Outline Introduction What Is a Computer? Computer Organization
CSCI-235 Micro-Computer Applications
PERL.
Introduction to Programming
Chapter 1 – Introduction to Computers and C++ Programming
Chapter 1 – Introduction to Computers and C++ Programming
CS1123 Computer Programming Spring 2012 Instructor Ghufran Ahmed.
Intro to Programming Week # 1 Hardware / Software Lecture # 2
What is a computer? A computer is a device capable of performing computations and making logical decisions at speeds millions and even billions of times.
1.6 Machine Languages, Assembly Languages, and High-level Languages
Chapter 1 – Introduction to Computers, the Internet, and the Web
Introduction to Computers, the Internet and the Web
Chapter 1 – Introduction to Computers, the Internet, and the Web
Outline Introduction What Is a Computer? Computer Organization
Chapter 1 – Introduction to Computers and C++ Programming
Introduction to Computer Programming
Chapter 1 – Introduction to Computers and C++ Programming
Introduction to Computers, the Internet and the Web
Introduction to Computers, the Internet and the Web
Chapter 1 – Introduction to Computers, the Internet, and the Web
Introduction to Computers, Internet and the World Wide Web
Chapter 1 Introduction.
Chapter 1 – Introduction to Computers and C++ Programming
Presentation transcript:

 2001 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers, the Internet and the World Wide Web Outline 1.1 Introduction 1.2 What is a Computer? 1.3 Computer Organization 1.4 Evolution of Operating Systems 1.5 Personal Computing, Distributed Computing and Client/ Server Computing 1.6 Machine Languages, Assembly Languages and High-level Languages 1.7 Structured Programming 1.8 Object-Oriented Programming 1.9 Hardware Trends 1.10 History of the Internet 1.11 History of the World Wide Web 1.12 History of Perl  2001 Prentice Hall, Inc. All rights reserved.

 2001 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers, the Internet and the World Wide Web Outline 1.13 Perl Library 1.14 General Notes About Perl and This Book  2001 Prentice Hall, Inc. All rights reserved.

 2001 Prentice Hall, Inc. All rights reserved. 1.1 Introduction We will learn How to use Perl with the Common Gateway Interface (CGI) for building dynamic, Web-based applications This course is appropriate for Novices with little or no programming experience Experienced professionals building substantial information systems  2001 Prentice Hall, Inc. All rights reserved.

 2001 Prentice Hall, Inc. All rights reserved. 1.2 What is a Computer? Computer Device capable of performing computations and making logical decisions Computers process data under the control of sets of instructions called computer programs Hardware Various devices comprising a computer Keyboard, screen, mouse, disks, memory, CD-ROM, and processing units Software Programs that run on a computer  2001 Prentice Hall, Inc. All rights reserved.

1.3 Computer Organization Logical units of a computer Input unit Output unit Memory unit Arithmetic and logic unit (ALU) Central processing unit (CPU) Secondary storage unit  2001 Prentice Hall, Inc. All rights reserved.

1.4 Evolution of Operating Systems Batch processing in early systems Operating systems Early systems increased throughput Multiprogramming “Simultaneous” operation of many jobs Timesharing Many users sharing a computer at once Development of UNIX  2001 Prentice Hall, Inc. All rights reserved.

 2001 Prentice Hall, Inc. All rights reserved. 1.5 Personal Computing, Distributed Computing, and Client/Server Computing Personal computers Economical enough for individual Distributed computing Computing distributed over networks Client/server computing Sharing of information across computer networks between file servers and clients (personal computers)  2001 Prentice Hall, Inc. All rights reserved.

1.6 Machine Languages, Assembly Languages and High-level Languages Three types of programming languages Machine languages Strings of numbers giving machine specific instructions Example: +1300042774 +1400593419 +1200274027 Assembly languages English-like abbreviations representing elementary computer operations (translated via assemblers) LOAD BASEPAY ADD OVERPAY STORE GROSSPAY  2001 Prentice Hall, Inc. All rights reserved.

1.6 Machine Languages, Assembly Languages and High-level Languages Codes similar to everyday English Use mathematical notations (translated via compilers) Example: grossPay = basePay + overTimePay Other high-level languages FORTRAN Used for scientific and engineering applications COBOL Used to manipulate large amounts of data  2001 Prentice Hall, Inc. All rights reserved.

1.7 Structured Programming Disciplined approach to writing programs Clear, easy to test and debug and easy to modify Development of programming languages Pascal Designed for teaching structured programming C Developed for writing systems software and compilers Ada Developed to meet the needs of the Department of Defense Multitasking  2001 Prentice Hall, Inc. All rights reserved.

1.8 Object-Oriented Programming Software reuse Programs more understandable and easier to maintain History Dates back to at least mid 1960s Development of C++ Added capabilities to create and manipulate objects Development of Java in early 1990s Completely object-oriented language  2001 Prentice Hall, Inc. All rights reserved.

 2001 Prentice Hall, Inc. All rights reserved. 1.9 Hardware Trends Improving technologies Internet community thrives on improvements of Hardware Software Communications Cost of products and services Consistently dropping over the decades Computer capacity and speed Doubles every two years (on average) Microprocessor chip Laid groundwork in late 1970s and 1980s for productivity improvements of the 1990s  2001 Prentice Hall, Inc. All rights reserved.

1.10 History of the Internet The Internet enables Quick and easy communication via e-mail International networking of computers Packet switching The transfer of digital data via small packets Allows multiple users to send and receive data simultaneously No centralized control If one part of the Internet fails, other parts can still operate Bandwidth Information carrying capacity of communications lines  2001 Prentice Hall, Inc. All rights reserved.

1.11 History of the World Wide Web WWW Allows computer users to locate and view multimedia-based documents Introduced in 1990 by Tim Berners-Lee Internet today Mixes computing and communications technologies Makes information constantly and instantly available to anyone with a connection  2001 Prentice Hall, Inc. All rights reserved.

 2001 Prentice Hall, Inc. All rights reserved. 1.12 History of Perl Developed by Larry Wall in 1987 Aimed to integrate features of the UNIX languages awk and sed with framework provided by shell Gained support in open-source community Versions of Perl Perl 3 Adopted GNU General Public License Perl 4 Adopted Artistic License to attract more users Perl 5 Major reorganization of Perl language  2001 Prentice Hall, Inc. All rights reserved.

 2001 Prentice Hall, Inc. All rights reserved. 1.12 History of Perl Perl 6 Development announced on July 18, 2000 Will be a complete rewrite of internals and externals of Perl  2001 Prentice Hall, Inc. All rights reserved.

 2001 Prentice Hall, Inc. All rights reserved. 1.13 Perl Library Perl modules Reusable pieces of software Defined in library files ending in .pm Primary distribution center is the Comprehensive Perl Archive Network (CPAN)  2001 Prentice Hall, Inc. All rights reserved.

1.13 General Notes About Perl and This Book Perl approach to programming Qualities of a good programmer Laziness Reusable code Impatience Functional programs Hubris Easy to understand code Programs can be written in many different ways Highly portable  2001 Prentice Hall, Inc. All rights reserved.