Fundamentals
Program- set (finite) of instructions properly sequenced that can be executed by the computer will lead to the desired output
Programmer- one who creates computer programs
Code- manner of writing the program
Encode- manner of typing/ inputting the code
Debug- to remove errors
Run- to execute
Save- to store data/ information
Reserved Words words that are formulated/provided by the system/software have special function/meaning
Identifiers
also known as variables, variable names, user defined words words that are being formulated/provided by programmer
Two Types of Programs:
Source Program
Object Program
Utilizes high-level or middle level language
Utilizes low level language
Uses English-like words
Uses machine language printf- output scanf- input
Flowchart (Program Logic Formulation) considered as the most popular tool in logic formulation represents the pictorial/graphical solution of the problem
Two Types of Flowchart:
1. System Flowchart- shows the general transformation of inputs into its output form
2. Program Flowchart- shows the detailed steps/procedure of the solution of the problem
STD-FLE
the input file student file
IBM-PC
the processor
PRT-FLE
the output file print file (document)
Data Processing Cycle
Input:
Machine readable form
Process:
Operations performed on gathered data
Output:
Human-readable form
Example of Program Flowchart:
Algorithm- step by step procedure of solving a problem
General Format: Assignment Statement
Variable= expression or constant
Ave= (Q1+Q2+Q3) 13
History of Visual Basic - Visual Basic.Net (B7, February 2002 - Visual Basic 2003 (VB8), April 2003 - Visual Basic 2005 (VB9), November 2005
Visual Basic developed and owned by Microsoft created to make application programs for windows OS
Visual
Basic
- method of creating a GUI (Graphical User Interface)
- method of writing program codes for functionality