Question Sets For C - Programming: 10. Write A C Program To Calculate Simple Interest and Compound Interest Print
Question Sets For C - Programming: 10. Write A C Program To Calculate Simple Interest and Compound Interest Print
Question Sets For C - Programming: 10. Write A C Program To Calculate Simple Interest and Compound Interest Print
9. Electricity bill is computed on the basis of units consumed as follows: Units Consumed Rate per unit First 500 units Rs. 1.40 per Unit Next 1000 units Rs. 1.60 per Unit Excess Rs. 1.80 per Unit If the bill amount exceeds Rs. 10,000 surcharge of 5% of bill amount is added to the bill. Write a C program to input customer number, customer name, units consumed and then print customer number, customer name, and bill amount. 10. Write a C program to calculate simple interest and compound interest print simple interest and table of Compound Interest 11. Write a program in C to input cost of a car. Assuming that the rate of depreciation is 35%, calculate depreciated value for each of the first 5 years. Print the detail in table form with columns for year, depreciation of each year and depreciated value. Use WDV method.
Arrange the data in Alphabetical order of NAME. Arrange the data in Un-alphabetical (Z-A) order of NAME. Arrange the data in ascending order of SALARY. Arrange the data in Alphabetical order of DEPT and within DEPT ascending order of SALARY. Arrange the data in Alphabetical order of DEPT and within DEPT alphabetical order of NAME.
2. Create the following worksheet and answer the following: (solved any five)
To list only those records where FNAME starts with an alphabet S. To list only those records where LNAME ends with an alphabet A. To list only those records where LNAME has N as the second last character. To list only those records where RESULT is PASS. To list only those records where PER is more than 75 percent.
Write steps to obtain the department wise subtotals of the salary. 4. The following data has been entered in a worksheet
a) To calculate the total in B6, C6 and D6 b) To construct the 3-D Bar diagram c) To construct pie-chart diagram
Based on these values, write steps a) To find the annual production in Column F b) To draw column chart of production of Rice and Wheat for 4 years c) To draw Pie chart for the production of year 2002.
7. Prepare Pivot Table in cell A25 of the same worksheet, displaying CITY wise (1) average salary (2)
maximum salary by taking CITY along row and SALARY in Data area
8. Insurance agents name and his total business have been entered in column A and B respectively for 20 agents. First row contains heading next rows contain data. Write steps to compute commission and commission is 5% of the business upto to Rs 1,00,000 and 10% on additional business. Bonus is 2% of business exceeding Rs 5,00,000 only when business exceeds 5,00,00 otherwise it is 0. 9. Answer the following
Using straight line method, explain the procedure to display year wise depreciation and depreciated value for each year till the life of Machinery. Use your own cell addresses.
10. Consider the following worksheet containing the cost of an Asset, the rate of depreciation and the life of that asset in year. Using reducing balance method explain the procedure to display year-wise depreciation and the W.D.V for each year till the life of the Asset in column, D,E, and F respectively.
11. Answer the following in MS-Excel. The following data has been entered in a worksheet
Write steps to compute the GRADE in column C as follows: Marks Grade Less than 45 C 45 or more and less than 60 B 60 and above A
12. A worksheet contains employee number and monthly gross pay entered in column A and B respectively in the first 16 rows. In first row headings are entered and in remaining rows data is entered. Write steps to compute annual income and income tax in column C and D respectively where income tax is to be calculated as follows: Annual income Income tax First 100000 Nil Next 100000 20% Excess 30%
Explain the procedure to calculate (i) HRA as 20% of BASIC (ii) DA as 25% of BASIC (iii) Pf as 5% of BASIC (iv) Net as BASIC+HRA+DA-PF. Fill the entire worksheet.
Write a formula in cell C2 to calculate tax as follows SALES TAX First Rs 10000 5% NEXT 15000 8% Excess 10% 16. The following data has been entered in a worksheet
Write a formula in cell C2 to calculate discount as follows: SALES DISCOUNT First 10000 5% Above Rs 10000 and upto Rs 25000 8% Above Rs 25000 and upto Rs 40000 10% Above Rs 40000 12% QUESTION SET FOR :- MYSQL
VII)
VIII)
1. Open database profile a. Display emp_names from emp_prof where emp_name second character of emp_name is a and last character of name is s. (like _a%s)
Display emp_names from emp_prof where 2nd last character of the name is e. (like %e_)
X)
2. Open Database Profile
Display emp_name from emp_prof where emp_name second character of name is a and contains p somewhere after thereafter.(like _a%p%) 3. Open Database Book
4. To display reporting status of employees as <employee name>, <designation of employee> is reporting to <boss name>, <designation of boss>. 5. To find number of employees in each gender. XII) 1. 2. Open Database Profile
1. 2.
Display emp_name from emp_prof where name contains s first and then i somewhere thereafter. 3. Display emp_name from emp_prof where emp_name has exact 5 charecters. ( like _ _ _ _ _ ) 4. Open Database Book 5. To list name of employees and name of their boss. Label the two column properly (employee and
boss)
XII)
1. Open Database Profile 1. Display all records from table cust_prof where uppercase A is present in fname. 2. Display emp_name and country where reperesenting country (india,australia)
2. Open Database Book 1. Using join display location, target and branch head, employee name from branch and empl table.
XIII) 1. Open Database Profile 1. Display emp_name from emp_prof where emp_name starting with
alphabet s. 2. Open Database Book 1. To produce the output as: <name> is working as <desg>, and name the output is DESIGNATION. 2. To display age, ignoring the duplicate from empl table. XIV)
1. Open Database Profile
1.Display emp_name and age where age is not below 25 2. Display emp_name from emp_prof where emp_name starting with alphabet s. 2. Open Database Book
1. To list name of employees and name of their boss. Label the two column properly (employee and boss)
XV)
1. Open Database HRD
1. Display employee_id, first_name, last_name in ascending order of first_name and last_name. 2. Display all contents in descending order employee_id. (order by .. desc)