Dot Net Final Questions
Dot Net Final Questions
Slip 2:
A) Write a C# .Net program to move the Text “Pune University” continuously from Left
to Right and Vice Versa. [10 M]
B) Write a C#.Net program to create a base class Department and derived classes Sales and
Human Resource. Accept the details of both departments and display them in proper
format. [15 M]
Slip 3:
A) Write a program in C# .Net to create a function for the sum of two number [10 M]
B) Write a C# .Net program to create teacher table (Tid, TName, subject) Insert the records
(Max: 5). Search record of a teacher whose name is “Seeta” and display result. [15 M]
Slip 4:
A) Design a C#.Net form to pick a date from DateTimePicker Control and display day, month
and year in separate text boxes. [10 M]
B) Design a web application form in ASP.Net having loan amount, interest rate and duration
fields. Calculate the simple interest and perform necessary validation i.e. Ensures data has been
entered for each field. Checking for non- numeric value. Assume suitable web-form controls
and perform necessary validation. [15 M]
Slip 5:
A) Write a C# (Win Form).Net program to accept a character from keyboard and check
whether it is vowel or consonant. Also display the case of that character. [15 M]
B) Design a web application form in ASP.Net having loan amount, interest rate and duration
fields. Calculate the simple interest and perform necessary validation i.e. Ensures data has been
entered for each field. Checking for non-numeric value. Assume suitable web-form controls and
perform necessary validation. [15 M]
Slip 6:
A) Write ASP.Net program that displays the names of some flowers in two columns.
Bind a label to the RadioButtonList so that when the user selects an option from the list
and clicks on a button, the label displays the flower selected by the user. [10 M]
B) Write a C#.Net program to create movie table (Mv_Name, Release_year, Director).
Insert the records (Max: 5). Delete the records of movies whose release year is 2022 and
display appropriate message in message box. [15 M]
Slip 7:
A) Write a program in C# .Net to create a function for the sum of two numbers. [10 M]
B) Write a C# (Win Form).Net program to create a table student (Roll No, SName,
Class, City). Insert the records (Max: 5). Update city of students to ‘Pune’ whose city
is ‘Mumbai’ and display updated records in Grid View. [15 M]
Slip 8:
A) List of employees is available in listbox. Write ASP.Net application to add selected or all
records from listbox to Textbox (assume multi-line property of textbox is true). [10 M]
B) Write a C#.Net program for multiplication of matrices. [15 M]
Slip 9:
A) Write a Menu driven program in C#.Net to perform following functionality:
Addition, Multiplication, Subtraction, Division. [10 M]
B) Create an application in ASP.Net that allows the user to enter a number in the
textbox named "getnum". Check whether the number in the textbox "getnum" is
palindrome or not. Print the message accordingly in the label control named
lbldisplay when the user clicks on the button "check". [15 M]
Slip 10:
A) Write a program that demonstrates the use of primitive data types in C#. The
program should also support the type conversion of:
● Integer to String
Slip 11:
A) Write a ASP.Net 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
validates the values entered. [10 M]
B) Write C# program to make a class named Fruit with a data member to calculate the
number of fruits in a basket. Create two other class named Apples and Mangoes to
calculate the number of apples and mangoes in the basket. Display total number of
fruits in the basket. [15 M]
Slip 12:
A) Write ASP.Net program that displays a button in green color and it should change
into yellow when the mouse moves over it. [10 M]
B) Write a C# (Win Form).Net program to create player table (PID, PName, Game,
no_of_matches). Insert records and update number of matches of ‘Rohit Sharma’ and
display result in data grid view.
Slip 13:
A) Write a C# (Win Form).Net program for blinking an image. [10 M]
B) Write a C# Program to accept and display ‘n’ student’s details such as Roll. No,
Name, marks in three subjects, using class. Display percentage of each student. [15 M]
Slip 14:
A) Write a program in C#.Net to find the sum of all elements of the array. [10 M]
B) Write a C#.Net Program to define a class Person having members –name, address.
Create a subclass called employee with member staffed, salary. Create ‘n’ objects of the
Employee class and display all the details of the Employee. [15 M]
Slip 15:
A) Write ASP.Net application to create a user control that contains a list of colors. Add
a button to the Web Form which when clicked changes the color of the form to the
color selected from the list. [10 M]
B) Write a C#.Net Program to accept and display ‘n’ customer’s details such as
customer_no, Name, address ,itemno, quantity price . Display total price of all
item. [15 M]
Slip 16:
A) Write ASP.Net program to create a user control that receives the user name and password
from the user and validates them. If the user name is "DYP" and the password is "Pimpri", then
the user is authorized, otherwise not. [10 M]
B) Define a class supplier with fields – sid, name, address, pincode. Write a
C#.NetProgram to accept the details of ‘n’ suppliers and display it. [15 M]
Slip 17:
A) Write a C#.Net application to display the vowels from a given String. [10 M]
B) Write a C# .Net program to accept the details of product (PID, PName, expiry date,
price). Store it into the database and display it on data grid view. [15 M]
Slip 18:
A) Write a program in C#.Net to find the length of a string. [10 M]
B) Write ASP.Net program containing the following controls:
• ListBox
• Button
• Image
• Label
The listbox is used to list items available in a store. When the user clicks on an item in
the listbox, 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. [15 M]
Slip 19:
A) Write a C# (Win Form).Net program to check whether enter string is
Palindrome or not. [10 M]
B) List of employees is available in list box. Write ASP.Net application to add
selected or all records from list box to Textbox (assume multi-line property of
Textbox is true). [15 M]
Slip 20:
A) Write a C# (Win Form).Net program to generate Sample Tree View control. [10 M]
B) Write a Web application in ASP.Net that generates the “IndexOutOfRange” exception
when a button is clicked. Instead of displaying the above exception, it redirects the user to a
custom error page. All the above should be done with the trace for the page being enabled.
[15 M]
Slip 21:
A) Write a C# (Win Form) .NET program to accept sentences in text box and count
the number of words and display the count in message box. [10 M]
B) Write ASP.Net application for the following:
1. Create a table EMP(eno, ename, edesignation, salary, joindate)
2. Insert a Record.
3. Update a record [15 M]
Slip 22:
A) Write a program in C# to create a function to swap the values of two integers.
[10 M]
B) Write a C# (Win Form).Net program to design the following form; it contains the three
menus Color (Red, Blue, and Green), Window (Maximize, Minimize, and Restore) and
Exit. On Selection of any menu or submenu result should affect the form control( for
example if user selected Red color from Color menu back color of form should get
changed to Red and if user selected Maximize from Window Menu then form should get
maximized). [15 M]
Slip 23:
A) Write a program in C# to create a function to display the n terms of Fibonacci
Sequence. [10 M]
B) Create the application in ASP.Net that accepts name, password, age, email id, and user id. All
the information entry is compulsory. Password should be reconfirmed. Age should be within 21
to 30. Email id should be valid. User id should have at least a capital letter and digit as well as
length should be between 7 and 20 characters.[15 M]
Slip 24:
A) Write a program in C#.Net to create a function to check whether a number is prime or
not. [10 M]
B) Write a C# (Win Form).NET program to create Author table (aid, aname, book_
name). Insert the records (Max 5). Delete a record of author who has written “VB.NET
book” and display remaining records on the data grid view. (Use MS Access to create
db.) [15 M]
Slip 25:
A) Write a program in C#.Net to create a function to calculate the sum of the individual
digits of a given number. [10 M]
B) Create a Web Application in ASP.Net to display all the Empname and Deptid of the
employee from the database using Ms Access source control and bind it to GridView.
Database fields are(DeptId, DeptName, EmpName, Salary). [15 M]
Slip 26:
A). Write a program in C#.Net to create a recursive function to find the factorial of a
given number. [10 M]
B) “How is the book ASP.NET with C# by Wrox publication?”
Give the user three choices:
i) Good ii) Satisfactory iii) Bad.
Provide a VOTE button. After user votes, present the result in percentage using
labels next to the choices. [15 M]
Slip 27:
A) Write a C# (Win Form) .Net program to accept sentences in text box and count
the number of words and display the count in message box. [10 M]
B) Create the application in ASP.Net that accepts name, password, age email id, and user id. All
the information entry is compulsory. Password should be Reconfirmed. Age should be within 21
to 30. Email id should be valid. User id should have at least a capital letter and digit as well as
length should be between 7 and 20 characters. [15 M]
Slip 28:
A) Write a program in C#.Net to read n numbers in an array and display it in reverse
order. [10 M]
B) Write a C#.NET program to create a table Patient (PID, PName, Contact No, Disease).
Insert five records into table and display appropriate message in message box. [15 M]
Slip 29:
A) Write a program in C#.Net to separate the individual characters from a String.
[10 M]
B) Write a C# .NET program to accept the details of customer (CName, Contact No,
and Email_id). Store it into the database with proper validation and display
appropriate message by using Message box. [15 M]
Slip 30:
A) Write a C# (Win Form).NET program to design following screen, accept the details
from the user. Clicking on Submit button Net Salary should be calculated and
displayed into the Textbox. Display the Message box informing the Name and Net
Salary of employee. [10 M]
B) Write a C#.NET program to accept the details Supplier (SupId, SupName, Phone No,
Address) store it into the database and display it. [15 M]