Reg. No. |
nam nM BCACAC 281
Credit Based Fourth Semester B.C.A. Degree Examination, April/May 2017
(New Syllabus - Common to all Batches)
VISUAL BASIC .NET PROGRAMMING
Time : 3 Hours Max. Marks : 80
Note : Answer any ten questions from Part— A and one full question
from each Unit in Part - B.
oe PART-A
1. a) Whatis Class Library with reference to .NET Framework ? (10x2=20)
b) Write the use of System.date and System.Windows.Forms namespaces.
c) Whatis IntelliSense ? Mention any two options of IntelliSense.
d) Write the use of str and val functions. Give example for each.
e) Write the purpose of IsNumeric() and IsError() functions.
f) Mention the uses of Rich Text Box.
Q) Differentiate Panel control and GroupBox Control.
h) What is the use of Finally block ?
i) What do you mean by block scope ? Give an example.
J) Write the use of ExecuteScalar and ExecuteNonQuery methods.
eo k) What is the use of data grid ?
1) Name any two data providers.
PART-B
Unit -1
2. a) Explain the following parts of VB IDE =
i) Properties Window
ii) Code Window
iii) Toolbox.
P.1.0.M0 0
BCACAC 261 Es
b) Write the syntax of Select Case and give an example.
c) Explain For Loop and For Each...Next Loop with syntax and example. (6+4+5)
3. a) Explain the use of ‘with...end with’ with syntax and example.
b) Write the purpose of On Error Goto and Resume Next statement.
c) Explain option and import: statements in detail. Give an example foreach. (4+5+6)
Unit - It
a) Describe the MaxLength, PasswordChar, ReadOnly, MultiLine, Text and
WordWrap properties of Textbox.
b) Write VB code for the following :
i) Setting Title Bar Text to the form
ii) Showing and hiding controls in code
ili) Enabling/Disabling Forms
iv) Setting up Startup Form
v) Creating Multiple Document Interface (MD!) Applications.
c) Write the syntax and explain InputBox function. (6+5+4)
ce
a) Explain MsgBox function with syntax and example.
b) Describe any five noteworthy public properties of Checkbox.
c) Explain the method of copy or select text to/from the clipboard. (6+5+4)
a
Unit - Ill
6. a) Listand explain any three methods and two events of a ListBox.
b) Explain any four properties of DateTimePicker.
c) Write the use of :
i) ImageList
ii) Timer
iii) Splitter
iv) Tooltip
v) Trackbar. (6+4+5)‘i 2 BCACAC 261
7. a) Explain with an example how to determine the items are checked in a
CheckedListbox.
b) Listthe builtin dialog controls in VB.NET. Explain any three of them.
c) Write a note on Nodes and SelectedNode, properties of TreeView Control.
‘Also write the use of TreeView Control. (5+7+3)
Unit -IV
8. a) Explain he following ADO.NET objects :
i) Data Connection Object
e@ ii) Data Adapters
ili) Command Objects
iv) Data Sets
v) Data Readers.
b) Whatis data binding 2 Explain the different ways to use data binding in VB.NET
application. (10+5) _
9. a) Explain the following, give an example for each :
i) SELECT command
ii) Using WHERE Clauses
iii) Using the BETWEEN’ Clause
iv) Using the INClause
e v) Using the ORDER BY Clause.
b) Write a note on navigations in data sets. (10+5)