GTU Computer Engineering (Semester 6)
Advance Java
June 2015
Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


1 (a) Explain following terms in brief with respect to .NET framework.
i. MSIL
ii. CLR
iii. CLS
7 M
1 (b) Explain the syntax of inheritance in VB .NET also give example of method overriding.
7 M

2 (a) Explain following with respect to exception handling. Try, catch and finally.
7 M
2 (b) Explain concept of finalization with example.
7 M
2 (c) Write and explain basic constructors and methods of String class in .NET
7 M

3 (a) Explain the concept of properties. Also discuss advantages of properties over class member variables.
7 M
3 (b) Explain following with respect to event handling in .NET
i. Handles
ii. Event arguments.
7 M
3 (c) How pointers are supported in C#? Explain pass by reference concept.
7 M
3 (d) Explain the concept of master pages in ASP .NET.
7 M

4 (a) Explain following keywords in ASP .NET
i. Code behind
ii. View state
7 M
4 (b) Write a program which reads person name from keyboard and saves into user.txt file. (If file already exists then newly entered names must be appended)
7 M
4 (c) Explain various session management techniques in ASP .NET.
7 M
4 (d) Write a program which takes directory name and path as input and lists all files and subdirectories.
7 M

5 (a) Write a program in VB .NET to print following pattern. Use For loop. User will enter number of lines to be printed from keyboard.
*****
****
***
**
*
7 M
5 (b) List and explain common namespaces used for ADO .NET Also list most common classes in those namespaces.
7 M
5 (c) Write a program which gets data from 'uses' table and shows on console in tabular format.
7 M
5 (d) Write a note on WPF.
7 M



More question papers from Advance Java
SPONSORED ADVERTISEMENTS