Chapter 1 an introduction to computers and visual basic 2005
Download
1 / 50

Chapter 1 - An Introduction to Computers and Visual Basic 2005 - PowerPoint PPT Presentation


  • 233 Views
  • Uploaded on

Chapter 1 - An Introduction to Computers and Visual Basic 2005. 1.1 An Introduction to Computers 1.2 Using Windows 1.3 Files and Folders 1.4 An Introduction to Visual Basic 2005 1.5 Biographical History of Computing. 1.1 An Introduction to Computers. Personal computer

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Chapter 1 - An Introduction to Computers and Visual Basic 2005' - niveditha


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Chapter 1 an introduction to computers and visual basic 2005 l.jpg
Chapter 1 - An Introduction to Computers and Visual Basic 2005

  • 1.1 An Introduction to Computers

  • 1.2 Using Windows

  • 1.3 Files and Folders

  • 1.4 An Introduction to Visual Basic 2005

  • 1.5 Biographical History of Computing

Chapter 1 - VB 2005 by Schneider


1 1 an introduction to computers l.jpg
1.1 An Introduction to Computers 2005

  • Personal computer

    • Generally, a computer that is operated by one person at a time

Chapter 1 - VB 2005 by Schneider


Computer uses in society l.jpg
Computer uses in Society 2005

  • Banking – customer transactions

  • Airlines – reservations system

  • NASA – control satellites

  • Internet – email, research, shopping

Chapter 1 - VB 2005 by Schneider


Programs students will create in this text l.jpg
Programs Students Will Create in This Text 2005

  • Create and manage a list of friends' addresses and phone numbers

  • Calculate loan payments and amortization

  • Computations to support other course work

Chapter 1 - VB 2005 by Schneider


Communicating with the computer l.jpg
Communicating with the Computer 2005

  • Machine language – low level, hard for humans to understand

  • Visual Basic – high level, understood by humans, consists of instructions such as Click, If, Do

Chapter 1 - VB 2005 by Schneider


Computers and complicated tasks l.jpg
Computers and Complicated Tasks 2005

  • Tasks are broken down into instructions that can be expressed by a computer language

  • A program is a sequence of instructions

  • Programs can be only a few instructions or millions of lines of instructions

Chapter 1 - VB 2005 by Schneider


Servers l.jpg
Servers 2005

  • A server can be almost any computer

  • A server provides resources to other computers

    • Files

    • Internet

    • Printers

Chapter 1 - VB 2005 by Schneider


All programs have in common l.jpg
All Programs Have in Common: 2005

  • Take data and manipulate it to produce a result

  • Input – Process – Output

    • Input – from files, the keyboard, or other input device

    • Output – to the monitor, printer, file, or other output device

Chapter 1 - VB 2005 by Schneider


Hardware and software l.jpg
Hardware and Software 2005

  • Hardware – the physical components of a computer

    • Keyboard

    • Disk drive

    • Monitor

  • Software – The instructions that tell the computer what to do

Chapter 1 - VB 2005 by Schneider


Programmer and user l.jpg
Programmer and User 2005

  • Programmer – the person who solves the problem and writes the instructions for the computer

  • User – any person who uses the program written by the programmer

Chapter 1 - VB 2005 by Schneider


Problem solving l.jpg
Problem Solving 2005

  • Developing the solution to a problem

  • Algorithm – a step by step series of instructions to solve a problem

Chapter 1 - VB 2005 by Schneider


Types of problems in this text l.jpg
Types of Problems in this Text 2005

  • Business computations

  • Managing records

  • Managing lists

  • And more

Chapter 1 - VB 2005 by Schneider


Visual basic 2005 l.jpg
Visual Basic 2005 2005

  • BASIC originally developed at Dartmouth in the early 1960s

  • Visual Basic created by Microsoft in 1991

  • Visual Basic 2005 is similar to original Visual Basic, but more powerful

Chapter 1 - VB 2005 by Schneider


1 2 using windows l.jpg
1.2 Using Windows 2005

  • Mouse Pointers

  • Mouse Actions

  • Windows Start Button

  • Windows and Its Little Windows

  • Using Notepad

Chapter 1 - VB 2005 by Schneider


Mouse actions l.jpg
Mouse Actions: 2005

  • Pointing

  • Hovering

  • Clicking

  • Double-Clicking

  • Dragging

Chapter 1 - VB 2005 by Schneider


Invoking windows start menu l.jpg
Invoking Windows Start Menu 2005

  • Click on Windows Start Button

    or

  • Press Windows logo key

    or

  • Press Ctrl + Esc

  • Note: the words “Press key1 + key2” mean “hold down key1 and then press key2”

Chapter 1 - VB 2005 by Schneider


Windows and its little windows l.jpg
Windows and Its Little Windows 2005

  • Difference between Windows and windows.

  • Title bar indicates if window is active.

Chapter 1 - VB 2005 by Schneider


Using notepad l.jpg
Using Notepad 2005

  • We examine Notepad to learn more about Windows applications

  • Notepad is an item in the Accessories menu

  • Notepad is used to create simple text files that are used throughout this textbook

Chapter 1 - VB 2005 by Schneider


Notepad l.jpg
Notepad 2005

Chapter 1 - VB 2005 by Schneider


1 3 files folders l.jpg
1.3 Files & Folders: 2005

  • Using Windows Explorer

  • Using the Open and Save As Dialog Boxes

Chapter 1 - VB 2005 by Schneider


Disks l.jpg
Disks 2005

  • A disk is a permanent storage device.

  • A disk can store thousands of files.

  • A disk drive is identified by a letter.

  • To organize your files on a disk you have to store them in different folders (directories).

Chapter 1 - VB 2005 by Schneider


Key terms in using folders and files l.jpg
Key Terms in using Folders and Files 2005

Term Example

  • Root folder C:\

  • Subfolder VB01

  • Path C:\VB01

  • Filename PAYROLL.TXT

  • Filespec C:\VB01\PAYROLL.TXT

Chapter 1 - VB 2005 by Schneider


Invoking windows explorer l.jpg
Invoking Windows Explorer 2005

  • Start | Run | type in Explorer|Enter

  • Folders pane on left

  • Detail pane on right

Chapter 1 - VB 2005 by Schneider


Explorer window l.jpg
Explorer Window 2005

Chapter 1 - VB 2005 by Schneider


To display file extensions l.jpg
To Display File Extensions 2005

  • Alt/Tools/Folder Options

  • Click the View tab.

  • Uncheck "Hide extensions for known file types“.

  • Click OK.

Chapter 1 - VB 2005 by Schneider


To create a new folder l.jpg
To Create a New Folder 2005

  • Highlight the folder that is to contain the new folder

  • File | New | Folder

  • Type in a name for the new folder and press Enter

Chapter 1 - VB 2005 by Schneider


To rename a folder or file l.jpg
To Rename a Folder or File 2005

  • Right click on the folder or file

  • Click on Rename

  • Type in a new name (or alter the current name) and press Enter

Chapter 1 - VB 2005 by Schneider


To delete a folder or file l.jpg
To Delete a Folder or File 2005

  • Right click on the folder

  • Click on Delete

  • Click on Yes when queried

Chapter 1 - VB 2005 by Schneider


To copy a folder or file l.jpg
To Copy a Folder or File 2005

  • Right-click on the folder file

  • Click on Copy

  • Right-click on the second folder where the copy is to be placed

  • Click on Paste

Chapter 1 - VB 2005 by Schneider


To move a folder or file l.jpg
To Move a Folder or File 2005

  • Right-click on the folder or file

  • Click on Cut

  • Right-click on the folder where the copy is to be placed

  • Click on Paste

Chapter 1 - VB 2005 by Schneider


Using the open and save as dialog boxes l.jpg
Using the Open and Save As Dialog Boxes 2005

Chapter 1 - VB 2005 by Schneider


1 4 an introduction to visual basic 2005 l.jpg
1.4 An Introduction to Visual Basic 2005 2005

  • Why Windows and Why Visual Basic

  • How You Develop a Visual Basic Application

  • The Different Versions of Visual Basic

Chapter 1 - VB 2005 by Schneider


Visual basic 200533 l.jpg
Visual Basic 2005 2005

  • Language used to create Windows applications.

  • Provides a Graphical User Interface or GUI.

  • The sequence of instructions executed in the program is controlled by events.

Chapter 1 - VB 2005 by Schneider


Sample input screen l.jpg
Sample Input Screen 2005

Chapter 1 - VB 2005 by Schneider


How to develop a visual basic application l.jpg
How to Develop a Visual Basic Application 2005

  • Design the Interface for the user.

  • Determine which events the controls on the window should recognize.

  • Write the event procedures for those events.

Chapter 1 - VB 2005 by Schneider


Different versions of visual basic l.jpg
Different Versions of Visual Basic 2005

  • Version 1.0 – 1991

  • Version 2.0 – 1992

  • Version 3.0 – 1993

  • Version 4.0 – 1995

  • Version 5.0 – 1997

  • Version 6.0 – 1998

  • Visual Basic.NET – 2002 (NOT BACKWARD COMPATIBLE WITH EARLIER VERSIONS)

  • Visual Basic 2005

Chapter 1 - VB 2005 by Schneider


1 5 biographical history of computing l.jpg
1.5 Biographical History of Computing 2005

  • 1800s

  • 1930s

  • 1940s

  • 1950s

  • 1960s

  • 1970s

  • 1980s

  • 1990s

Chapter 1 - VB 2005 by Schneider


1800s l.jpg
1800s 2005

  • George Boole – devised Boolean algebra

  • Charles Babbage – created "analytical engine"

  • Augusta Ada Byron – first computer programmer

  • Herman Hollerith – founder of company that would become IBM

Chapter 1 - VB 2005 by Schneider


1930s l.jpg
1930s 2005

  • Alan Turing – deciphered German code in WWII; father of artificial intelligence

  • John V. Atanasoff – inventor of first electronic digital special purpose computer

Chapter 1 - VB 2005 by Schneider


1940s l.jpg
1940s 2005

  • Howard Aiken – built large scale digital computer, Mark I

  • Grace M. Hopper – originated term "debugging"; pioneered development and use of COBOL

  • John Mauchley and J. Presper Eckert – built first large scale general purpose computer, ENIAC

Chapter 1 - VB 2005 by Schneider


1940s continued l.jpg
1940s continued 2005

  • John von Neumann – developed stored program concept

  • Maurice V. Wilkes – built EDSAC, first computer to use stored program concept

  • John Bardeen, Walter Brattain, and William Shockley – developed transistor that replaced vacuum tubes

Chapter 1 - VB 2005 by Schneider


1950s l.jpg
1950s 2005

  • John Backus – created Fortran; early user of interpreters and compilers

  • Reynold B. Johnson – invented the disk drive

  • Donald L. Shell – developed efficient sorting algorithm

Chapter 1 - VB 2005 by Schneider


1960s l.jpg
1960s 2005

  • John G. Kemeny and Thomas E. Kurtz – invented BASIC

  • Corrado Bohm and Guiseppe Jacopini – proved that any program can be written with only 3 structures: sequence, decision, and loops

  • Edsger W. Dijkstra – stimulated move to structured programming by declaring "GOTO" harmful

Chapter 1 - VB 2005 by Schneider


1960s continued l.jpg
1960s continued 2005

  • Harlan B. Mills – advocated use of structured programming

  • Donald E. Knuth – wrote definitive work on algorithms

  • Ted Hoff, Stan Mazer, Robert Noyce, and Frederico Faggin – developed first microprocessor

Chapter 1 - VB 2005 by Schneider


1960s continued45 l.jpg
1960s continued 2005

  • Douglas Engelbart – invented computer mouse

Chapter 1 - VB 2005 by Schneider


1970s l.jpg
1970s 2005

  • Ted Codd - software architect; laid the groundwork for relational databases

  • Paul Allen and Bill Gates - cofounders of Microsoft Corporation

  • Stephen Wozniak and Stephen Jobs - cofounders of Apple Computer Inc.

  • Dan Bricklin and Dan Fylstra - wrote VisiCalc, the first electronic spreadsheet program

Chapter 1 - VB 2005 by Schneider


1970s continued l.jpg
1970s continued 2005

  • Dennis Ritchie - creator of the C programming language.

  • Ken Thompson - created the Unix operating system

  • Alan Kay – developer of Smalltalk, a pure object-oriented language

  • Don Chamberlain - created a database programming language, later known as SQL,

Chapter 1 - VB 2005 by Schneider


1980s l.jpg
1980s 2005

  • Phillip “Don” Estridge - at IBM directly responsible for the success of the personal computer.

  • Mitchell D. Kapor - cofounder of Lotus Corporation

  • Tom Button - group product manager for applications programmability at Microsoft;

  • headed the team that developed QuickBasic, QBasic, and Visual Basic.

Chapter 1 - VB 2005 by Schneider


1980s continued l.jpg
1980s continued 2005

  • Alan Cooper - considered the father of Visual Basic.

  • Tim Berners–Lee - father of the World Wide Web.

  • Charles Simonyi - father of Word.

  • Bjarne Stroustrup - creator of the C++ programming language.

  • Richard M. Stallman - founded Free Software Foundation

Chapter 1 - VB 2005 by Schneider


1990s l.jpg
1990s 2005

  • Marc Andreessen - inventor of the Web browser.

  • James Gosling – creator of Java.

  • Linus Torvalds - developed the popular Linux operating system.

Chapter 1 - VB 2005 by Schneider


ad