Important questions on GUI programming using VB
Important questions on GUI programming using VB
NET
1. a) What is IDE?
b) List languages supported by .NET framework?
c) Give examples of string functions.
d) How are comments given in VB.Net?
e) Differentiate between combo box and list box.
f) What is the role of menus?
g) What is the role of Data Reader?
h) What is the purpose of solution explorer in VB.Net?
i) Give the syntax of function statement?
j) List any four logical operators available in VB.Net.
k) What do you mean by hierarchy of operations?
l) What is the purpose of Common Type System?
m) What are the components of .Net Framework?
n) What is the difference between slider control and spin control?
o) Distinguish between connected and disconnected models?
p) What is provider class?
2. Discuss major features of .NET Framework along with its architecture. Write a note on Common
Language Runtime (CLR).
3. What are the different components of development environment of VB.Net? Explain the purpose of
each component.
4. Define event – driven programming. Write the procedure of adding events and writing code for the
events.
5. Explain the usage of different control toolbox with their commonly used properties and methods with
suitable examples.
6. Discuss the utility of the following controls with the help of suitable examples and code snippets:
TextBox, CheckBox, Button, ListBox.
Also highlight the important properties and methods of these controls.
7. Describe various operators available in VB.Net. Explain VB.Net operator precedence and associativity
with suitable examples.
8. Discuss various selection and looping structures available in VB.Net with examples. Differentiate among
procedure, function and event procedure.
9. a) Explain the syntax and flow diagram of While … End While loop and use this loop to find the sum of
first N natural numbers.
b) What is an InputBox? What is its purpose? Write suitable code snippets to demonstrate the utility of
InputBox function.
10. a) What is an array? What are the benefits of arrays? How arrays are created and accessed in VB.Net?
Write a program to display the maximum and minimum elements of an array.
b) What do you understand by String functions? Discuss any three and their usage with the help of
suitable code snippets.
11. What is the use of SaveFileDialog control? What are its important properties and models? Discuss the
utility of this control with the help of a suitable example and code snippets.
12. Explain the architecture of ADO.Net object model along with its major functional components. Highlight
the features of ADO.Net object model.
13. What do you understand by Data Adapter? Explain its usage with suitable examples. Write a note on
Data Grid view control.
14. Explain connected and disconnected model of ADO.Net object model. What is the use of provider class
in ADO.Net?
15. Write suitable code/ code snippets to demonstrate how ADO.Net can be used to perform insert, update
and delete operations on the following table:
Book (bookID, tittle, authors, publishers, price, edition, yearOfpurchase)
16. Write short notes on the following:
a) Data Reader b) Data Adapter c) Data Set d) Using Data grid view control with ADO.Net
data source