You are on page 1of 2

CHANDIGARH ENGINEERING COLLEGE, LANDRAN

DEPARTMENT OF APPLIED SCIENCE

PROGRAMMING FOR PROBLEM SOLVING-BTPS-101-18

(Common to All Branches (Sem-1) - CSE/IT/ECE/ME)

Question Bank

Unit-1

1. Explain the components of a computer system.


2. Briefly discuss the types of memory system
3. Explain operating system with its significance.
4. Mention the types of errors with example.
5. Write an algorithm and pseudo code to find whether the number is even or odd number.
6. Draw flow chart to find greatest of three numbers.

Unit-2

7. What are branching statements? Explain with suitable examples.


8. What are looping statements? Explain one with example program.
9. What are jumping statements? Explain with example.
10. What is precedence of operators? Explain how expressions are evaluated with example.
11. What are the various types of operators? Explain them with example.

Unit -3

12. What is an array? What are the types? Give illustrative program.
13. Write a program to perform matrix addition operation.
14. Explain string manipulation functions.

Unit -4

15. What is searching? Write a program to search a number in the given list.
16. Explain bubble sort with example program.
17. Explain selection sort with example program.
18. Explain insertion sort with example program.
19. Write a program to find roots of a quadratic equation.

Unit -5

20. Explain call by value and call by reference with example program.
21. How are arrays passed in function? Explain with example program.

Unit -6
22. Explain recursion with example.
23. Explain Ackermann function with example program
24. Write a program to find factorial of a number using recursion.
25. Explain quick sort with example program.
26. Explain merge sort with example program.

Unit -7

27. Explain structure in C with example program


28. Write a program to explain array of structures.

Unit -8
29. What is a pointer? Explain pointer with example program.
30. What is linked list? Explain.
31. Write a program to explain self referential structure.

Unit -9

32. Explain file handling with example program

You might also like