L6 - Computer Programming
L6 - Computer Programming
Matias
Computer Engineering Department
College of Engineering
• Define computer programming
• Discuss the fundamental elements of programming
• Differentiate between the types of programming languages
• Enumerate examples of high level programming languages
• Get familiarized with the VBA environment
• is a step by step process of designing and developing various sets of computer
programs to accomplish a specific computing outcome.
• Programming Environment • Loops
• Basic Syntax • Numbers
• Data Types • Characters
• Variables • Arrays
• Keywords • Strings
• Basic Operators • Functions
• Decision Making • File I/O
• a procedure or formula used for solving a problem.
• based on conducting a sequence of specified actions in which these actions
describe how to do something.
• an informal way of programming description that does not require any strict
programming language syntax or underlying technology considerations.
• used for creating an outline or a rough draft of a program.
Computing for the area of a triangle
Form
Designer
Project
Explorer
Tool Box
Properties
Window
Code
Window
Title Bar
Menu Bar
Tool Bar
Combo Box List Box
Text Box Check Box
Label
Option Button
Pointer
Toggle Button
Frame
RefEdit
Command Button
Form
Picture
Frame
Label
Button
NAMING VARIABLES
• Should not exceed 255 characters
• Cannot use reserved words in VB
• Case sensitive
SCOPE OF VARIABLES