Loyola College B.Sc. Computer Science Nov 2012 Programming In C Question Paper PDF Download

LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034

B.Sc., DEGREE EXAMINATION – COMPUTER SCI. & COMPUTER APP.

FIRST SEMESTER – NOVEMBER 2012

CS 1501/CA 1501/CS1500 – PROGRAMMING IN C

 

 

 

Date : 08/11/2012             Dept. No.                                        Max. : 100 Marks

Time : 1.00 – 4.00

 

PART – A                                         

Answer ALL the questions:                                                                                     10 x 2 = 20 marks

           

  1. Define Identifiers.
  2. Write the use of conditional operator to form conditional expressions.
  3. What is the purpose of ‘putchar’ functions?
  4. What is the use of break statement?
  5. Define Recursion.
  6. What is an external variable?
  7. Define pointers.
  8. What is a structure?
  9. Write the primary advantage of using a data file.
  10. What is a stream pointer?

 

PART – B                                         

Answer ALL the questions:                                                                                     5 x 8 = 40 marks

           

  1. a) Draw a flowchart to display the largest of three numbers.

                                    (OR)

  1. b) Write notes on the data types available in C.

 

  1. a) Explain about Input and output functions in C.

                                    (OR)

  1. b) How does a while statement differ from do while statement? Explain with an example.

 

  1. a) Describe the different storage classes available in C

                                    (OR)

  1. b) How arrays are passed as argument to a function? Give example.

 

  1. a) With an example explain about the passing pointers to functions.

                                    (OR)

  1. b) Explain about the self referential structures.

 

  1. a)  Explain how to open and close a data file in C.

                                    (OR)

  1. b) Write any two input operations used in files.

 

 

 

PART – C                                         

Answer any TWO questions                                                                                    2 x 20 = 40 marks

 

  1. a) Explain the various operators in C with example.

 

  1. b) Write a C program to find the biggest of three numbers.

 

  1. a) Discuss in detail about the various looping statements in C.

 

  1. b) Write a recursive C program to calculate the factorial of a given number.

 

  1. a) Describe the File I/O function and their descriptions.

 

  1. b) Write a C program to swap the values using pointers.

 

 

 

Go To Main Page

 

Latest Govt Job & Exam Updates:

View Full List ...

© Copyright Entrance India - Engineering and Medical Entrance Exams in India | Website Maintained by Firewall Firm - IT Monteur