VBHTP2e 01-Beta
VBHTP2e 01-Beta
1
Introduction to
Computers, the
Internet and
Visual Basic
2007 Pearson Education, Inc. All rights reserved.
2
OBJECTIVES
In this chapter you will learn:
Basic hardware and software concepts.
The different types of programming languages.
Which programming languages are most widely used.
The history of the Visual Basic programming language.
Some basics of object technology.
The history of the UML—the industry-standard object
oriented system modeling language.
The history of the Internet and the World Wide Web.
The motivation behind and an overview of Microsoft’s
.NET initiative, which involves the Internet in developing
and using software systems.
To test-drive a Visual Basic 2005 application that enables
you to draw on the screen.
1.1 Introduction
1.2 What Is a Computer?
1.3 Computer Organization
1.4 Early Operating Systems
1.5 Personal Computing, Distributed Computing and
Client/Server Computing
1.6 Hardware Trends
1.7 Microsoft’s Windows® Operating System
1.8 Machine Languages, Assembly Languages and
High-Level Languages
1.9 Visual Basic
1.10 C, C++, Java and Visual C#
1.11 Other High-Level Languages
1.12 The Internet and the World Wide Web
1.1 Introduction
• Computer
– Performs computations and makes logical decisions
– Billions times faster than human beings
• Computer Programs
– Sets of instructions for which computer processes data
• Hardware
– Physical devices of computer system (Ex: Hard Drive)
• Computer
– Programs that run on computers (Ex: Games)
• 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
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
– Local Area Networks (LAN)
• Linux
– Operating system based on Unix
– Open source
• Source code freely available to users
– Biggest competitor to Windows
•C
– Development language of Unix
– Hardware-independent languages; portable to most
computers
• C++
– Evolved from C
– Object-Oriented programming (OOP)
• Objects: reusable software components
• Java
– C++ based language
– Sun Microsystems
– Dynamic content (ex: animations) to Web pages
– Object-Oriented programming (OOP)
• Visual C#
– Roots from C, C++, and Java
– Powerful class library (FCL)
• Internet
– Developed more than four decades ago with DOD funding
– Originally for connecting few main computer systems
– Now accessible by hundreds of millions of computers
• XML
– Resulted from HTML’s limitations
– Data independence
APL Mondrian
Visual C# Oberon
COBOL Oz
Component Pascal Pascal
Curriculum Perl
Eiffel Python
Forth RPG
Fortran Scheme
Haskell Smalltalk
Java Standard ML
• UML
– Graphical representation scheme
– Enables developers to model object-oriented systems
– Flexible and extensible