SET-I
1. (a) Draw a Flowchart for the following: The average score for 3 tests has to be greater than 80 for a candidate to qualify for the
          interview. Representing the conditional logic for generating reject letters for all candidates who do not get the required average
          & interview call letters for the others.
    (b) Explain the basic structure of C program.                                                                         [10+6]

2. (a) What is an expression? What kind of information is represented by an expression?
   (b) What is an operator? Describe several different types of operators that are included with in the C language with an example each.

3. (a) Explain about call by value with an example.
    (b) Write a program to generate Fibonacci series using with argument and return type.                               [8+8]

4. (a) Explain the process of accessing a variable through its pointer. Give an Example.
    (b) Write a C program using pointers to read in an array of integers and print its elements in reverse order.       [8+8]

                                                              SET-II
1. (a) Explain the functions of the following:     i) Preprocessor ii) Compiler iii) Linker.
    (b) Draw a flowchart to find maximum and minimum of the given three input numbers.                                  [6+9]

2. What are the different types of control statements available ’C’. Explain them withan example?

3. What is the advantage of using arrays ? Give syntax for declaration , accessing and printing one - dimensional array ? [16]

4. (a) Write a program and explain the working of malloc and calloc function.
    (b)Write short notes on any 4 String handling functions[8+8]

5. (a) What are Bit fields. What are its advantages. What is its syntax.
    (b) Write a C program to store the information of vehicles. Use bit fields to store the status information. Assume the
vehicle object consists of type, fuel and model member fields. Assume appropriate number of bits for each field. [8+8]


                                                                   SET-III

1. (a) Define Algorithm. (b) What is the use of flowchart ? (c) What are the different steps followed in the program development?




                                                                                                                           [6+2+8]

3. (a) Define an array. What are the different types of arrays? Explain.
   (b) Write a program to print the sum of the elements of matrix of order 3*3.                                          [8+8]



                                                                   SET-IV

1. (a) Write the various steps involved in executing a C program and illustrate it with a help of flowchart.
   (b) Candidates have to score 90 or above in the IQ test to be considered eligible for taking further tests. All candidates who do not clear
the IQ test are sent reject letters and others are sent call letters for further tests. Represent the logic for automating this task. [8+8]

2. (a) Explain briey about the History of `C' language. (b) What is the general structure of `C' program and explain. [8+8]

3. The annual examination is conducted for 50 students for three subjects. Write a program to read the data and determine the following:
   (a) Total marks obtained by each student. (b) The highest marks in each subject and the Roll No. of the student who secured it.
   (c) The student who obtained the highest total marks.                                                             [5+6+5]

4. (a) How to use pointer variables in expressions? Explain through examples.
(b) Write a ‘C’ Program to illustrate the use of pointers in arithmetic operations.                           [8+8]

                                                             SET-I
5. (a) What is the use of struct keyword? Explain the use of dot operator? Give an Example for each.
   (b) Write a C program to accept records of the different states using array of structures. The structure should contain
state,population,literary rate,and income.Display the state whose literary rate is highest and whose income is highest[6+10]

6. Explain the following operations with suitable programs (a) fseek() (b) ftell() (c) rewind() (d) ferror()              [16]

7. Explain the procedure for bubble sort and sort the following elements.
        23 21 43 12 56 22                                                                                                [10+6]

8. (a) Explain the different operations of stack datastructure.(Push,Pop,Display)
   (b) Write a program to implement queue using arrays.                                                                   [8+8]


                                                                    SET-II

6. (a) Explain the I/O operations on files.
    (b) Write a C program to read numbers from a file DATA, contains a series of integer numbers, and then write all odd
         numbers to a file to be called ODD and all even numbers to a file to be called EVEN.                     [8+8]

7. Explain the procedure for merge sort and sort the following elements.
        23 21 43 12 56 22                                                                                                 [10+6]

8. Write in detail about the following operations of single linked list:
        (a) Insertion (at start, at end, at given position)         (b) Traverse                                          [12+4]



                                                                   SET-III
4. Explain Call by Value and Call by reference with suitable examples.                                                    [8+8]

5. (a) Explain with an example how a structure can be organized in the ‘C’ language?
    (b) Write a C program to print maximum marks in each subject along with the name of the student by using structures.
         Take 3 subjects and 3 students records.                                                                 [8+8]

6. (a) Distinguish between the following functions.        i. Printf and fprintf.         ii. feof and ferror.
   (b) Write a program to copy the contents of one file into another.                                                     [8+8]

7. (a) Explain the procedure for binary search.
   (b) Write a program to implement Quick sort                                                                            [8+8]

8. What is a stack? Explain two different representations of a stack.
   Write functions for implementing these operations.                                                                      [16]


                                                                   SET-IV
4. (a) How to use pointer variables in expressions? Explain through examples.
    (b) Write a ‘C’ Program to illustrate the use of pointers in arithmetic operations.                          [8+8]

5. The annual examination is conducted for 50 students for three subjects. Write a program to read the data and determine the
following: (a) Total marks obtained by each student. (b) The highest marks in each subject and the Roll No. of the student
who secured it. (c) The student who obtained the highest total marks.                                              [5+6+5]

6. (a) What do you mean by functions? Give the structure of the functions and explain about the arguments and their return
values. (b) Write a C program that uses a function to sort an array of integers.                                 [8+8]

7. Explain the algorithm for selection sort and sort the following elements. 23 21 43 12 56 22                             [16]
8.(a) Explain the Single Linked List delete operations(at start, at begin, at given position) with an examples
(b) Write a program to implement Queue using arrays.   [10+6]

Paper

  • 1.
    SET-I 1. (a) Drawa Flowchart for the following: The average score for 3 tests has to be greater than 80 for a candidate to qualify for the interview. Representing the conditional logic for generating reject letters for all candidates who do not get the required average & interview call letters for the others. (b) Explain the basic structure of C program. [10+6] 2. (a) What is an expression? What kind of information is represented by an expression? (b) What is an operator? Describe several different types of operators that are included with in the C language with an example each. 3. (a) Explain about call by value with an example. (b) Write a program to generate Fibonacci series using with argument and return type. [8+8] 4. (a) Explain the process of accessing a variable through its pointer. Give an Example. (b) Write a C program using pointers to read in an array of integers and print its elements in reverse order. [8+8] SET-II 1. (a) Explain the functions of the following: i) Preprocessor ii) Compiler iii) Linker. (b) Draw a flowchart to find maximum and minimum of the given three input numbers. [6+9] 2. What are the different types of control statements available ’C’. Explain them withan example? 3. What is the advantage of using arrays ? Give syntax for declaration , accessing and printing one - dimensional array ? [16] 4. (a) Write a program and explain the working of malloc and calloc function. (b)Write short notes on any 4 String handling functions[8+8] 5. (a) What are Bit fields. What are its advantages. What is its syntax. (b) Write a C program to store the information of vehicles. Use bit fields to store the status information. Assume the vehicle object consists of type, fuel and model member fields. Assume appropriate number of bits for each field. [8+8] SET-III 1. (a) Define Algorithm. (b) What is the use of flowchart ? (c) What are the different steps followed in the program development? [6+2+8] 3. (a) Define an array. What are the different types of arrays? Explain. (b) Write a program to print the sum of the elements of matrix of order 3*3. [8+8] SET-IV 1. (a) Write the various steps involved in executing a C program and illustrate it with a help of flowchart. (b) Candidates have to score 90 or above in the IQ test to be considered eligible for taking further tests. All candidates who do not clear the IQ test are sent reject letters and others are sent call letters for further tests. Represent the logic for automating this task. [8+8] 2. (a) Explain briey about the History of `C' language. (b) What is the general structure of `C' program and explain. [8+8] 3. The annual examination is conducted for 50 students for three subjects. Write a program to read the data and determine the following: (a) Total marks obtained by each student. (b) The highest marks in each subject and the Roll No. of the student who secured it. (c) The student who obtained the highest total marks. [5+6+5] 4. (a) How to use pointer variables in expressions? Explain through examples.
  • 2.
    (b) Write a‘C’ Program to illustrate the use of pointers in arithmetic operations. [8+8] SET-I 5. (a) What is the use of struct keyword? Explain the use of dot operator? Give an Example for each. (b) Write a C program to accept records of the different states using array of structures. The structure should contain state,population,literary rate,and income.Display the state whose literary rate is highest and whose income is highest[6+10] 6. Explain the following operations with suitable programs (a) fseek() (b) ftell() (c) rewind() (d) ferror() [16] 7. Explain the procedure for bubble sort and sort the following elements. 23 21 43 12 56 22 [10+6] 8. (a) Explain the different operations of stack datastructure.(Push,Pop,Display) (b) Write a program to implement queue using arrays. [8+8] SET-II 6. (a) Explain the I/O operations on files. (b) Write a C program to read numbers from a file DATA, contains a series of integer numbers, and then write all odd numbers to a file to be called ODD and all even numbers to a file to be called EVEN. [8+8] 7. Explain the procedure for merge sort and sort the following elements. 23 21 43 12 56 22 [10+6] 8. Write in detail about the following operations of single linked list: (a) Insertion (at start, at end, at given position) (b) Traverse [12+4] SET-III 4. Explain Call by Value and Call by reference with suitable examples. [8+8] 5. (a) Explain with an example how a structure can be organized in the ‘C’ language? (b) Write a C program to print maximum marks in each subject along with the name of the student by using structures. Take 3 subjects and 3 students records. [8+8] 6. (a) Distinguish between the following functions. i. Printf and fprintf. ii. feof and ferror. (b) Write a program to copy the contents of one file into another. [8+8] 7. (a) Explain the procedure for binary search. (b) Write a program to implement Quick sort [8+8] 8. What is a stack? Explain two different representations of a stack. Write functions for implementing these operations. [16] SET-IV 4. (a) How to use pointer variables in expressions? Explain through examples. (b) Write a ‘C’ Program to illustrate the use of pointers in arithmetic operations. [8+8] 5. The annual examination is conducted for 50 students for three subjects. Write a program to read the data and determine the following: (a) Total marks obtained by each student. (b) The highest marks in each subject and the Roll No. of the student who secured it. (c) The student who obtained the highest total marks. [5+6+5] 6. (a) What do you mean by functions? Give the structure of the functions and explain about the arguments and their return values. (b) Write a C program that uses a function to sort an array of integers. [8+8] 7. Explain the algorithm for selection sort and sort the following elements. 23 21 43 12 56 22 [16] 8.(a) Explain the Single Linked List delete operations(at start, at begin, at given position) with an examples
  • 3.
    (b) Write aprogram to implement Queue using arrays. [10+6]