180 likes | 322 Views
Chapter 1. An Introduction to Computers and Visual Basic. Outline and Objectives. Introduction to Computers Using Windows Files and Folders An Introduction to Visual Basic. Parts of a Computer System:. Hardware : Electronic Devices Software : Instructions and Computer Programs.
E N D
Chapter 1 An Introduction to Computers and Visual Basic Chapter 1- Visual Basic Schneider
Outline and Objectives • Introduction to Computers • Using Windows • Files and Folders • An Introduction to Visual Basic Chapter 1- Visual Basic Schneider
Parts of a Computer System: • Hardware: Electronic Devices • Software: Instructions and Computer Programs Chapter 1- Visual Basic Schneider
Main components of Hardware: • Input : Keyboard, Mouse • System unit: • Random Access Memory (RAM) • Central Processing Unit (CPU) • Output: Monitor, Printer • Secondary Storage: Disk Drive Chapter 1- Visual Basic Schneider
Random Access Memory (RAM) • Stores program instructions and data needed for processing. • Stores intermediate and final results of processing. • Contents are erased when computer is turned off or reset. Chapter 1- Visual Basic Schneider
Programming Languages: • Machine Language • High level Language Chapter 1- Visual Basic Schneider
Machine Language • The fundamental language of the computer’s processor, also called Low Level Language. • All programs are converted into machine language before they can be executed. Chapter 1- Visual Basic Schneider
High Level Language • Computer (programming) languages that are easier to learn. • Uses English like statements. • Examples are C++, Visual Basic, and Java Chapter 1- Visual Basic Schneider
Software: • Instructions for the hardware. • A collection of instructions is called a program. Chapter 1- Visual Basic Schneider
Using Windows • Basic techniques to use the mouse: • Pointing • Clicking • Dragging • Double-Clicking • Hovering Chapter 1- Visual Basic Schneider
Key Terms in using Windows • Title Bar • Active window • Dragging a window Chapter 1- Visual Basic Schneider
Using Windows • Reviewing Notepad to learn more about Windows applications • Notepad is an item in the Accessories menu Chapter 1- Visual Basic Schneider
Files & Folders: • A disk can store thousands of files. • To organize your files you have to store them in different folders (directories). Chapter 1- Visual Basic Schneider
Key Terms in using Folders • Root folder • Path: A nested sequence of folders • Example: A:\Temp\MyProjects\ • File Specification: A drive letter, path, and filename • Example: A:\Temp\MyProjects\Example.vbp Chapter 1- Visual Basic Schneider
History of Visual Basic: • BASIC stands for Beginner’s All-purpose Symbolic Instruction Code. • BASIC was developed by John Kemeny and Thomas Kurtz in mid-1960s. • Visual Basic was released in 1991 by the Microsoft Corporation. Chapter 1- Visual Basic Schneider
Introduction to Visual Basic: • A language used to create windows applications. • Programs are developed with a Graphical User Interface or GUI. • The instructions executed in the program are controlled by events. Chapter 1- Visual Basic Schneider
Terminology used in Visual Basic: • Form • Control • Object • Properties • Event Chapter 1- Visual Basic Schneider
Steps to Design a Visual Basic Application • Design the appearance of the window that the user sees. • Determine the events that the controls on the window should recognize. • Write the event procedures for those events. Chapter 1- Visual Basic Schneider