0% found this document useful (0 votes)
19 views2 pages

VB.NET Programming Practical Tasks

The document outlines a practical assignment consisting of various tasks to be performed using VB.NET programming. It includes writing programs for boxing and unboxing, data type conversions, string manipulations, salary calculations, and control statements. Each task is numbered and specifies the requirements for the program to be developed.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views2 pages

VB.NET Programming Practical Tasks

The document outlines a practical assignment consisting of various tasks to be performed using VB.NET programming. It includes writing programs for boxing and unboxing, data type conversions, string manipulations, salary calculations, and control statements. Each task is numbered and specifies the requirements for the program to be developed.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Practical Assignment 1

SrNo Definition
1 Write a [Link] program to perform boxing and unboxing.
2 Write a [Link] program to perform the following task. using enumeration

3 Write a [Link] program to perform data type conversion functions.


4 Write a [Link] program for applying implicit and explicit conversion.
5 Write a [Link] program that performs following operation on String.
- Convert string into upper case
- Convert string into lower case
- Replace string with replacement string given by user.
- Count the total number of characters in given string.
- Extract a characters from a string
- Remove leading and trailing spaces from a string.
6 Write a [Link] program that performs following operation on Date.

7 Write a [Link] program that calculates net salary (basic+da+hra-pt) using procedure.
Consider da=105% of basic,Hra=25% of basic,pt=Rs.200
8 Write a [Link] program that calculates net salary (basic+da+hra-pt) using function.
Consider da=105% of basic,Hra=25% of basic,pt=Rs.200
9 Write a [Link] program that calculates net salary (basic+da+hra-pt) using optional argument.
Consider da=105% of basic,Hra=25% of basic,pt=Rs.200.
10 Write a [Link] program to print table of given [Link] example (5*1=5,5*2=10 and so on)
11 Write a [Link] program to find sum of given number using array.
12 Write a [Link] program to print weekday in listbox using array.
13 Write a [Link] program to perform following task using Arraylist.

Ms. Nayna N Mistry Page 1


Practical Assignment 1

14 Write a [Link] program to perform following task (using control statement (if, select case)).
- Total marks of the student
- Percentage of the student
- Average of the student
- Find result of the student (pass/fail)
- Calculate class based on the following criteria
o Percentage >=70 Distinction
o >=60 First Class
o >=50 Second Class
o >=40 Pass Class
o Otherwise Fail
15 Write a program using loop that will generate every third integer (2, 5, 8… up to 100)
beginning with i=2 and continuing for all integers that are less than 100. calculate the sum of
those integers that are divisible by 5.

Ms. Nayna N Mistry Page 2

You might also like