c-programming Question Papers - Free download as PDF File (.pdf), Text File (.txt) or read online for free proiba a prominent knowledge center#http://www.proiba.com/contact-us
C programming proiba -c programming question paper
1. Total Marks: 70] Date:
Instructions to candidates
1. Q. No. 1 Answer any 10 out of 15
2. Write any 10 questions from the Q. No 2 which remarking 15 questions
3. Figures on right side indicates full marks.
“C” PROGRAMMING LANGUAGE
P R O I B A – A Prominent Knowledge Center
1. Short Questions: [10*2=20]
1. Write a program to check whether a number is even or odd.
2. Explain about file inclusion directive.
3. rite down the difference between strlwr() and strupr().
4. Explain about dynamic memory allocation.
5. Write down the Characteristic of c language.
6. Define structure and Compare between structure and Union.
7. Explain about Unary arithmetic operator.
8. Write a program to find out greatest among two number using conditional operator.
9. Write a program to swap two numbers.
10. Write a program to calculate area of a circle.
11. Write a program to calculate V=u^2+2as
12. Write a program to Print 10 to 1.
13. Write a program to Chek a number is positive/negative/zero.
14. Write a program to find out the least significant digit of a number.
2. Programming Questions. (Any Ten) [5*10=50]
1. Write a program to sort the element of an array.(using bubble sort)
2. Write a program to calculate mulitiplication of individual element of an array.
3. Write a program to Perform matrix multiplication.
4. Serise : 1 + 3/3^3 + 5/5^5 +......+ n/n^n.
QUESTION PAPER2
2. 5. Write a program to print.
* * * * *
* * * *
* * *
* *
*
6. Write a program to check whether a number is armstrong or not.
7. Write a program to calculate sum of individual digit of a number.
8. Write a program to calculate factorial of a number using recursion.
9. Write a program to perform arithmetic operation based on an inputed operator.
10. Write a program to calculate salary of an employee using structure.
11. Write a program to find out smallest between two number using pointer as a return type to
function.
12. Explain about string manipulation with the help of strlen(),strcmp(),strcat().
13. What is operator.Explain about bitwise operator with example.
14. Write a program to calculate average of 50 student using structure.
15. Write a program to convert lower case string to upper case string without using strupr().
**********ALL THE BEST**********