Computer programming notes

Topics: Graphical user interface, Source code, Data type Pages: 6 (847 words) Published: September 29, 2013
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
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
the processor
the output file
print file (document)
Data Processing Cycle
Machine readable form
Operations performed on gathered data
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
- method of creating a GUI (Graphical User Interface)
- method of writing program codes for functionality

- Obj
B.A.S.I.C.- Beginner’s All Purpose Instruction Code
Parts of the VB 2008 Express HDE
Main MenuBar
consists of all the commands provided by IDE under the different menus based on their functionality Standard Tool Bar
provides quick access to frequently used commands
Tool Box
consists of the various controls that can be used to design the graphical user interfaces of the application

Properties Window
describes the properties of the form and its controls
Solution Explorer Window (Project Explorer Window)
contains the project files
gives an overview of all the modules that are contained in the application allows to switch between different windows
Form Designer Window
design space which contains objects or controls used for the application CSER *Integrated Development Environment (IDE)
1. Drag and Drop (Create)
2. Change Color (Set)
3. Enter Source Code (Enter)
4. Run the program (Run)
GUI Fundamentals
GUI- Graphical User Interface
Give priority to the user
Design for consistency
Provide visual and audio feedback
Provide keyboard support
Use of appropriate controls
Steps in creating simple applications (CSER)
1. Create the user interface (GUI)
2. Set properties of the objects
3. Enter the appropriate source code
4. Run the program
GUI Controls
used to interact with application
a control is defined by:
Property- refers to the characteristic or parameter of a control Control’s properties determine it’s name, color, size, location and appearance on the screen Types of Properties
1. Design Time Property- can be changed only during the design phase of the program 2. Run Time Property- will only take effect when program is running 3. Design Time/ Run Time Property- can be changed during the design time as well as during the run time Properties...
Continue Reading

Please join StudyMode to read the full document

You May Also Find These Documents Helpful

  • Computer Programming Essay
  • Programming Language Essay
  • Introduction to Object Oriented Programming Concepts Essay
  • Introduction to Computers and Problem Solving Essay
  • Basic Computer Programs & Development-Graded Essay
  • Essay about Computer Programming
  • Computer Programming, why work as a computer programmer? Essay about computer programming as a career.

Become a StudyMode Member

Sign Up - It's Free