News:

Choose a design and let our professionals help you build a successful website   - ITAcumens

Main Menu

B.Sc Computer Science (Nov-2011) Madras University-Programming in C

Started by jagathesh, Dec 10, 2012, 01:51 PM

Previous topic - Next topic

jagathesh

B.Sc Computer Science (Nov-2011) Madras University, B.Sc (CS) , First Year, Semester- II, Programming in C, PC2A Question paper


Course: B.Sc B.Sc Computer Science       University/board: Madras University



University Name: Madras University
Name of the Degree: B.Sc Computer Science
Title of the Paper: Programming in C
Month & Year of Examination: November - 2011
Subject Code: PC2A
Semester: II
Year: First Year

Time: Three hours
Maximum: 100 marks

PART- A 
(10 * 3 = 30 marks)

Answer any TEN questions.
All questions carry equal marks.
Each answer should not exceed 50 words.

1. Explain about constants.
2. Write about types of operators.
3. What is the use of Break statement?
4. Write about if statement?
5. Explain about user defined data types.
6. Give short notes on string operations.
7. What is meant by array?
8. What is meant by static variable?
9. Explain about goto statement.
10. Write short notes on Arithmetic operators.
11. Explain about scopes of a variable.
12. Give notes on Increment and Decrement operators.

PART-  B
(5 * 6 = 30 marks)
Answer any FIVE questions.
All questions carry equal marks.
Each answer should not exceed 200 words.


13. Explain conditional operator with an example.
14. Explain switch statement with an example.
15. Write about notes on Passing arguments.
16. Explain about Bitwise operators.
17. What is union? Explain with an example.
18. What is a loop? Write a program to display the first n terms of the Fibonacci series.
19. What is recursion? Write a program to find the factorial of a given number using recursion.

PART - C 
(4 * 10 = 40 marks)

Answer any FOUR questions.
All questions carry equal marks.
Each answer should not exceed 500 words.


20. Explain about logical operators with examples.
21. Write a program to arrange the given set of numbers in ascending order.
22. Write a program to get the student name, register number, class, mark1, mark2, mark3 and mark 4. Calculate the total and average. Print the results.
23. Explain about pointers with examples.
24. Briefly discuss about control statements.
25. What are structures? Explain with examples.