VB Net Final
VB Net Final
VB Net Final
NO.
1 To find out the total number of an odd digits and even digits within the given number and
print the sum of all odd digits and sum of even digits.
2. Write a program to input a number and check whether the number is Armstrong or not. A
number is Armstrong number if sum of each digit raised to (total digit) is = number.
3. Write a program to check whether number is Harshad Number or not.
4. Write a program to find prime number between range of start number and end number.
5. Write a program to find out tin prime numbers between 10 to 1000. Twin primes are
defined to be two consecutive odd number which are prime.
6. Enter two positive integers and calculate and print out the sum of the products of each pair
of digits occupying the same position in the two numbers.
7. Write a program to display factorial series up to nth term
1! 2! 3! 4! …… n!
8. Write the program that display Fibonacci series up to nth term.
0 1 1 2 3 5 8 13 ……n
9. Write a program to do the following operations:
• Read any two positive integer operands (say op1 & op2) and one character type
operator (say opr). Note that opr is any mathematical operator.
• Depending upon the operator, do the appropriate operation.
10. Write a program to read month (1-12) and 4digited year and display total days in given
month and year.
11. Write a program that display following pattern.
N=7
1
11
112
1123
11235
112358
12. Design the form having 1 Text box and buttons like Bold, Italic, Red & Blue, show and
hide When user presses an y of this command buttons then the content of text box will be
changed to red or blue or bold or italic and Clicking on the “Show” button it will display a
Textbox & when user clicks on “Hide” button then it will remove the Textbox. (Use
Visible Property).
13. Design the form that calculates Sum, Multiplication, Division and Subtraction of two
numbers.
14 Design the following form
15 Design a form to create conversion calculator like
o Decimal number to Binary, Octal & Hexadecimal.
o Binary number to Decimal, Octal & Hexadecimal.
o Octal number to hexa, binary ,decimal etc.
+16 Design the following form. So when user clicks on Radio Button then select appropriate
checkbox.
18 Design one form to create application like Rich text document using 1 Rich Text box and
different buttons. When user presses any of this command buttons then the selected content
of Rich textbox will be changed accordingly.
19 Design the digital watch using Timer Control.
20 Design the following form using horizontal scrollbar. In this, when user click on
particular scroll bar then back color of shape will be changed to Red, Green & Blue color.
21 Design the following form using vertical scrollbar. In this, when user click on particular
scroll bar then back color of shape will be changed to Red, Green & Blue color.
22 Design the following Tic-tac-toe game.
23 Write a .Net console application to store student details in file and display it in console.
24 Write a .Net window application to enter the student details in form with proper GUI
component and store in a file and display in another form.
25 Write an ASP.Net program to implement the validation controls.
26 Write a console application to generate even and odd series.
● Add records
● view all the records
● Delete the particular record
Print all the customer who has to pay only one installment.
Perform insert, delete,view and search for items whose cost price is less than sell price.
38. Write a vb.net application that perform insert, update and delete operations on Employee
table & perform a navigation operation on employee records.
39. Write a simple ASP.NET program to display the following Web Controls:
1. A button with text “click me”. The button control must be in the center of the
form.
3. A checkbox.
40. Write a program to display “Welcome To Radiant” in the form when the “click” button is
clicked. The form title must be ASP.NET.
1. A List Box
2. A Button
3. An Image
4. A Label
The list box is used to list items available in a store. When the user clicks on an item in the
list box, its image is displayed in the image control. When the user clicks the button, the cost
of the selected item is displayed in the control.
42. Write a program to get a user input such as the boiling point of water and test it to the
appropriate value using Compare Validator.
43. Write a program that uses a textbox for a user input name and validate it for Required Field
Validation.
44. Write a program that gets user input such as the user name, mode of payment, appropriate
credit card After the user enters the appropriate values the Validation button must validates
the values entered.
45. . Declare one Text Box control, one Button control, one Label control, and one Regular
Expression Validator control in an .aspx file. The submit() function checks if the page is
valid. If it is valid, it returns "The page is valid!" in the Label control. If it is not valid, it
returns "The page is not valid!" in the Label control. If validation fails, the text "The zip
code must be 5 numeric digits!" will be displayed in the Regular Expression Validator
control.
46. Check the length of the string in the TextBox using Custom Validator.
49. Write a Program to delete all cookies of your web site that has created on the client’s
computer.
51. Design an application to input records of employees and stores that input data in a table
employee .Create table EMPLOYEE with the following columns and data types.
Dept ID Numeric
Sal Float
Dept ID D1 D2 D3
SAL 4 10 45
ii) Change the candidate name from “AmitKapoor” to “SarfarazYousuf” in the first
record in EMPLOYEE table.
52. Create table STUDENT with the following columns and data types.
Sid Alphanumeric
Name Varchar(20)
DOB DateTime
AddrVarchar(20)
Contact Varchar(10)
S ID S1 S2 S3