Source Program Object Program Utilizes high-level or middle level language Utilizes low level language Uses English-like words Uses machine language prints- output scans- 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 STUD-FLEE the input file student file IBM-PC the processor PART-FLEE the output file print file (document) Data Processing Cycle 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 Eve= (SQL+SQ+SQ) 13 History of Visual Basic – Visual Basic.
Net (87, February 2002 – Visual Basic 2003 (VIBE), April 2003 – Visual Basic 2005 (VIBE), November 2005 Visual Basic developed and owned by Microsoft created to make application programs for windows SO Visual Basic – method of creating a GUI (Graphical User Interface) – method of writing program codes for functionality VI FILE -Expo -ask B. A. S. I. C. Beginner’s All Purpose Instruction Code parts of the VI 2008 Express HEED Main Unbar 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 ivies 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 USER *Integrated Development Environment (DID) 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 GUIDELINES FOR GUI DESIGN 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 (USER) 1. Create the user interface (GU’) 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 Event Method 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