Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
(Prefer mailing. Call in emergency )
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Bt0082, visual basic
1. Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
FALL 2015, ASSIGNMENT
PROGRAM BSc IT
SEMESTER FOURTH
SUBJECT CODE & NAME BT0082, Visual Basic
CREDIT 4
BK ID B1093
MAX.MARKS 60
Q1 Describe the select– case statementin vb.netwith example.
Answer : A Select Case statement allows a variable to be tested for equality against a list of values.
Each value iscalleda case,and the variable beingswitchedonischeckedforeachselectcase.
Syntax:
Q2 How to handle error in VB? Explain.
Answer : Despite your best efforts to cover all possible contingencies, run-time errors will occur in your
applications. You can and should do all you can to prevent them, but when they happen you have to
handle them.
The various functions, statements, properties and methods available in Visual Basic and the components
used in Visual Basic expect to deal with certain types of data and behavior in your applications. For
example, the CDate() function can convert a value to a Date variable. The function is remarkably flexible
inthe type of informationitcanaccept,but it expectstoreceive
2. Q3. Define SQL. Explainthe selectstatementof SQL with examples.
Answer: SQL (Structured Query Language) is a standard interactive and programming language for
getting information from and updating a database. Although SQL is both an ANSI and an ISO standard,
many database products support SQL with proprietary extensions to the standard language. Queries
take the form of a command language that lets you select, insert, update, find out the location of data,
and so forth.There isalsoa programminginterface.
SQL SELECT statement is used to fetch the data from a database table which returns data in the form of
resulttable.These resulttablesare calledresult-sets.
4. Describe the concept of record navigation inVB.NET.
Answer: NavigateRecords() : Our Subroutine is where the action takes place, and the values from the
DataSetare placedinthe textboxes.Here itisagain:
Private Sub NavigateRecords()
txtFirstName.Text=ds.Tables("AddressBook").Rows(inc).Item(1)
txtSurname.Text=ds.Tables("AddressBook").Rows(inc).Item(2)
End Sub
The part that moves the record forward (andbackwards soon) isthis part:
Rows( inc)
Previously,we hard-codedthiswith:
Q.5 Describe the concept of jaggedarrays invisual basic with an example.
Answer: - jagged arrays: - A jagged array is an array whose elements are arrays. The elements of a
jagged array can be of different dimensions and sizes. A jagged array is sometimes called an "array of
arrays." The followingexamplesshowhow todeclare,initialize,andaccessjaggedarrays.
The following is a declaration of a single-dimensional array that has three elements, each of which is a
single-dimensional arrayof integers:
3. Q6 Describe the methodology of adding node objects to aTreeView control. Also describe how to
control the appearance of individual Node objects.
Answer:A treeview control displaysacollectionof Node objects,eachof whichconsistsof a label and
an optional bitmap.Aftercreatingatreeview control,youcanadd,remove,arrange,andotherwise
manipulate Node objectsbysettingpropertiesandinvokingmethods.
Thissample illustratesaddingnodestoatreeview control,deletingnodes,selectingnodes
programmatically,writingatreeviewhierarchytoatable,andreadinga treeview hierarchyfromatable.
AddingNodes
Each node in a treeview control needstohave a unique keythatisa character string,generatedbythe
NewKeymethodinthissampleform.
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601