Saturday, April 22, 2017

FE MECH Practical exam question Bank

1. Write a program to accept basic salary from the keyboard. Calculate the gross salary that includes basic salary, 50% DA and 40% HRA.
2. Write a program to find the factorial of a number.
3. Write a program to find n Fibonacci elements.
4. Write a program to calculate the value of the following series.
1+1/2+1/3+1/4+....+1/n
5. Write a program to calculate the value of the following series.
1/2 - 3/4 + 5/6 -7/8 ….. up to n term.
6. Write a program to calculate the value of the following series.
1+1/2!+1/3!+1/4!+....+1/n!
7. Write a program to calculate the value of the following series.
8. 1-1/2!+1/3!-1/4!+.… up to n term
9. Write a program to display the following for the users specified number of lines.
1
12
123
1234


10. Write  a program to display the following asking the user for the number of lines
A
BC
DEF
GHIJ
KLMNO

11.   Write  a program to display the following asking the user for the number of lines
A
BC
DE F
G H I J
KLMNO


12. Write a program to display the following asking the user for the number of lines.
A
ABA
ABCBA
ABCDCBA
ABCDEDCBA
ABCDEFEDCBA

13. Write a program to find GCD and LCM of two numbers.
14. Write a program to find the factorial of a number using a function.
15. Write a program to find value of y using recursive function, where y=xn.
16. Write a program to accept ‘n’ integers from user into an array and display the average of these numbers.
17. Write a program to find transpose of a matrix.
18. Write a program to find the sum of diagonal elements of matrix.
19. Write a program to search to search given number in the array.
20. Write a program to accept a string, copy it into another string and display this new string without using string.h header file.
21. Write a program to accept two strings, join them and display the result without using string.h header file.
22. Write a program to count blank spaces, digits, vowels and consonants in the string.

Lecture PPTs of MIS , Module 4 to Module 6

 Module 4 Social Computing (SC): Web 3.0 , SC in business-shopping, Marketing, Operational and Analytic CRM, E-business and E-commerce B2B B...