Subject: Visual Programming
Maximum Marks: 70
Time: 3 Hours
Part A (10 × 2 = 20 Marks)
(All questions are compulsory. Each answer should not exceed 50 words.)
1. What is the .NET Framework?
2. Define CLR (Common Language Runtime).
3. What is MSIL?
4. Write the difference between value types and reference types.
5. Define scope and lifetime of a variable.
6. What is the difference between a subroutine and a function?
7. Define constructor and overloading.
8. Write any two uses of the PictureBox control.
9. What is the use of the OpenFileDialog control?
10. What is [Link]?
Part B (5 × 10 = 50 Marks)
(Answer any five questions. At least one question must be attempted from each unit. Each answer
should not exceed 400 words.)
Unit 1 – .NET Basics, Variables & OOP Concepts
1. Explain the features and architecture of the .NET Framework.
2. What are assemblies and class libraries in .NET? Explain their importance.
3. Discuss the scope and lifetime of a variable with examples. Also explain different types of
arrays in [Link].
4. Explain the concepts of constructor, inheritance, overriding, and interfaces with suitable
examples.
Unit 2 – Forms & Controls in [Link]
5. Explain the process of loading, showing, and hiding forms. How can one form be controlled
from another?
6. Write short notes on:
(a) Textbox and Label
(b) ListBox and ComboBox
(c) CheckBox and RadioButton
7. Explain the use of the following controls with examples: Timer, ListView, TreeView, and
Toolbar.
8. Explain how to design menus in [Link]. Write notes on ContextMenu, shortcut keys, and
access keys.
Unit 3 – Database Programming with [Link]
9. Explain the transition from ADO to [Link]. What advantages does [Link] provide?
10. Explain the process of creating a Connection, Command, DataAdapter, and DataSet using
OLEDB and SQLDB with examples.
11. Write short notes on:
(a) Accessing data using Server Explorer
(b) Connected vs. Disconnected architecture in [Link]