Other Master Degree-Master of Computer Management (M.C.M) 3rd Sem VISUAL BASIC .NET(University of Pune, Pune-2013)
[4377]-305
M. C. M. (Semester - III) Examination - 2013
VISUAL BASIC .NET
(New 2008 Pattern)
Time : 3 Hours] [Max. Marks : 70
Instructions :
(1) Q. No. 1 and 8 are compulsory.
(2) Solve any four from Q. Nos. 2 to 7.
Q.1) Explain ADO.Net Architecture in details. [15]
Q.2) What do you mean by Event Handling ? Explain with suitable examples. [10]
Q.3) Explain Exception Handling with suitable examples. [10]
Q.4) Define Book Class having following attributes and methods : [10]
Book_id (char(10))
Book_name (varchar(3))
Price (numeric(8, 2))
Available_flag (Boolean)
Methods :
Constructor to store information
issue_book Make Availabe_flag false
Check_Book Return true of Availabe_flag is true otherwise
return false.
Show_PriceRe Return the price of book
Write a module to implement the class and test the functionality.
[4377]-305 1 P.T.O.
[4377]-305/2
Q.5) Accept a number in TextBox if number is Armstrong then add this number in List Box, if not throw your own defined exception ‘ArmStronNumberexception’. [10]
Q.6) Write a sectional code that will copy the contents of source file(d:\student.txt) to destination file (c:\copystudnet.txt) using file
stream class. [10]
Q.7) Write a code to perform (Add, Update, Delete, Exit, First, Next, Last, Previous) on following Table : [10]
Table Name (Loan_master)
(Loan_ac_no, custid, total_amount, interest_rate, period)
Database Next Bank
Server SqlServer, Server Name RBI, UserName = “RBI”,
password = ‘RBI’.
Q.8) Write short notes : (Any Three) [15]
(a) Abstract Classes and Interface scope and lifetime of a variable
(b) Namespaces
(c) Listview Controls
(d) DataGrid Controls
Earning: ₹ 7.05/- |