SlideShare ist ein Scribd-Unternehmen logo
1 von 28
1 1 Introduction to Computers and the Internet
2 1.2 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
3 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  Disks Memory DVD drives Processing Units 1.2 What is a Computer? (Cont.)
4 Every computer divided into six units 1. Input unit “Receiving” section of computer Obtains data from input devices Usually a keyboard, mouse, disk, scanner, uploads (photos and videos) and networks (Internet) Places data at disposal of other units for processing 2. Output unit “Shipping” section of computer Puts processed info on various output devices  Screens, paper printouts, speakers Makes info available outside the computer (e.g., Internet) 1.3 Computer Organization
5 3. Memory unit Rapid access, low capacity “warehouse” section of computer Stores computer programs while they are being executed. 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.3 Computer Organization (Cont.)
6 5. Central Processing Unit (CPU) “Administrative” section of computer Coordinates and supervises other sections Multiple CPUs (multiprocessors) 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 CDs and DVDs)  Takes longer to access than primary memory 1.3 Computer Organization (Cont.)
7 1.4 Machine Languages, Assembly Languages and High-Level Languages Three general types of programming languages Machine languages Assembly languages High-level languages
8 1.4 Machine Languages, Assembly Languages and High-Level Languages (Cont.) Machine languages “Natural language” of a computer Defined by hardware design of computer Generally consists of strings of numbers Are machine dependent Cumbersome for humans Slow and tedious for most programmers
9 1.4 Machine Languages, Assembly Languages and High-Level Languages (Cont.) 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:
10 1.4 Machine Languages, Assembly Languages and High-Level Languages (Cont.) 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:
11 1.4 Machine Languages, Assembly Languages and High-Level Languages (Cont.) High-level languages (II) Much more desirable from programmer’s standpoint Specific languages include C, C++, Visual Basic.NET, C# and Java 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 In this book, several key programming languages JavaScript, ActionScript, PHP and Ruby on Rails—each of these scripting languages is processed by interpreters Study markup languages  XHTML and XML, which can be processed by interpreted scripting languages Achieve their goal of portability across a variety of platforms
12 Portability Tip 1.1 Interpreted languages are more portable than compiled languages. Interpreters can be implemented for each platform on which the interpreted languages need to execute.
13 1.5 History of the Internet and World Wide Web 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 (email)
14 1.5 History of the Internet and World Wide Web 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
15 1.5 History of the Internet and World Wide Web 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
16 1.5 History of the Internet and World Wide Web 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
17 1.6 World Wide Web Consortium (W3C) W3C Founded in 1994 by Tim Berners-Lee Homepage at www.w3.org Goals Internet universally accessible Standardization W3C Recommendations:  Technologies standardized by W3C include the Extensible HyperText Markup Language (XHTML), Cascading Style Sheets (CSS), HyperText Markup Language and the Extensible Markup Language (XML).  -not an actual software product, but a document that specifies a technology’s role, syntax rules and so forth.
18 1.7 Web 2.0 The term Web 2.0 was coined by Dale Dougherty Web 2.0 definition = companies use the web as a platform to create collaborative, community-based sites (e.g., social networking sites, blogs, wikis, etc.). Web 1.0 (1990s and early 2000s) focused on a small number of companies and advertisers producing content for users to access  Web 2.0 involves the  Web 1.0 is as a lecture,  Web 2.0 is a conversation Websites like MySpace , Facebook , Flickr , YouTube, eBay  and Wikipedia , users create the content, companies provide the platforms.
19 1.8 Personal, Distributed and Client/Server Computing  1977 Apple Computer popularized personal computing Computers became economical for personal or business use Machines could be linked together in computer networks  Local area networks (LANs)  Distributed computing Workstations Servers offer data storage and other capabilities that may be used by client computers distributed throughout the network,  Client/server computing Popular operating systems UNIX, Linux, Mac OS X and Microsoft’s Windows
20 1.9 Hardware Trends Moore’s law states that the power of hardware doubles every two years, while the price remains essentially the same. Recently , hardware has been moving towards mobile, wireless technology.
21 1.10 The Key Software Trend: Object Technology Objects Reusable software components that model items in the real world (classes) Makes software developers more productive Object-oriented programs often easier to understand, correct and modify than older types of programs
22 1.10 The Key Software Trend: Object Technology (Cont.) Object technology Packaging scheme that helps create meaningful software units Large and highly focused on particular applications areas Before appeared, programming languages were focused on actions (verbs) rather than on objects (nouns)
23 1.10 The Key Software Trend: Object Technology (Cont.) Object technology (continued) Object-oriented programming  Programmers work in manner similar to how they see the world  More natural process Significant productivity enhancements  Procedural programming Not particularly reusable Forces programmers to constantly “re-invent the wheel”  Wastes time and resources Objects (classes) Software modules Kept in libraries Reusable – save time and resources
24 1.11 JavaScript: Object-BasedScripting for the Web JavaScript Attractive package for advancing level of programming language education Object-based language  Supports proper software engineering techniques Free as part of today’s most popular Web browsers Powerful scripting language Portable
25 1.12 Browser Portability Browser portability Great challenge Great diversity of client browsers in use Many different platforms also in use Difficult to Know capabilities and features of all browsers and platforms in use
26 1.13 C, C++ and Java C developed by Dennis Ritchie at Bell Laboratories  development language of the UNIX operating system virtually all new major operating systems are written in C and/or C++ C++ developed by BjarneStroustrup in early 1980s  “spruce up” the C language and provides capabilities for object-oriented programming Java developed by Sun Microsystems in 1991  Java is now used to  develop large-scale enterprise applications enhance the functionality of web servers  provide applications for consumer devices
27 1.14 BASIC, Visual Basic, Visual C++, C# and .NET  BASIC  Developed in the mid-1960s at Dartmouth College  Primary purpose was to familiarize novices with programming techniques Microsoft’s Visual Basic language  Based on Basic Has become one of the most popular programming languages in the world Microsoft’s .NET platform Provides the capabilities developers need to create computer applications that can execute on computers distributed across the Internet Visual Basic (based on the original BASIC) Visual C++ (based on C++) Visual C# (based on C++ and Java)  C# (C sharp)
28 1.15 Software Technologies Linux  Open source operating system  Apache  Most popular open source web server MySQL  Open source database management system PHP  Most popular open source server-side “scripting” language for developing Internet-based applications LAMP Linux, Apache, MySQL and PHP (or Perl or Python)  Game programming Software techniques used in game programming Adobe Flash CS3 Ruby on Rails  Combines the scripting language Ruby with the Rails web application framework  Developed by 37Signals Software as a Service (SaaS) Software runs on servers elsewhere on the Internet  Salesforce.com, Google, Microsoft and 37Signals all offer SaaS

Weitere ähnliche Inhalte

Was ist angesagt?

Chapter 1 introduction to computers
Chapter 1   introduction to computersChapter 1   introduction to computers
Chapter 1 introduction to computers
haider ali
 
Parts of computer
Parts of computerParts of computer
Parts of computer
Mukul Kumar
 
Information processing cycle
Information processing cycleInformation processing cycle
Information processing cycle
Criselda Liscano
 

Was ist angesagt? (20)

Computer Basics
Computer BasicsComputer Basics
Computer Basics
 
Introduction to internet
Introduction to internetIntroduction to internet
Introduction to internet
 
Presentation Introduction to Windows
Presentation  Introduction to  WindowsPresentation  Introduction to  Windows
Presentation Introduction to Windows
 
Computer Programming - Lecture 1
Computer Programming - Lecture 1Computer Programming - Lecture 1
Computer Programming - Lecture 1
 
Chapter 1 introduction to computers
Chapter 1   introduction to computersChapter 1   introduction to computers
Chapter 1 introduction to computers
 
Computer Essentials
Computer EssentialsComputer Essentials
Computer Essentials
 
Parts of computer
Parts of computerParts of computer
Parts of computer
 
Computer Science & Information Systems
Computer Science & Information SystemsComputer Science & Information Systems
Computer Science & Information Systems
 
Basic computer
Basic computerBasic computer
Basic computer
 
Computer Basics
Computer BasicsComputer Basics
Computer Basics
 
Beginning computer basics
Beginning computer basics Beginning computer basics
Beginning computer basics
 
The different components of a computer system
The different components of a computer system The different components of a computer system
The different components of a computer system
 
Operating system
Operating systemOperating system
Operating system
 
Evolution of Microsoft windows operating systems
Evolution of Microsoft windows operating systemsEvolution of Microsoft windows operating systems
Evolution of Microsoft windows operating systems
 
History of Windows
History of WindowsHistory of Windows
History of Windows
 
ITFT - Window explorer
ITFT - Window explorerITFT - Window explorer
ITFT - Window explorer
 
operating system
operating systemoperating system
operating system
 
Windows 10
Windows 10Windows 10
Windows 10
 
Information processing cycle
Information processing cycleInformation processing cycle
Information processing cycle
 
Computer Programming
Computer ProgrammingComputer Programming
Computer Programming
 

Andere mochten auch

Chapter 1 Introduction To Computers
Chapter 1 Introduction To ComputersChapter 1 Introduction To Computers
Chapter 1 Introduction To Computers
norzaini
 

Andere mochten auch (7)

Introduction to Computers
Introduction to Computers Introduction to Computers
Introduction to Computers
 
Introduction to internet
Introduction to internetIntroduction to internet
Introduction to internet
 
Introduction to internet
Introduction to internetIntroduction to internet
Introduction to internet
 
Becoming a Learning Experience Designer
Becoming a Learning Experience DesignerBecoming a Learning Experience Designer
Becoming a Learning Experience Designer
 
Introduction to computers by abdul rahaman
Introduction to computers by abdul rahamanIntroduction to computers by abdul rahaman
Introduction to computers by abdul rahaman
 
Chapter 1 Introduction To Computers
Chapter 1 Introduction To ComputersChapter 1 Introduction To Computers
Chapter 1 Introduction To Computers
 
Introduction to computer network
Introduction to computer networkIntroduction to computer network
Introduction to computer network
 

Ähnlich wie Chapter1- Introduction to Computers and the Internet

LTR: Open Source Public Workstations
LTR: Open Source Public WorkstationsLTR: Open Source Public Workstations
LTR: Open Source Public Workstations
koegeljm
 
LTR: Open Source Public Workstations
LTR: Open Source Public Workstations LTR: Open Source Public Workstations
LTR: Open Source Public Workstations
koegeljm
 
LTR: Open Source Public Workstations
LTR: Open Source Public Workstations LTR: Open Source Public Workstations
LTR: Open Source Public Workstations
koegeljm
 
LTR: Open Source Public Workstations
LTR: Open Source Public WorkstationsLTR: Open Source Public Workstations
LTR: Open Source Public Workstations
koegeljm
 

Ähnlich wie Chapter1- Introduction to Computers and the Internet (20)

01 intro to vb-net
01 intro to vb-net01 intro to vb-net
01 intro to vb-net
 
Csphtp1 01
Csphtp1 01Csphtp1 01
Csphtp1 01
 
iw3htp4_01-FINAL.ppt
iw3htp4_01-FINAL.pptiw3htp4_01-FINAL.ppt
iw3htp4_01-FINAL.ppt
 
C 1
C 1C 1
C 1
 
Training - Managing .NET/J2EE Projects
Training - Managing .NET/J2EE ProjectsTraining - Managing .NET/J2EE Projects
Training - Managing .NET/J2EE Projects
 
chapter01.ppt
chapter01.pptchapter01.ppt
chapter01.ppt
 
chapter01.ppt
chapter01.pptchapter01.ppt
chapter01.ppt
 
chapter01 (1).ppt
chapter01 (1).pptchapter01 (1).ppt
chapter01 (1).ppt
 
Cpp htp5e 01
Cpp htp5e 01Cpp htp5e 01
Cpp htp5e 01
 
LTR: Open Source Public Workstations
LTR: Open Source Public WorkstationsLTR: Open Source Public Workstations
LTR: Open Source Public Workstations
 
LTR: Open Source Public Workstations
LTR: Open Source Public Workstations LTR: Open Source Public Workstations
LTR: Open Source Public Workstations
 
LTR: Open Source Public Workstations
LTR: Open Source Public Workstations LTR: Open Source Public Workstations
LTR: Open Source Public Workstations
 
Ltr Open Source Public Workstations Presentat
Ltr Open Source Public Workstations PresentatLtr Open Source Public Workstations Presentat
Ltr Open Source Public Workstations Presentat
 
LTR: Open Source Public Workstations
LTR: Open Source Public WorkstationsLTR: Open Source Public Workstations
LTR: Open Source Public Workstations
 
1 web overview
1 web overview1 web overview
1 web overview
 
Ict 5
Ict 5Ict 5
Ict 5
 
Information systems software
Information systems softwareInformation systems software
Information systems software
 
Ltr Open Source Public Workstations Presentat
Ltr Open Source Public Workstations PresentatLtr Open Source Public Workstations Presentat
Ltr Open Source Public Workstations Presentat
 
Group 2 Pres
Group 2 PresGroup 2 Pres
Group 2 Pres
 
Ltr Open Source Public Workstations Presentat
Ltr Open Source Public Workstations PresentatLtr Open Source Public Workstations Presentat
Ltr Open Source Public Workstations Presentat
 

Kürzlich hochgeladen

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Kürzlich hochgeladen (20)

Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 

Chapter1- Introduction to Computers and the Internet

  • 1. 1 1 Introduction to Computers and the Internet
  • 2. 2 1.2 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
  • 3. 3 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 Disks Memory DVD drives Processing Units 1.2 What is a Computer? (Cont.)
  • 4. 4 Every computer divided into six units 1. Input unit “Receiving” section of computer Obtains data from input devices Usually a keyboard, mouse, disk, scanner, uploads (photos and videos) and networks (Internet) Places data at disposal of other units for processing 2. Output unit “Shipping” section of computer Puts processed info on various output devices Screens, paper printouts, speakers Makes info available outside the computer (e.g., Internet) 1.3 Computer Organization
  • 5. 5 3. Memory unit Rapid access, low capacity “warehouse” section of computer Stores computer programs while they are being executed. 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.3 Computer Organization (Cont.)
  • 6. 6 5. Central Processing Unit (CPU) “Administrative” section of computer Coordinates and supervises other sections Multiple CPUs (multiprocessors) 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 CDs and DVDs) Takes longer to access than primary memory 1.3 Computer Organization (Cont.)
  • 7. 7 1.4 Machine Languages, Assembly Languages and High-Level Languages Three general types of programming languages Machine languages Assembly languages High-level languages
  • 8. 8 1.4 Machine Languages, Assembly Languages and High-Level Languages (Cont.) Machine languages “Natural language” of a computer Defined by hardware design of computer Generally consists of strings of numbers Are machine dependent Cumbersome for humans Slow and tedious for most programmers
  • 9. 9 1.4 Machine Languages, Assembly Languages and High-Level Languages (Cont.) 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:
  • 10. 10 1.4 Machine Languages, Assembly Languages and High-Level Languages (Cont.) 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:
  • 11. 11 1.4 Machine Languages, Assembly Languages and High-Level Languages (Cont.) High-level languages (II) Much more desirable from programmer’s standpoint Specific languages include C, C++, Visual Basic.NET, C# and Java 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 In this book, several key programming languages JavaScript, ActionScript, PHP and Ruby on Rails—each of these scripting languages is processed by interpreters Study markup languages XHTML and XML, which can be processed by interpreted scripting languages Achieve their goal of portability across a variety of platforms
  • 12. 12 Portability Tip 1.1 Interpreted languages are more portable than compiled languages. Interpreters can be implemented for each platform on which the interpreted languages need to execute.
  • 13. 13 1.5 History of the Internet and World Wide Web 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 (email)
  • 14. 14 1.5 History of the Internet and World Wide Web 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
  • 15. 15 1.5 History of the Internet and World Wide Web 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
  • 16. 16 1.5 History of the Internet and World Wide Web 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
  • 17. 17 1.6 World Wide Web Consortium (W3C) W3C Founded in 1994 by Tim Berners-Lee Homepage at www.w3.org Goals Internet universally accessible Standardization W3C Recommendations: Technologies standardized by W3C include the Extensible HyperText Markup Language (XHTML), Cascading Style Sheets (CSS), HyperText Markup Language and the Extensible Markup Language (XML). -not an actual software product, but a document that specifies a technology’s role, syntax rules and so forth.
  • 18. 18 1.7 Web 2.0 The term Web 2.0 was coined by Dale Dougherty Web 2.0 definition = companies use the web as a platform to create collaborative, community-based sites (e.g., social networking sites, blogs, wikis, etc.). Web 1.0 (1990s and early 2000s) focused on a small number of companies and advertisers producing content for users to access Web 2.0 involves the Web 1.0 is as a lecture, Web 2.0 is a conversation Websites like MySpace , Facebook , Flickr , YouTube, eBay and Wikipedia , users create the content, companies provide the platforms.
  • 19. 19 1.8 Personal, Distributed and Client/Server Computing 1977 Apple Computer popularized personal computing Computers became economical for personal or business use Machines could be linked together in computer networks Local area networks (LANs) Distributed computing Workstations Servers offer data storage and other capabilities that may be used by client computers distributed throughout the network, Client/server computing Popular operating systems UNIX, Linux, Mac OS X and Microsoft’s Windows
  • 20. 20 1.9 Hardware Trends Moore’s law states that the power of hardware doubles every two years, while the price remains essentially the same. Recently , hardware has been moving towards mobile, wireless technology.
  • 21. 21 1.10 The Key Software Trend: Object Technology Objects Reusable software components that model items in the real world (classes) Makes software developers more productive Object-oriented programs often easier to understand, correct and modify than older types of programs
  • 22. 22 1.10 The Key Software Trend: Object Technology (Cont.) Object technology Packaging scheme that helps create meaningful software units Large and highly focused on particular applications areas Before appeared, programming languages were focused on actions (verbs) rather than on objects (nouns)
  • 23. 23 1.10 The Key Software Trend: Object Technology (Cont.) Object technology (continued) Object-oriented programming Programmers work in manner similar to how they see the world More natural process Significant productivity enhancements Procedural programming Not particularly reusable Forces programmers to constantly “re-invent the wheel” Wastes time and resources Objects (classes) Software modules Kept in libraries Reusable – save time and resources
  • 24. 24 1.11 JavaScript: Object-BasedScripting for the Web JavaScript Attractive package for advancing level of programming language education Object-based language Supports proper software engineering techniques Free as part of today’s most popular Web browsers Powerful scripting language Portable
  • 25. 25 1.12 Browser Portability Browser portability Great challenge Great diversity of client browsers in use Many different platforms also in use Difficult to Know capabilities and features of all browsers and platforms in use
  • 26. 26 1.13 C, C++ and Java C developed by Dennis Ritchie at Bell Laboratories development language of the UNIX operating system virtually all new major operating systems are written in C and/or C++ C++ developed by BjarneStroustrup in early 1980s “spruce up” the C language and provides capabilities for object-oriented programming Java developed by Sun Microsystems in 1991 Java is now used to develop large-scale enterprise applications enhance the functionality of web servers provide applications for consumer devices
  • 27. 27 1.14 BASIC, Visual Basic, Visual C++, C# and .NET BASIC Developed in the mid-1960s at Dartmouth College Primary purpose was to familiarize novices with programming techniques Microsoft’s Visual Basic language Based on Basic Has become one of the most popular programming languages in the world Microsoft’s .NET platform Provides the capabilities developers need to create computer applications that can execute on computers distributed across the Internet Visual Basic (based on the original BASIC) Visual C++ (based on C++) Visual C# (based on C++ and Java) C# (C sharp)
  • 28. 28 1.15 Software Technologies Linux Open source operating system Apache Most popular open source web server MySQL Open source database management system PHP Most popular open source server-side “scripting” language for developing Internet-based applications LAMP Linux, Apache, MySQL and PHP (or Perl or Python) Game programming Software techniques used in game programming Adobe Flash CS3 Ruby on Rails Combines the scripting language Ruby with the Rails web application framework Developed by 37Signals Software as a Service (SaaS) Software runs on servers elsewhere on the Internet Salesforce.com, Google, Microsoft and 37Signals all offer SaaS