 2006 Pearson Education, Inc. All rights reserved. 1 1 1 Introduction to Computers, the Internet and World Wide 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

 2008 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
Three types of computer languages
Java Environment (CSS444)
 2006 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
 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.
 2003 Prentice Hall, Inc. All rights reserved Computer Organization Six logical units of computer 1.Input unit “Receiving” section Obtains information.
 2003 Prentice Hall, Inc. All rights reserved. 1 Machine Languages, Assembly Languages, and High-level Languages Three types of computer languages 1.Machine.
 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.
Starting Out with C++: Early Objects 5/e © 2006 Pearson Education. All Rights Reserved Starting Out with C++: Early Objects 5 th Edition Chapter 1 Introduction.
 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,
 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 SCIENCE I C++ INTRODUCTION
Introduction to Computers, the Internet and the by Pedernal Jemerson G by Pedernal.
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.
“C” Programming Language What is language ? Language is medium of communication. If two persons want to communicate with each other, they have to use.
 2008 Pearson Education, Inc. All rights reserved. 1 The chief merit of language is clearness. — Galen Our life is frittered away by detail…. Simplify,
Lecture 1: Introduction to Computers. OBJECTIVES In this lecture you will learn:  Basic computer concepts.  The different types of programming languages.
 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.
COMPSCI 174- Introduction to C++ Class hour Section 01: MWF 9:55am – 10:45am. Hyer Hall 210.
Spring 2005, Gülcihan Özdemir Dağ BIL104E: Introduction to Scientific and Engineering Computing, Spring Outline 1.1Introduction 1.2What Is a Computer?
C++ Programming Language Lecture 1 Introduction By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved Computer Organization Six logical units in every.
 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.
 2008 Pearson Education, Inc. All rights reserved. 1 CISC 1600 – Computer Science I Fall 2010 Introduction to C++ Programming Chapters 1 and 2 (Deitel.
© 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.
Outline 1 MECH 215 Programming for Mech. and Ind. Eng. I Prof. Chadi Assi CB , Ext. 5799
1 CISC181 Introduction to Computer Science Dr. McCoy Lecture 1 February 8, 2005.
INTRODUCTION Kingdom of Saudi Arabia Princess Nora bint Abdul Rahman University College of Computer Since and Information System CS240.
 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 -
1 Programming Fundamentals How to Program in C++ How to Program in C++
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.
Spring 09- ICE0124 Programming Fundamentals I Java Programming XuanTung Hoang Lecture No. 1.
 2008 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
 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 to Computers, the Internet and World Wide Web.
CHAPTER 1.1 INTRODUCTION TO COMPUTERS AND C++ Dr. Shady Yehia Elmashad.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming Dr. Halla Abdel Hameed.
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.
 2003 Prentice Hall, Inc. All rights reserved Introduction Software –Instructions to command computer to perform actions and make decisions Hardware.
Structured programming 1 st stage By Heba.A Raheem Assist Lecturer College of Sciences/Computer Sciences Department.
 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 Web
Introduction to Computers
Chapter 1 – Introduction to Computers, the Internet, and the Web
© by Pearson Education, Inc. All Rights Reserved.
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
Chapter 1 Introduction to Computers, the Internet and the Web
Chapter 1 – Introduction to Computers and C++ Programming
Introduction to Computer Programming
Chapter 1 – Introduction to Computers and C++ Programming
Introduction to Computers, Internet and the World Wide Web
Chapter 1 – Introduction to Computers and C++ Programming
Presentation transcript:

 2006 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web

 2006 Pearson Education, Inc. All rights reserved Introduction Software – Instructions to command computer to perform actions and make decisions Hardware Standardized version of C++ – United States American National Standards Institute (ANSI) – Worldwide International Organization for Standardization (ISO) Structured programming Object-oriented programming

 2006 Pearson Education, Inc. All rights reserved What Is a Computer? Computer – Device capable of performing computations and making logical decisions Computer programs – Sets of instructions that control computer’s processing of data – Written by people called computer programmers Hardware – Various devices comprising computer Keyboard, screen, mouse, disks, memory, CD-ROM, processing units, etc.

 2006 Pearson Education, Inc. All rights reserved Computer Organization Six logical units of computer –Input unit “Receiving” section Obtains information from input devices – Keyboard, mouse, microphone, scanner, networks, etc. –Output unit “Shipping” section Places information processed by computer on output devices – Screen, printer, networks, etc. – Information can also be used to control other devices

 2006 Pearson Education, Inc. All rights reserved Computer Organization (Cont.) Six logical units of computer (Cont.) –Memory unit Rapid access, relatively low capacity “warehouse” section Retains information from input unit – Immediately available for processing Retains processed information – Until placed on output devices Often called memory or primary memory –Arithmetic and logic unit (ALU) “Manufacturing” section Performs arithmetic calculations and logic decisions

 2006 Pearson Education, Inc. All rights reserved Computer Organization (Cont.) Six logical units of computer (Cont.) –Central processing unit (CPU) “Administrative” section Coordinates and supervises other sections of computer –Secondary storage unit Long-term, high-capacity “warehouse” section Stores inactive programs or data Secondary storage devices – Hard drives, CDs, DVDs Slower to access than primary memory Less expensive per unit than primary memory

 2006 Pearson Education, Inc. All rights reserved Early Operating Systems Early computers – Single-user batch processing Only one job or task at a time Process data in groups (batches) – Decks of punched cards Users had to wait hours or days for results Operating systems – Software systems that manage transitions between jobs – Increased throughput Amount of work computers can process

 2006 Pearson Education, Inc. All rights reserved Early Operating Systems (Cont.) Multiprogramming – Many jobs or tasks sharing computer’s resources – “Simultaneous” operation of many jobs Timesharing – Special case of multiprogramming – Users access computer through terminals Devices with keyboards and screens Dozens, even hundreds of users – Computer use is shared among all users Performs small portion of one user’s job, then moves on to service next user – Advantage User receives almost immediate responses to requests

 2006 Pearson Education, Inc. All rights reserved Personal, Distributed and Client/Server Computing Personal computers – Popularized in 1977 by Apple Computer Economical enough for individual – Ligitimized in 1981 by IBM Personal Computer – “Standalone” units Computer networks – Connected over telephone lines – Local area networks (LANs) Distributed computing – Organization’s computing distributed over networks

 2006 Pearson Education, Inc. All rights reserved Personal, Distributed and Client/Server Computing (Cont.) Workstations – Provide enormous capabilities Client/server computing – File servers Offer common store of programs and data – Client computers Access file servers across network UNIX, Linux, Mac OS X and Microsoft’s Window-based systems support these capabilities

 2006 Pearson Education, Inc. All rights reserved The Internet and the World Wide Web Internet – Global network of computers Initiated almost four decades ago – Accessible by computers worldwide today World Wide Web – Allows computer users to locate and view multimedia- based documents – Internet has become one of the world’s premier communication mechanisms

 2006 Pearson Education, Inc. All rights reserved Machine Languages, Assembly Languages and High-Level Languages Three types of computer languages –Machine language Only language computer directly understands – “Natural language” of computer – Defined by hardware design Generally consist of strings of numbers – Ultimately 0s and 1s Instruct computers to perform elementary operations Cumbersome for humans Example –

 2006 Pearson Education, Inc. All rights reserved Machine Languages, Assembly Languages and High-Level Languages (Cont.) Three types of computer languages (Cont.) –Assembly language English-like abbreviations representing elementary computer operations Clearer to humans Incomprehensible to computers – Convert to machine language by translator programs (assemblers) Example – loadbasepay add overpay store grosspay

 2006 Pearson Education, Inc. All rights reserved Machine Languages, Assembly Languages and High-Level Languages (Cont.) Three types of computer languages (Cont.) –High-level languages Similar to everyday English – Uses common mathematical notations Single statements accomplish substantial tasks Converted to machine language by translator programs (compilers) Interpreter programs – Directly execute high-level language programs – Execute more slowly than the compiled program Example – grossPay = basePay + overTimePay

 2006 Pearson Education, Inc. All rights reserved History of C and C++ History of C – Evolved from BCPL and B Developed by Dennis Ritchie (Bell Laboratories) – Development language of UNIX – Hardware independent Can write portable programs – ANSI and ISO standard for C published in 1990 ANSI/ISO 9899: 1990

 2006 Pearson Education, Inc. All rights reserved History of C and C++ (Cont.) History of C++ – Extension of C Developed by Bjarne Stroustrup (Bell Laboratories) in e arly 1980s – Provides new features to “spruce up” C – Provides capabilities for object-oriented programming Objects: reusable software components – Model items in the real world Object-oriented programs – Easier to understand, correct and modify

 2006 Pearson Education, Inc. All rights reserved C++ Standard Library C++ programs – Built from pieces called classes and functions C++ Standard Library – Rich collections of existing classes and functions Reusable in new applications

 2006 Pearson Education, Inc. All rights reserved Typical C++ Development Environment C++ programs normally undergo six phases – Edit Programmer writes program (and stores source code on disk) – Preprocess Perform certain manipulations before compilation – Compile Compiler translates C++ programs into machine languages – Link Link object code with missing functions and data – Load Transfer executable image to memory – Execute Execute the program one instruction at a time

 2006 Pearson Education, Inc. All rights reserved. 19 Fig. 1.1 | Typical C++ environment.

 2006 Pearson Education, Inc. All rights reserved Typical C++ Development Environment (Cont.) Input/output – cin Standard input stream Normally inputs from keyboard – cout Standard output stream Normally outputs to computer screen – cerr Standard error stream Displays error messages

 2006 Pearson Education, Inc. All rights reserved. End 21