This document contains instructions and questions for a Visual Programming exam worth 60 total marks. It is divided into 4 sections with multiple questions in each section worth varying point values totaling the full 60 marks. The questions cover topics like data validation, date functions, exceptions, MDI forms, button properties, designing GUIs to save and retrieve data from databases, working with listboxes, calculating areas, polymorphism, inheritance, overloading vs overriding, destructors, string concatenation operators, calculating Fibonacci series, and using a rich textbox to format selected text. Students are instructed to provide diagrams where necessary and to design proper GUIs for questions requiring code.
This document contains instructions and questions for a Visual Programming exam worth 60 total marks. It is divided into 4 sections with multiple questions in each section worth varying point values totaling the full 60 marks. The questions cover topics like data validation, date functions, exceptions, MDI forms, button properties, designing GUIs to save and retrieve data from databases, working with listboxes, calculating areas, polymorphism, inheritance, overloading vs overriding, destructors, string concatenation operators, calculating Fibonacci series, and using a rich textbox to format selected text. Students are instructed to provide diagrams where necessary and to design proper GUIs for questions requiring code.
This document contains instructions and questions for a Visual Programming exam worth 60 total marks. It is divided into 4 sections with multiple questions in each section worth varying point values totaling the full 60 marks. The questions cover topics like data validation, date functions, exceptions, MDI forms, button properties, designing GUIs to save and retrieve data from databases, working with listboxes, calculating areas, polymorphism, inheritance, overloading vs overriding, destructors, string concatenation operators, calculating Fibonacci series, and using a rich textbox to format selected text. Students are instructed to provide diagrams where necessary and to design proper GUIs for questions requiring code.
This document contains instructions and questions for a Visual Programming exam worth 60 total marks. It is divided into 4 sections with multiple questions in each section worth varying point values totaling the full 60 marks. The questions cover topics like data validation, date functions, exceptions, MDI forms, button properties, designing GUIs to save and retrieve data from databases, working with listboxes, calculating areas, polymorphism, inheritance, overloading vs overriding, destructors, string concatenation operators, calculating Fibonacci series, and using a rich textbox to format selected text. Students are instructed to provide diagrams where necessary and to design proper GUIs for questions requiring code.
Download as DOCX, PDF, TXT or read online from Scribd
Download as docx, pdf, or txt
You are on page 1of 1
Govt.
Graduate College Sahiwal
Affiliated with B.Z.U. Multan th Class: BS-IT 5 semester (2018-22) Course Code: ------------- Subject: Visual Programming Total Marks: 60 …………………………………………………………………………………………………..... Instructions: 1) All questions are COMPULSORY and CARRY equal marks. 2) Draw suitable diagrams wherever NECESSARY. 3) Design proper GUI.
Q. 1 Give Short Answers to the following: [5×3=15]
1. What is data validation in VB.Net. 2. Explain any two built in- date functions. 3. What is exception and how it is handled in VB.Net? 4. How to use MDI in VB. Net? 5. Explain any three properties of Button Control.
Q. 2 Attempt the following [4+4+4+3=15]
a) Design GUI and write code f or following in VB. Net (ADO. Net) without wizard: Accept player-details like player-No, player -name, No- of -runs- Scored, No- of- times-out and save these details in players table. b) Design GUI and write code for the following in VB. Net. - Add items to list box. - Remove selected item from list box. c) Design GUI and write code for the following in VB. Net. • Accept a length & height in textbox. • Calculate area of rectangle. • Display result in Msg box. d) Explain polymorphism in VB. Net.
Q. 3 Attempt the following [4+4+4+3=15]
a) Design GUI and write code for the following:
(ADO. Net) with wizard: - Accept Item details like Item-No, Item-name, Item rate, Item- quantity and save these details in Item table. b) Design GUI and write code in VB. Net for the following. - Accept two no. in two text boxes. - Display prime No. among them in message box. c) Explain Inheritance & types of Inheritance in VB. Net. d) Give difference between overloading and overriding. Q. 4 Attempt the following [4+4+4+3=15] a) What is destructor? Explain with example. b) Enlist operators used for string concatenation with explaination.
c) Write a program to calculate Fibonacci series of a given number using
console application program. d) Design GUI and write a code for following in VB. Net using Rich text box: