Est 102
Est 102
MODULE 1
MODULE 2
1. What is the importance of precedence and associativity? Write the table for operator
precedence.
2. Differentiate between ‘break’,‘continue’ and goto statements.
3. Explain different data types supported by C language with their memory requirements
4. Write a C program to check if a number is present in a given list of numbers. If present,
give location of the number otherwise insert the number in the list at the end
5. Write a C program to find the sum of first and last digit of a number.
6. What is type casting? Name the inbuilt typecasting functions available in C language. What
is the difference between type casting and type conversion?
7. Explain formatted and Unformatted I/O functions of C language with syntax and example
8. Write a C program to read a character from the user and check whether it is a vowel or
consonant(switch)
9. Explain operators with examples.
10. Write a C program to check if a given number is strong number or not.
11. Write a C program to convert decimal to binary.
12. With suitable examples describe conditional statements in C.
13. Write a C program to check if a given number is perfect or not.
14. Write a C program to check if a given number is prime or not.
15. What is static variable.
MODULE 3
1. Explain any 4 string handling functions in C programming.
2. What is array. Difference between one dimensional and two dimensional array.
3. Write a C program to check whether a string is palindrome or not without using string
handling functions.
4. Write a C program to find the transpose of a matrix
5. Write a C program to reverse a string without using string handling functions
6. Write a C program to sort an array of numbers using bubble sort
7. Write a C program to print number of vowels and consonants in a string.
8. Write a program to print the product of two matrices
9. Write a c program to check whether entered number is prime or not.
10. Write a c program to concatenate two strings without using built in functions.
MODULE 4
1. Differentiate between structure and union using an example.
2. Define formal parameters and actual parameters.
3. What are the advantages of modular programming?
4. What are different storage classes in C? Give examples for each
5. Structure program.
6. What is recursion? Write a C program to display Fibonacci series using recursive
function
7. Name the different types of parameter passing. Illustrate each of them with an example.
8. Pass by value and pass by reference with example.
9. Compare User defined functions with library functions
MODULE 5
1. Explain any 5 file handling functions in C?
2. Write a C program to replace vowels in a text file with character ‘x’.
3. Differentiate between array of pointers and pointer to an array.
4. Write a C program to count number of lines in a text file.
5. Explain the use of fseek0 function.
6. Distinguish between text mode and binary mode operation of a file.
7. With suitable example explain different modes for opening a file in C?
8. Explain with suitable examples, how & and * operators are used with pointer variable.
9. Write a program to copy the content of a file to another
10.What is meant by passing arguments into a function by reference? Write a program to
swap two numbers using pass by reference.
11.What do you mean by a pointer variable? How is it initialized?