Wednesday, 20 March 2013

PRO IN C


Nove-2008                                               50401/SAE1A

Part-A

  1. Define the term variable and constant.
  2. What is an expression in C language?
  3. Specify the use of printf( ) and scanf( ) functions.
  4. What is an unary operator ? Give example.
  5. What are formal arguments?
  6. Define the term recursion.
  7. What are automatic variable?
  8. Specify the statement used for declaring an integer array.
  9. What is structure data type?
  10. What are bitwise operators?
  11. Define the term pointer data type.
  12. Mention the statements used for opening and closing files in C language.

Part-B

  1. What is an operator in C? Mention different operator types with example.
  2. Write a C program to find the biggest of the given n numbers.
  3. Distinguish while and do-while control structures.
  4. Compare structures with Unions.
  5. Write a C program to find the sum of n numbers stored in an integer array.
  6. Explain briefly about pointers.
  7. Write a note on user Defined Data Types.

Part-C

  1. Explain various data types of C language with examples
  2. Explain the following control structures.
a)      Switch-case
b)      If-else
  1. What is meant by parameter passing? Explain any two parameter passing methods with example.
  2. Explain the method of passing pointers to functions with an example.
  3. Write a C program to open, read and display the contents of a text file.
 

APRIL-2009                                       SAE1A


PART-A

  1. What are keywords? Give examples.
  2. What is meant by declaration? Give an example.
  3. What are library functions? Give an example.
  4. Specify the syntax used for ‘for’ statement.
  5. Mention the use of ‘break’ and ‘continue’  statements.
  6. What are function prototypes?
  7. Specify the role of static variables.
  8. What is a string? Give an example.
  9. Mention any two bitwise operators.
  10. How do you declare a multidimensional array?
  11. Specify the method of declaring a integer pointer.
  12. Mention any two file manipulation statements.

PART-B

  1. Explain the character set of C.
  2. What are constants? How they are declared? Mention different constant types.
  3. Explain various relational and logic operators.
  4. Write a C program to find the average of given numbers.
  5. What are nested control structures? Give an example.
  6. What are nested by storage class? Explain.
  7. Write short notes on unions.

PART-C

  1. Explain the following
a)      Expressions
b)      Unary operators
c)      Shorthand Assignment Operators.
d)     Header files
  1. Write a C program to count the number of digits of the given integer number.
  2. Explain the following control structures:
a)      While-do
b)      Switch
  1. Write a C program to arrange the numbers in ascending and descending orders.
  2. Write short notes on:
a)      Pointers
b)      Files
   


NOVE-2009                                                   SAE1A

PART-A

  1. Write the four groupings of C characters.
  2. Define variable.
  3. Give the syntax of GOTO statement
  4. Give the syntax of break and continue statements
  5. Write the format specification for printing a real number.
  6. What do you mean by function prototype?
  7. What is a recursive function?
  8. Define an array.
  9. List any four bitwise operators.
  10. What is the difference between union and structure?
  11. Define pointer
  12. Write the purpose of fopen( ) function

PART-B

  1. Explain any five relational operators in C.
  2. Write a program in C to calculate simple interest.
  3. Explain nested IF-ELSE statement.
  4. Develop a program in C using function with arguments and return values.
  5. Write a program in C to find the sum of n numbers stored in an array.
  6. Explain in brief about structures.
  7. Write short note on defining and opening a file.

PART-C

  1. Write a program in C to swap two numbers.
  2. Code a program in C to compute x to the power n using FOR loop.
  3. What are the four storage classes in C? Explain.
  4. Discuss two dimensional arrays.
  5. A file named DATA contains a series of Integer numbers. Code a program to read these numbers and the write all odd numbers to a file to be called ODD and all even numbers to file to be called EVEN.


APRIL-2010                                                                           SAE1A

PART-A

  1. What are constants?
  2. What are the Relational Operators in C?
  3. What is the purpose of conditional operator?
  4. What is the use of “\n”?
  5. Define: Recursion.
  6. What is a static variable? When should be used?
  7. What is meant by prototyping?
  8. What is an array variable? How does it differs from an ordinary variable?
  9. What are self-referential structures?
  10. Mention the features of ‘union’ data type.
  11. Write the advantages of pointers.
  12. What is the use of append in the handling?

PART-B

  1. Write short notes on: Declarations and Expressions in C.
  2. Explain any FOUR library functions with examples.
  3. Write a C program to find the sum of odd integers between 1 and n.
  4. Compare ‘while’ and ‘do-while’ statements.
  5. Write a C program to find the biggest of given n numbers.
  6. Explain about the logical Bitwise operators with examples.
  7. Discuss briefly about pointer declarations with exmples.

PART-C

  1. Write a C Program to evaluate the series  S=1+1/2+1/3+………+1/N
  2. Explain about various Data Input and Output Functions in C with suitable examples.
  3. Write a C program which calls a function reverse( ) which accepts a string and displays its reverse.
  4. Explain about passing arrays to functions with an example C program.
  5. Describe in detail. File Handling functions in C with examples.

NOVE-2010                                                                                       SAE1A

Part-A

  1. Write a note on: Character set.
  2. What are logical operators?
  3. Write a note on: scanf( ) function..
  4. Give the general syntax of ‘for’ statement.
  5. Write the purpose of ‘break’ statement.
  6. What are functions?
  7. Define: Actual parameters.
  8. What are static variables?
  9. Define: Structures.
  10. Write the purpose of ‘~’ operator.
  11. Define: pointers.
  12. How to close a data file?

Part-B

  1. Discuss in detail, different types of constants with examples.
  2. Discuss about printf( ) function with examples.
  3. What are Nested control structures?  Explain with examples.
  4. Write a C program to find the sum of even integers between 1 and n.
  5. What is recursion?  Explain with example.
  6. Compare structure with unions.
  7. Discuss briefly about operations on pointers with examples.

Part-C

  1. Explain the usage of any five commonly used library functions in C with suitable example.
  2. Write a C program to evaluate the series  1+ 1/3+1/5+….upto 15 terms.
  3. Explain about various storage classes in C with examples.
  4. Write a C program to implement multiplication of two given matrices.
  5. Explain about arrays of pointer with examples.


APRIL-2011                                                               SAE1A

PART-A
1    1.   What is a keyword?
      2.   Give the syntax of conditional operator.
      3.  Give the syntax of IF ELSE statement.
      4. Write the format specification for printing a real number.
      5. Write the general form of C functions.
      6. What is an external variable?
      7. Write the use of bitwise operations.
      8. Give the general form of multidimensional arrays.
      9.   What is the difference between union and structure?
      10.   What do you mean by pointers in C?
      11.   What is the use of rewind() function?
      12.   What is the general form of declaring and opening a file?

PART-B

      13.   What is a variable? Give the rules for constructing a variable.
      14.   Write a short note on: a) C data types   b) constants
      15.   Write a program to find the biggest of three numbers using nested if else statement.
      16.   Write a program in C to illustrate recursion.
      17.   Explain automatic variables.
      18.   Develop a program in C to sort n numbers stored in an array.
      19.   Write a short note on fprintf and fscanf function.

PART-C

       20.   Explain the various operators available in C.
       21.   Explain WHILE and FOR looping statements in C.
       22.   Define a function called swap. Use this function to interchange the values stored in two variable in the     main function.
       23.   Define a structure type, struct personal, that would contain person name, date of joining and salary. Using the structure, write a program to read this information for once person from the keyboard and print the same on the screen.
       24.   A file named DATA contains a series of integer numbers. Code a program to read these 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.

NOVE-2011                                                                                                   SAE1A

PART-A

      1.       What is an identifier?
      2.       What is an escape sequence?
      3.       What is an expression?
      4.       Write the syntax of switch statement.
      5.       What is the use of break statement?
      6.       What is the purpose of getchar( ) function?
      7.       What is recursion?
      8.       What is local variable?
      9.       Define: Array.
     10.   What is a structure?
     11.   What is a pointer?
     12.   What is a file?

PART-B

     13.   Describe the four basic data types in C.
     14.   Explain the string oriented I/O functions with examples.
     15.   Write a C program to convert a line of lower case text to upper case.
     16.   How functions are defined in C? Explain with an example.
     17.   Give a brief account on self referential structure.
     18.   Explain call by reference with an example.
     19.   Write a C program to copy the concept of one file to another file.

PART-C

     20.   Describe the various types of operators in C.
     21.   Describe the various looping statements in C with examples.
     22.   Discuss the various storage classes in C.
     23.   Write a C program to sort the given set of n names in alphabetical order.
     24.   Explain the important file handling functions in C with examples.


APRIL-2012                                                                                       SAE1A

PART-A

      1.       What is a variable?
      2.       What is a character constant?
      3.       List any four unary operators in C?
      4.       Write the syntax of if-else statement.
      5.       What is the purpose of comma operator?
      6.       What is the use of gats( ) function?
      7.       State any two advantages of using functions.
      8.       What are the two principle components of a function definition?
      9.       What is an array?
      10.   What is union?
      11.   How to declare a pointer variable?
      12.   What are the primary advantages of using a data file?

PART-B

      13.   List and explain any five library functions in C.
      14.   Explain the looping statements in C with examples.
      15.   Write a C program to find the biggest of the given three numbers.
      16.   What is recursion? Explain with an example.
      17.   How to pass an array to a function? Explain.
      18.   Describe various modes of opening a data file.
      19.   Write a note on operations on pointers.

PART-C

      20.   Explain the various operators supported by the C language.
      21.   Describe the various data I/O functions in C.
      22.   Explain the four storage class specifications in C.
      23.   How to pass a structure to a function? Explain with an example.
      24.   Write a C program to sort the given set of n numbers using pointers.


NOVE-2012                                                                                       SAE1A

PART-A
     
      1.       What are keywords?
      2.       List the four data type qualifiers.
      3.       What is an operator?
      4.       Write the syntax of while statement in C.
      5.       What is the use of continue statement?
      6.       Why is the go to statement generally discouraged in C?
      7.       What is recursion?
      8.       Define scope of a variable.
      9.       What are multidimensional arrays?
     10.   How to access the elements of a structure?
     11.   What is the use of address operator?
     12.   What is a file?

PART-B

     13.   Explain the four types of constants in C.
     14.   Give a brief account on character related I/O functions.
     15.   Write a C program to find the factorial value of an interger.
     16.   Write a note on storage classes in C.
     17.   Give a brief account on array of pointers.
     18.   Describe bitwise operators in C.
     19.   Explain the different modes of opening a file.

PART-C

     20.   List and explain any ten library functions in C.
     21.   Explain the various branching statements in C with examples.
     22.   What is a function? How functions are defined in C? Explain with an example program.
     23.   Write a C program to sort the given set of n numbers.
     24.   Explain the following with examples.
a)      Call by Value
b)      Call by reference.

APRIL-2013                                                                                            SAE1A

                                                 PART-A
1. What is an expression?
2. What is symbolic constant?
3. What is library function?
4. Write the syntax for getchar( ) function.
5. What is the use of break statement?
6. What is looping?
7. What is a function?
8. Define life time of a variable?
9. What is a structure?
10. List the bitwise operators in C.
11. What is the use of indirection operator?
12. What is file pointer?

                                                PART-B

13. What is a statement? Explain the three classes of statements in C.
14. Write a note on I/O functions in C.
15. Write a C program to check whether the given string is palindrome or not.
16. Explain the storage classes in C.
17. Write a C program to sort the given set of n numbers.
18. What is pointer? How pointer are declared in C?
19. Write a note on pointers and two dimensional arrays.

                                           PART-C

20. a) Describe the four data types in C.
      b) Explain the use of conditional operator in C with an example.
21. Explain the various control statements in C with example.
22. What is recursion? Write a recursive program to find the factorial value of an integer.
23. How to pass an array to a function? Explain with an example.
24. List and explain the important file handling functions in C with examples.

NOVE-2013                                                                 SAE1A

PART-A

1. Define: String Constant. Give an example.
2. Write a note on conditional operator.
3. What is the use of ceil ( ) and floor ( ) functions?
4.What is the purpose of putchar( ) function?
5. Write a note on Do-While statement.
6. Write the use of comma operator.                                                                                                            
7. Give the general form of a function prototype.
8. What is the purpose of the return statement?
9. What are automatic variables?
10. How are individual array elements identified?
11. What are logical bitwise operators?
12. Write a note on Stream-Oriented data files.

PART-B

13. Discuss about identifiers and keywords with examples.
14. Write short notes on Expressions in C.
15. Compare while and for loops.
16. Discuss the use of break and continue statements with examples.
17. Write about External and Static Variable with examples.
18. How will you define and process one-dimensional arrays in C? Give examples.
19. What are Unions? Compare them with Structures.

PART-C

20. Write a C program ti find all possible roots of a Quadratic Equation Ax2+Bx+C=0.
21. Explain the usage of various Data Input and Output Functions with suitable examples.
22. What are multifile programs? Explain with example.
23. Explain about user defined Data types with examples.
24. Write a C program to sort a list of strings using pointers.

APRIL-2014                                                                    SAE1A

                           PART-A
1. Define : Constant.
2. Write the syntax of declaring a variable.
3. What is a control statement?
4. List various unformatted input functions.
5. Mention any two categories of functions
6. What is the use of return statement in C?
7. Write the general format of if....else statement.
8. Write the general form of array declaration.
9. List any two rules for initializing structures.
10. Define :pointer.
11. What is a file?
12. Write the meaning of the statement a=&b;

                     PART-B
13. Briefly explain three classes of data types in C.
14. Explain the working principle of switch statement with an example.
15. Write a C program to calculate and print first 'n' Fibonacci numbers.
16. Explain the concept of any two storage classes in C.
17. Write a short note on: 'Multidimensional Arrays'.
18. Explain the concept of opening and closing a file.
19. Describe the declaration and initialization of pointer variable.

                 PART-C
20. List and explain different categories of operators in C with suitable examples.
21. Explain any two constructs for performing loop operations with syntax and examples.
22. Discuss the concept of function, return values and their types in detail
23. Distinguish between structure and union.
24. Write a C program to arrange the names in alphabetical order using pointer.

NOVEMBER 2014                                                       SAE1A

                                   SECTION A

1. What is an identifier?
2. What is a statement?
3. Define symbolic constant.
4. What is meant by selection?
5. What is the purpose of break statement?
6. What is the minimum number of times that a do.. While loop can be executed?
7. What is a global variable?
8. Define actual argument.
9. Define array.
10. What is self referential structure?
11. What is a file?
12. Write the syntax of fopen() statement.

                                     SECTION B.

13. Describe the various types of constants in C.
14. Explain the function of while statement with an example.
15. Write a C program to convert a line of lower case text to upper case.
16. Give a brief account on Function prototype.
17. How to pass an array to a function? Explain with an example.
18. Write a note on Union.
19. What is pointer? How pointer variables are declared? Explain.

                                     SECTION C

20. Describe the various types of operators in C.
21. Describe the commonly used I/O functions in C with examples.
22. Discuss the various storage classes in C.
23. Write a C program to sort the given set of n names in alphabetical order.
24. Write notes on :
 (a) Passing pointers to function
            (b) Arrays of pointers.

APRIL-2015                                                                    SAE1A

PART- A

1. What are Identifiers?
2. Write a note on : Assignment Statement.
3. What are Escape Sequences ? Give an example.
4. Write a note on : Continue statement.
5. What are Register Variables?
6. Define : Recursion.
7. What are Formal Arguments?
8. Define : Arrays.
9. Give a suitable declaration for time using structure.
10. Write a note on : * (indirection operator).
11. What is meant by Call by Reference?
12. Define : file.

PART-B

13. Discuss briefly about different data types in C with examples.
14. Discuss the usage of Relational and Logical Operators with examples.
15. Write about gets( ) and puts( ) functions with examples.
16. Write a C program to convert a line of lowercase text in to uppercase.
17. What are function prototype? Explain with examples.
18. Summarize the rules for writing a one-dimensional array definition.
19. Write a C program to display array elements and their corresponding array addresses.

PART-C

20. Write a C program to calculate the roots of a Quadratic equation Ax2+Bx+C+0.
21. Explain about different control structures in C with examples.
22. Write a C program to find the value of a Binomial coefficient.
23. Explain  about various bitwise operators with examples.
24. Discuss in detail, opening and closing a data file with suitable examples.

Nove- 2015                                                                       SAE1A

Part -A

1. What is a keyword?
2. List any four math functions.
3. Write the general form of the conditional operator.
4. Mention any two formatted functions in C.
5. What is meant by recursion?
6. Write the format of function prototype.
7. Distinguish between break and continue.
8. Write the syntax for declaration for a string variable.
9. Define structure.
10. Mention the operator to access the memory address of a variable.
11. Define file.
12. What is the use of typedef?

Part -B

13. What are the rules for evaluation of expression?
14. Explain the execution of ' for loop' with an example.
15. Write a C program to compute the sum of the digits of a given integer number.
16. Distinguish between Automatic and External variables. Give examples.
17. Write a C program to check whether the given string is palindrome or not.
18. Write short notes on 'pointer'.
19. List the various rules of pointer operations.

Part -C

20. Discuss various types of Constants in C.
21. What are the various forms of if statement? Explain any two of them with syntax and examples.
22. Write a C program that reads the values of three sides of a triangle and displays either its area or          its perimeter as per the request of the user using function. area = ((s-a)(s-b)(c-a))1/2
        where s=(a+b+c)/2
23. Distinguish between single dimensional and multidimensional arrays with suitable examples.
24. Write a C program to prepare pay bill for a company using files.

APRIL - 2016                                                                             SAE1A

Part - A

1. What are keywords?
2. What is an expression?
3. Define unary operator.
4. What is meant by branching?
5. What is the purpose of continue statement?
6. Write the syntax of if-else statement.
7. What is a local variable?
8. Name the four storage classes in C.
9. Define structure.
10. What is union?
11. What is a pointer?
12. What is a file?

Part - B

13. Describe the various data types in C.
14. Explain the string I/O functions with examples.
15. Explain the syntax of switch statement in C with an example.
16. Give a brief account on static variables in C.
17. How multi dimensional arrays are declared in C? Explain with an example.
18. Write a note on bitwise operators.
19. Explain the different file types that can be specified by the fopen( ) function.

Part - C

20. Describe any ten commonly used library functions in C.
21. Describe the loop control statements in C with examples.
22. What is recursion? Write a C program find the factorial value of an integer using recursion.
23. Write a C program to sort the given set of n numbers in ascending order.
24. Write notes on: a) Operations in pointers b) File handling functions in C

No comments:

Post a Comment

Convey your thoughts to authors.