Loyola College B.Sc. Computer Science Nov 2006 Introduction To C Programming Question Paper PDF Download

                 LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034

B.Sc. DEGREE EXAMINATION – COMPUTER SCIENCE

AK 01

FIRST SEMESTER – NOV 2006

CS 1500 – INTRODUCTION TO C PROGRAMMING

(Also equivalent to CSC 500)

 

 

Date & Time : 01-11-2006/1.00-4.00     Dept. No.                                                       Max. : 100 Marks

 

 

PART A

Answer all questions:                                                                              10 X 2 = 20

  1. What is an array variable?
  2. Define Algorithm.
  3. What is an escape sequence? What are its Advantages?
  4. What are parts of C Character Set?
  5. Give the arithmetic Operator precedence in C.
  6. List out any four mathematical functions in C.
  7. List out the bitwise operators in C.
  8. State the advantages of using Function in C Program.
  9. Give the construct of Structure.
  10. Define union.

PART B

Answer all questions:                                                                              5 X 8 = 40

 

11a) Discuss briefly the efficiency of algorithm

Or

  1. b) Define flowchart. List out the symbols. Give an example.

 

12a) Briefly discuss various classification of statements with example.

Or

  1. b) Explain the following topics with suitable example.
  2. Constant
  3. Keywords
  • Identifiers

 

13a) Demonstrate through program any four String functions in C.

Or

  1. b) Briefly discuss while and for loop with example.

 

14a) Define function. Explain any two types of user-defined function.

Or

  1. b) Explain the various storage classes in C language.

 

15a) What is structure? Give example for passing structure to functions.

Or

  1. b) Explain creating a data file with example.

PART C

 

Answer any two questions:                                                                                  2 X 20 = 40

 

16a) Discuss in detail about steps involved in computer programming.

  1. b) Write the different types of operators in C Language. Explain the ternary operator with example.

17a) Write a program to enter some text and display the text in reverse order.

  1. b) Discuss the following statements
  2.   continue       2. break            3. goto

18a) Write a program to read data from the keyboard and write the content to a file called “input”

  1. b) write a program to define structure with following fields.

Sno, Regno, Vehicle_Type, Fuel

Develop a program in C to read and display the data of the structure.

Go To Main Page

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