 2004 Prentice Hall, Inc. All rights reserved. 1 Segment – 1 Introduction.

Slides:



Advertisements
Similar presentations
Introduction to e-Business. History of WWW Late 1960s, ARPA (Advanced Research Project Agency) of Dept of Defense sponsored some of MIT graduate student.
Advertisements

EC-111 Algorithms & Computing Lecture #1 Instructor: Jahan Zeb Department of Computer Engineering (DCE) College of E&ME NUST.
Computers, Internet and Web Risanuri Hidayat, Ir.,M.Sc.
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 1 - Introduction to Computers and the Internet Outline 1.1 Introduction 1.2 What Is a Computer?
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
 2003 Prentice Hall, Inc. All rights reserved. 1 Chapter 1 - Introduction to Computers and the Internet Outline 1.1 Introduction 1.2 What Is a Computer?
 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.
Introduction to JavaScript Programming With XML and PHP Creating Interactive Web Pages Elizabeth Drake.
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.
Using Java MINISTRY OF EDUCATION & HIGHER EDUCATION COLLEGE OF SCIENCE AND TECHNOLOGY KHANYOUNIS- PALESTINE.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
INTRODUCTION TO WEB DATABASE PROGRAMMING
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.
WEB DESIGN AND PROGRAMMING Who am I?. WEB DESIGN AND PROGRAMMING Who am I? Jason Green – often shortened to greenj in work systems, leading to the.
Internet Infrastructure 1 (Review) University of Khartoum.
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 and Programming.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
 2001 Prentice Hall, Inc. All rights reserved. Lecture 1 Internet and the World Wide Web Course structure Introduction XHTML Cascading Style Sheets JavaScript.
© 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.
© 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.
1 CISC181 Introduction to Computer Science Dr. McCoy Lecture 1 February 8, 2005.
1. Introduction to Internet and to the Web. Motto People are using the web to build things they have not built or written or drawn or communicated anywhere.
1 MIS 131 Introduction to Algorithms and Programming 2015/2016 Fall - Chapter 1 -
Introduction to the Internet & WWW by Dr. Khalil 1 Introduction to the Internet and World Wide Web Dr. Awad Khalil Computer Science Department AUC.
Module 2 : Part 1 INTRODUCTION TO HARDWARE & SOFTWARE INTRODUCTION TO HARDWARE & SOFTWARE.
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.
 2003 Prentice Hall, Inc. All rights reserved. 1 Chapter 1 - Introduction to Computers and the Internet Outline 1.1 Introduction 1.2 What Is a Computer?
 2001 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers, the Internet and the World Wide Web Outline 1.1Introduction 1.2What.
Internet Overview (Chapter 1 in [2]). 2 Outline History of the Internet History of the Internet Seven Layers of the OSI Model Seven Layers of the OSI.
JavaScript 101 Introduction to Programming. Topics What is programming? The common elements found in most programming languages Introduction to JavaScript.
1 Introduction to Computers, the Internet and World Wide Web.
 2000 Deitel & Associates, Inc. All rights reserved. Chapter 1 – Introduction to Computers and the Internet Outline 1.2What is a Computer? 1.3Types of.
CHAPTER 1.1 INTRODUCTION TO COMPUTERS AND C++ Dr. Shady Yehia Elmashad.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Chapter 1 - Introduction to Computers and the Internet
BASIC PROGRAMMING C SCP1103 (02)
 2001 Prentice Hall, Inc. All rights reserved.
WWW and HTTP King Fahd University of Petroleum & Minerals
Chapter 1: Introduction to computers and C++ Programming
Chapter 1 – Introduction to Computers, the Internet, and the Web
Outline Introduction What Is a Computer? Computer Organization
CSCI-235 Micro-Computer Applications
Introduction to Visual Basic 2008 Programming
BASIC PROGRAMMING C SCP1103 (02)
Introduction to Programming
Introduction to Computers and the Internet
Chapter 1 – Introduction to Computers and C++ Programming
Chapter 27 WWW and HTTP.
Chapter 3 Hardware and software 1.
Introduction to computers
Chapter 3 Hardware and software 1.
Outline Introduction What Is a Computer? Computer Organization
Chapter 1 – Introduction to Computers and C++ Programming
Chap 2. Computer Fundamentals
Introduction to Computer Programming
Chapter 1 – Introduction to Computers and C++ Programming
Introduction to Computers, Internet and the World Wide Web
Programming Fundamentals Lecture #2 Overview of Computer Programming
Chapter 1 – Introduction to Computers and C++ Programming
Web Application Development Using PHP
Presentation transcript:

 2004 Prentice Hall, Inc. All rights reserved. 1 Segment – 1 Introduction

 2004 Prentice Hall, Inc. All rights reserved Introduction Internet and World Wide Web How to Program: Third Edition –Effective learning tool for both novices and experienced professionals –Emphasizes structured programming and object-based programming

 2004 Prentice Hall, Inc. All rights reserved Introduction Computer development –Computer use increasing in most fields –Computer costs and size decreasing Abundance of silicon drives down prices of silicon-chip technology

 2004 Prentice Hall, Inc. All rights reserved What is a Computer? Computer –Device capable of Performing computations Making logical decisions –Works billions of times faster than human beings –Fastest supercomputers today Perform hundreds of billions of additions per second

 2004 Prentice Hall, Inc. All rights reserved. 5 Programs –Sets of instructions that process data –Guide computer through orderly sets of actions specified by computer programmers Computer system –Comprised of various hardware devices Keyboard Screen (monitor) Disks Memory Processing Units 1.2 What is a Computer?

 2004 Prentice Hall, Inc. All rights reserved. 6 Every computer divided into six units 1. Input unit “Receiving” section of computer Obtains data from input devices –Usually a keyboard, mouse, disk or scanner Places data at disposal of other units 2. Output unit “Shipping” section of computer Puts processed info on various output devices –Screens, paper printouts, speakers Makes info available outside the computer 1.2 What is a Computer?

 2004 Prentice Hall, Inc. All rights reserved Memory unit Rapid access, low capacity “warehouse” Retains information entered through input unit Retains info that has already been processed until can be sent to output unit Often called memory, primary memory, or random access memory (RAM) 4. Arithmetic and Logic Unit “Manufacturing” section of computer Performs calculations (addition, subtraction, multiplication and division) Contains decision mechanisms and can make comparisons 1.2 What is a Computer?

 2004 Prentice Hall, Inc. All rights reserved Central Processing Unit (CPU) “Administrative” section of computer Coordinates and supervises other sections 6. Secondary storage unit Long-term, high-capacity “warehouse” Stores programs or data not currently being used by other units on secondary storage devices (like discs) Takes longer to access than primary memory 1.2 What is a Computer?

 2004 Prentice Hall, Inc. All rights reserved Types of Programming Languages Computer programs –Called software –Programmers write instructions that comprise software in various programming languages Three general types of programming languages –Machine languages –Assembly languages –High-level languages

 2004 Prentice Hall, Inc. All rights reserved Types of Programming Languages Machine languages –“Natural language” of a particular computer –Defined by hardware design of computer –Generally consists of strings of numbers –Are machine dependent –Cumbersome for humans Example: Adding overtime pay to base pay and storing the result in gross pay –Slow and tedious for most programmers

 2004 Prentice Hall, Inc. All rights reserved Types of Programming Languages Assembly languages –Programmers began using English-like abbreviations to substitute for machine languages –Represents elementary operations of computer –Translator programs called assemblers convert assembly- language to machine-language –Example: LOAD BASEPAY ADD OVERPAY STORE GROSSPAY

 2004 Prentice Hall, Inc. All rights reserved Types of Programming Languages High-level languages –Developed as computer usage increased, assembly language proved inadequate and time-consuming –Single statements can be written to accomplish substantial tasks –Translator programs called compilers –Allow programmers to write instructions almost like every- day English –Example: grossPay = basePay + overTimePay

 2004 Prentice Hall, Inc. All rights reserved Types of Programming Languages High-level languages (II) –Much more desirable from programmer’s standpoint –Specific languages include C, C++, Visual Basic and Java Scripting languages: JavaScript, VBScript and Perl Among most powerful and widely used languages today –Interpreter programs developed to execute high-level programs without compiling Popular in program development environments –Once program developed, compiled version made

 2004 Prentice Hall, Inc. All rights reserved History of the Internet ARPANET –Implemented in late 1960’s by ARPA (Advanced Research Projects Agency of DOD) –Networked computer systems of a dozen universities and institutions with 56KB communications lines –Grandparent of today’s Internet –Intended to allow computers to be shared –Became clear that key benefit was allowing fast communication between researchers – electronic-mail ( )

 2004 Prentice Hall, Inc. All rights reserved History of the Internet ARPA’s goals –Allow multiple users to send and receive info at same time –Network operated packet switching technique Digital data sent in small packages called packets Packets contained data, address info, error-control info and sequencing info Greatly reduced transmission costs of dedicated communications lines –Network designed to be operated without centralized control If portion of network fails, remaining portions still able to route packets

 2004 Prentice Hall, Inc. All rights reserved History of the Internet Transmission Control Protocol (TCP) –Name of protocols for communicating over ARPAnet –Ensured that messages were properly routed and that they arrived intact Organizations implemented own networks –Used both for intra-organization and communication

 2004 Prentice Hall, Inc. All rights reserved History of the Internet Huge variety of networking hardware and software appeared –ARPA achieved inter-communication between all platforms with development of the IP Internetworking Protocol Current architecture of Internet –Combined set of protocols called TCP/IP The Internet –Limited to universities and research institutions –Military became big user –Next, government decided to access Internet for commercial purposes

 2004 Prentice Hall, Inc. All rights reserved History of the Internet Internet traffic grew –Businesses spent heavily to improve Internet Better service their clients –Fierce competition among communications carriers and hardware and software suppliers –Result Bandwidth (info carrying capacity) of Internet increased tremendously Costs plummeted

 2004 Prentice Hall, Inc. All rights reserved 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

 2004 Prentice Hall, Inc. All rights reserved JavaScript: Object-Based Scripting for the Web JavaScript –Attractive package for advancing level of programming language education –Object-based language –Supports proper software engineering techniques –Free for download in today’s most popular Web browsers Attractive to colleges Bug fixes and new versions easily obtained –Powerful scripting language Portable Programs execute interpretively on client machines

 2004 Prentice Hall, Inc. All rights reserved Dynamic HTML DHTML –Two versions Microsoft Netscape –Consists of number of technologies freely available for download –Used for developing high-performance, Web-based applications Much of application’s work performed directly on client rather than on server or Internet

 2004 Prentice Hall, Inc. All rights reserved Internet and World Wide Web How to Program Rise of electronic-commerce (e-commerce) –Reconstruction of modern business Internet and World Wide Web How to Program –Teaches programming languages, programming language principles and Internet and Web-based application technologies –Intended audiences Introductory courses in C++, Java and Visual Basic Upper-level elective programming courses Corporate training programs for professional programmers

 2004 Prentice Hall, Inc. All rights reserved. 23 Home Task Define Internet, Intranet and extranet with service Define HTTP, FTP.

 2004 Prentice Hall, Inc. All rights reserved Internet and World Wide Web How to Program Internet and World Wide Web How to Program includes treatments of 7 other popular programming languages –Microsoft Active Server Pages.NET (ASP.NET) –Perl and Common Gateway Interface (CGI) –PHP –ColdFusion –Python –Java Servlets and JavaServer Pages

 2004 Prentice Hall, Inc. All rights reserved. 25 Hyper Text Markup Language (HTML) What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language A markup language is a set of markup tags The tags describe document content HTML documents contain HTML tags and plain text HTML documents are also called web pages

 2004 Prentice Hall, Inc. All rights reserved. 26 Hyper Text Markup Language (HTML) The declaration is not an HTML tag; it is an instruction to the web browser about what version of HTML the page is written in.

 2004 Prentice Hall, Inc. All rights reserved. 27 Hyper Text Markup Language (HTML)

 2004 Prentice Hall, Inc. All rights reserved. 28 Hyper Text Markup Language (HTML)

 2004 Prentice Hall, Inc. All rights reserved. 29 Hyper Text Markup Language (HTML)

 2004 Prentice Hall, Inc. All rights reserved. 30 Hyper Text Markup Language (HTML)

 2004 Prentice Hall, Inc. All rights reserved. 31 Hyper Text Markup Language (HTML)

 2004 Prentice Hall, Inc. All rights reserved. 32 Hyper Text Markup Language (HTML)

 2004 Prentice Hall, Inc. All rights reserved. 33 Hyper Text Markup Language (HTML)

 2004 Prentice Hall, Inc. All rights reserved. 34 Hyper Text Markup Language (HTML)

 2004 Prentice Hall, Inc. All rights reserved. 35 Hyper Text Markup Language (HTML)

 2004 Prentice Hall, Inc. All rights reserved. 36 Hyper Text Markup Language (HTML) Home Task: 1.FRAMESET 2.Meta tag Metadata is data (information) about data. The tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable. Meta elements are typically used to specify page description, keywords, author of the document, last modified, and other metadata. The metadata can be used by browsers (how to display content or reload page), search engines (keywords), or other web services. Referrence: 1.