CS-65: Windows Programming
Assignment Code : BCA(4)-65/Assignment/2009
Maximum Marks : 25
Last Date of Submission : 30th April, 2009/ 30th October, 2009
There are five questions in this Assignment. Answer all the questions.
Q. 1 (a) Explain the need of built-in functions in Visual Basic. List out the various
built in functions that are available in the latest version.
(b) Explain how Multidimensional Arrays are used in a Visual Basic application.
Q. 2 (a) Explain the Chart control and Grid control in Visual Basic. (3 marks)
(b) Explain the advantages of using control arrays in Visual Basic
Q. 3 Create a form named “welcome” which asks the user for the name, and address then says "Hello Mr./ Miss: <name>" your address is: <address> . The user is then given a choice (with option buttons) of changing font type and font size of <name> and <address> as per the option selected. This form should stop by clicking on a Command Button named Exit. (5 marks)
Q. 4 Build a form with two drop down lists (combo boxes type 0), one for Name and the other for RollNumber of the students in your batch. When this form is loaded fill the lists from the arrays. If the user pulls down one of the lists and clicks on a Name(or Roll Number) the corresponding RollNumber (or Name) is displayed in the text box of the other list. (5 marks)
Q. 5 Create a form using Labels to display system date and time in appropriate form, font and color. (4 marks)