Docsity

Computers & Visual Basic: Basics of Computing & Programming, Study notes of Engineering

Toggle sidebar
bg1
SURE 272 -Geomataics Computation
Introduction to Computers and VB 1
INTRODUCTION TO
COMPUTERS AND VISUAL
BASIC
Robert Burtch
Surveying Engineering Department
Ferris State University
WHAT IS A COMPUTER?
โ€ขA programmable machine. The two principal
characteristics of a computer are:
โ€“It responds to a specific set of instructions in a well-defined
manner.
โ€“It can execute a prerecorded list of instructions (a program).
from http://www.webopedia.com/TERM/C/computer.htm
โ€“Fixing H.A.L.โ€™s memory
pf3
pf4
pf5

Partial preview of the text

Download Computers & Visual Basic: Basics of Computing & Programming and more Study notes Engineering in PDF only on Docsity!

INTRODUCTION TO

COMPUTERS AND VISUAL

BASIC

Robert Burtch

Surveying Engineering Department

Ferris State University

WHAT IS A COMPUTER?

  • A programmable machine. The two principal

characteristics of a computer are:

  • It responds to a specific set of instructions in a well-defined manner.
  • It can execute a prerecorded list of instructions (a program). from http://www.webopedia.com/TERM/C/computer.htm - Fixing H.A.L.โ€™s memory

THE COMPUTER

  • Central processing

unit (CPU)

  • Where most of the calculations take place
  • Most important part of computer - Random access

memory (RAM)

  • Main memory
  • When computer turned off, memory erased
  • Can write and read to RAM

THE COMPUTER

  • Hard disk drive
    • Place where instructions and data stored when not in memory or when computer turned off - Device card - Send commands to different devices like the monitor, speakers, network, etc.

THE COMPUTER

  • High level languages:

Visual Basic, Fortran, etc.

  • Compiler translates program into machine language
  • Programmer writes program for computer to execute

VISUAL BASIC

(VB)

  • User-friendly program โ€“

language most accessible to

beginning programmers

  • Requires Microsoft Windows

operating system

  • GUI โ€“ graphical user

interface

  • Desktop filled with icons instead of cursor prompt
  • Describes purpose of program

Now I can be onewith Visual Basic

GUI

  • Old approach (DOS)
    • Requests entered one at a time, in order
    • No ability to alter information - With GUI - User enters information in any order - Can edit information - User in control
  • Affects how program feels

DEVELOPING VB APPLICATION

  • Programmer draws the user interface
  • Command buttons, text boxes, and other objects placed in window will automatically recognize user actions like mouse movement or button click
  • Two features different than conventional

programming