Gujarat University 2009-2nd Year B.C.A Computer Application Advanced Visual and Windows Programming - Question Paper
Second Year Bachelor of Computer Application
Advanced Visual and Windows Programming April 2009
Total Marks 70 Duration : 3 hrs
1 |
Do as directed |
14 |
(A) |
Differntiate between following (Any three) |
6 |
1 |
COM and DCOM |
|
2 |
Data set and DataReader |
|
3 |
MAnaged and Unmanaged DDL |
|
4 |
String and StringBuilder class |
|
(B) |
Answer the following (any one). |
4 |
1. What is common dialog control? Explain Font and Open File dialog control.
|
||
(C) |
Answer the following (any one). |
4 |
1 |
Use the properties and methods of List Box control to perform the following tasks : |
|
(1) Add any four items in two columns. |
||
(2) Select three items and delete all selected items simulteneosly. |
||
2 |
List all methods of char class. Describe the use of Isdigit and Iscontrol methods for validation. |
|
2 |
Do as directed: |
14 |
(A) |
State whether the following statementsare true or false (Any five) |
5 |
1 |
Option compare statement is realated with type conversion. |
|
2 |
Update Command is a property of the command object. |
|
3 |
The TimeSpan object stores time interval in terms of years, months and dys. |
|
4 |
The break point in the code suspends the execution of the application. |
|
5 |
Like operator is used for string pattern matching. |
|
6 |
A variable declared at procedure level can't be used at moduke level. |
|
(B) |
Define the following terms (Any five) |
5 |
1 |
CLR |
|
2 |
Assembly |
|
3 |
Debugging |
|
4 |
MDI |
|
5 |
Dialog Box |
|
6 |
Data Binding |
|
(C) |
Fill in the blanks (Any four) |
5 |
1 |
_____________ and ______________ are two major components of .Net frmework. |
|
2 |
_____________ class id used to retrive data from the binary file. |
|
3 |
_____________ keyword is related with constructor in the class. |
|
4 |
_____________ Property of the form is used to set its initial position. |
|
5 |
LinkVisited is the property of _____________ control. |
|
6 |
_____________ control displays he calender and allws yyou to select the date. |
|
3 |
Answer the following (any seven). |
14 |
1 |
What are the advantages of the Name Spaces over a collection of classes? |
|
2 |
How can the TaskList Windows be helpfful to the application developers? |
|
3 |
Is it possible to increase the size of an array at run-time? Justify our answer. |
|
4 |
Explain any four methods of Array List collection. |
|
5 |
List any four controls for which the image list control can be useful. Explain any one of them. |
|
6 |
Is it legal to have two subscribers with the same name in a class? Justify your answer with example. |
|
7 |
Explain timer control. |
|
8 |
List differnces between Date Time and Time Span class. |
|
9 |
Explain JIT compiler. |
|
4 |
Answer the following. |
14 |
(A) |
Write property settings and code to develop following appications (any two). |
10 |
1 |
Create a digital photo album application that allows user to fill image list control at runtime and display images one by one in a picture box. After a specific time interval the picture should be changed. |
|
2 |
Create an application that allows you to take MCQ (Multiple Choice Questions) type exam. Use Access table to store data. |
|
3 |
Create
a class named 'Figure' with two single type fields and a function called
'Area'/ Serive two classes 'Rectangle' and 'Cylinder'. Redefine the Area
function in both the classes toi calculate and return the area of Square and
Circle. |
|
(B) |
Answer the following (any one) |
4 |
1 |
Design a table called 'Item' in an Access data base with fields such Item-Code, Item-NAME, Price and Units. Create an user interface to display an Item. Add functionality to add, update and search an Item. |
|
2 |
Create a table called 'login' in an Access data base with fields such as User-name and Password. Design a login form that allows you to enter in an MDI application on supplying correct username and pssword. Compare values on form with the values in the login table. |
|
5 |
Answer the following. |
14 |
(A) |
Write short notes on following (any two). |
10 |
1 |
Memory Management in .Net |
|
2 |
Architecture ADO.Net |
|
3 |
Structured Exception Handling |
|
(B) |
Give the difference between (any one) |
4 |
1 |
What is module ? Explain all types of modules. |
|
2 |
How can we design custom windows control ? Explain with example. |
Earning: Approval pending. |