Define a class (Name, Father name, Roll num, session, GPA, address, semester) and store the record of 10 students in c# windows Application. One should be able to search by name, roll num, session and GPA. Searched data should be displayed in the decesding order
Create a class called Matrix having the following data members
int rows;
int cols;
int mat[][].
Write a program to implement the following operations (the ones mentioned in comments) on Matrix.
The main() function of the above program is as below:
int main() {
Matrix m1(3,3); // it will initialize rows and cols
m1.getdata(); //accept the data in matrix
Matrix m2=m1; //copy one matrix contents into another
m2.putdata(); // display the contents of matrix
Matrix m3;
m3.putdata();
}
What is the difference between “image mapping” and “image slicing”?
. There are following two major issues associated with CPP programs:
• When a program is terminated, the entire data is lost.
• If you have to enter a large number of data, it will take a lot of time to enter them all in the different programs.
Suggest a solution and elaborate the same with the help of suitable examples.
Write a trigger for the Product table to ensure the list price can never be raised more than 15 Percent in a single change. Modify the above trigger to execute its check code only if the ListPrice column is updated (Use AdventureWorks Database).
Help in doing this : Create a function that takes as inputs a SalesOrderID, a Currency Code, and a date, and returns a table of all the SalesOrderDetail rows for that Sales Order including Quantity, ProductID, UnitPrice, and the unit price converted to the target currency based on the end of day rate for the date provided. Exchange rates can be found in the Sales.CurrencyRate table. ( Use AdventureWorks)
Write separate queries using a join, a subquery, a CTE, and then an EXISTS to list all AdventureWorks customers who have not placed an order.
1. Write a program that asks the user to input one number at a time and then the program should add the number to previous sum. If the user enters -1, then no more addition is to be done. All these numbers along with the sum value are to be stored in the file.
Once this is done, user will enter value of n, the program should be able to display which was the nth number entered and what was the sum at that time?
Explain with an example how one predefined data type can be converted to a user defined data type.