Subject Code: BT0040-1Subject Name: Visual Programming with VBCourse Name: BSc IT NewSemester: IICredits: 4Marks: 40
Q.1 Write about the Visual Basic Application Development Life cycle with a sample Formsdevelopment for performing integer arithmetic operations.
Ans.Visual Basic Application Development Life cycle:
These are the necessary steps tocreate a visual basic program. Programmers call these steps as ‘
what you want the computer to do.
how you want your program to look on the screen. (The appearance of your program is called the user interface)
your user interface by using common components, such as windows, menus andcommand buttons. (The components of user interface are called objects or controls).
the name, color, size and appearance of each user interface object. (An object’scharacteristics are called properties).
instructions in BASIC to make each part of your program do something. (BASICinstructions are called commands).
your program to see whether it works.
any errors (or bugs) in your program.
Q.2Discuss the following:
: Form modules (.FRM extension) are the foundation of any VB application.They can contain graphical descriptions of the form and its controls, including their property,settings. They can also contain form level declarations of type constants, variables and externalprocedures, procedures that handle events and general procedures. Virtually everything thatapplies to class module applies to form module. Forms are just class modules that can havecontrols placed on them and display a form window. Forms are part of our application that arevisible to users at run time.