Professional Documents
Culture Documents
PROGRAM
BACHELOR OF COMPUTER APPLICATION
SEMESTER
5
SUBJECT CODE & NAME
BCA5020- VISUAL PROGRAMMING
Qus:1 What are the advantages of event driven programming?
Answer: In event driven or event based programming the flow of program is determined by
events. It relies on events, triggers and handlers, program executed based on the event will be
triggered by the GUI elements. Event driven programming can also be defined as an
application architecture technique here the application has a main loop and further it has been
divided in to
Qus:2 Briefly explain the For Next loop in VB.net with an example.
Answer: This loop executes for single or group of statements for a specified number of
times, here the loop index counts the number of iterations. This loop can be terminated at any
point of time using Exit For statement.
For counter [ As