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

Loyola College B.Sc. Computer Science April 2007 Introduction To C Programming Question Paper PDF Download

                LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034

B.Sc. DEGREE EXAMINATION – COMPUTER SCIENCE

HC 01

 

FIRST SEMESTER – APRIL 2007

CS 1500 – INTRODUCTION TO C PROGRAMMING

 

 

 

Date & Time: 24/04/2007 / 1:00 – 4:00 Dept. No.                                             Max. : 100 Marks

 

 

PART A

 

Answer all questions:                                                                                    10 X 2 = 20

 

  1. Define flowchart. Give an example
  2. What do you mean by output specifications in the problem definition phase?
  3. What is an identifier?
  4. What is Ternary Operator? Give e.g.
  5. Write a Program in C that reads a line of text into the computer and then writes it back.
  6. List out any four-string library functions in C.
  7. Define function.
  8. How will you initialize a three dimensional array. Give example
  9. What is pointer variable?
  10. What is User Defined Data type? Give example.

 

 

PART B

 

Answer all questions:                                                                              5 X 8 = 40

 

11 a) Discuss the steps involved in developing a computer programming.

Or

  1. b) Write an algorithm to find the biggest among four numbers.

 

12 a) Explain any four different types of operators in C Language with an example.

Or

  1. b) Describe basic data types and its memory range in C with example.

 

13 a) Write a program in C to swap two values using call by reference.

Or

  1. b) A student’s letter grade is calculated according to the following schedule. Write a C program

that accepts a student’s numerical grade, converts the numerical grade to an equivalent letter

grade and display the letter given below.

Numerical grade                                                letter grade

>= 90                                                                A

>=80 and < 90                                                   B

>= 70 and < 80                                                  C

>=60 and < 70                                                   D

< 60                                                                  F

 

 

 

 

14 a) Discuss the various storage classes in C.

Or

  1. b) What is a recursive function? Explain with an example.

15 a) Define union with example. How it’s differ from structure.

Or

  1. b) Define union variable named car that contains an integer named year, an array of ten

characters named name, and an array of ten characters named model.

 

 

PART C

 

Answer any two questions:                                                                                  2 X 20 = 40

 

16a) Discuss briefly about the problem definition phase in Computer Programming.

  1. b) Discuss briefly about the types of Constant in C with example.

17a) Define Array. Give an example for single dimensional array.

  1. b) What is a structure? Explain the accessing and processing of structure with example.

18a) Explain briefly about Pointer Arithmetic with example.

  1. b) Explain the various file related operations available in C.

 

 

Go To Main Page

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