0% found this document useful (0 votes)
69 views3 pages

Est 102

Est 102

Uploaded by

subinvleo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views3 pages

Est 102

Est 102

Uploaded by

subinvleo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Previous Year University Questions

MODULE 1

1. Differentiate between system software and application software.


2. Write an algorithm to find the largest of three numbers.
3. Draw a flowchart to find the factorial of a number.
4. With the help of a neat diagram explain the functional units of a computer.
5. List five important registers in CPU. Also state the purpose of each register.
6. Write algorithm and draw flowchart to perform swapping of two numbers.
7. Draw a flowchart to find the sum of first N numbers.
8. Explain linear search with an example. Draw a flowchart and write pseudo code to perform
linear search on an array of numbers.
9. Write an algorithm to find sum of digits of a number.
10. Describe the memory hierarchy of a computer with the help of a diagram
11. What is the purpose of flow charts in problem solving? Draw a flow chart to find the largest
of three numbers.
12. Draw the flowchart of bubble sort. Trace the steps for the input [5,3,1,7,9].
13. Write an algorithm for linear search. Demonstrate the working for the given array
23,34,41,65,70 and element to be searched is 65
14. Writes short notes on Von Neumann architecture.
15. Differentiate among compiler, interpreter and assembler.
16. What is a flowchart? Draw the flow chart to check whether the given number is positive or
negative
17. Write the algorithm and draw the flow chart to calculate the roots of a quadratic equation,
take the coefficients as inputs.
18. Explain different types of memories used in a computer

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?

You might also like