Sunday, May 31, 2015

Dec 2010 BE SCSX1002 Programming in C Sathyabama University

Register Number







                               
SATHYABAMA UNIVERSITY
(Established under section 3 of UGC Act, 1956)

Course & Branch: B.E/B.Tech- Common to ALL Branches (Except E&C)
Title of the Paper: Programming in C                    Max. Marks: 80
Sub. Code: SCSX1002                                           Time: 3 Hours
Date: 16/12/2010                                                    Session: FN
______________________________________________________________________________________________________________________

PART - A                (10 X 2 = 20)
Answer ALL the Questions
1.     Define variable. Give Example.

2.     List any four math functions.

3.     Write a code segment using while statement to print the numbers from 10 down to 1.

4.     What is the need of command line argument?

5.     What are the advantages of union over structure?

6.     Write a C program to reverse the given string.

7.     What is meant by malloc() function? Give example.

8.     Differentiate pointers with arrays.

9.     What is meant by preprocessor directives?

10.   Give the importance of graphics packages.



   PART – B                    (5 x 12 = 60)
Answer All the Questions

11.   What are the different operators available in C? Explain with examples.
(or)
12.   Explain the input/output functions of ‘C’ with suitable example.
       
13.   Explain the following conditional statements.
        (a) nested if-else statement
        (b) switch-case statement
(or)
14.   (a) Write a C program that reads a number and display whether the number is prime or not using function.
        (b) Write short notes on storage class specifiers.

15.   Write a C program that gets and displays the report of n students with their personal and academic details using structures.
(or)
16.   Write a C program to perform the multiplication of two matrices.

17.   Differentiate pass by value and pass by address in C. Give example.
(or)
18.   Explain the different types of memory allocation functions with examples.

19.   Discuss the file handling functions of C in detail with suitable example.
(or)
20.   Discuss the C functions used in graphics in detail with suitable example.


Share This
Previous Post
Next Post

B.E Civil Engineer Graduated from Government College of Engineering Tirunelveli in the year 2016. She has developed this website for the welfare of students community not only for students under Anna University Chennai, but for all universities located in India. That's why her website is named as www.IndianUniversityQuestionPapers.com . If you don't find any study materials that you are looking for, you may intimate her through contact page of this website to know her so that it will be useful for providing them as early as possible. You can also share your own study materials and it can be published in this website after verification and reviewing. Thank you!

0 comments:

Pen down your valuable important comments below

Search Everything Here