Programming For Problem Solving KCS-101T PUT QP ODD 20-21
Programming For Problem Solving KCS-101T PUT QP ODD 20-21
OBE Remark:
Q. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
No.
CO CO CO CO CO CO CO CO CO CO CO CO CO CO CO CO CO CO CO CO CO
No. 1 1 2 2 3 3 4 4 5 5 1 1 2 2 3 4 4 5 5 3
Section-A
A. Attempt all the parts. (10 X 2 = 20)
1. Explain Memory hierarchy with diagram.
2. Write characteristics of Algorithm.
3. What are mixed operands. Explain with example
4. What will be the output:
Section-B
B. Attempt Any Three (3X 10 = 30)
11. Write an algorithm and draw Flowchart for checking whether entered number is palindrome or not.
12. Differentiate between:
(i) Compiler and Interpreter. (ii) static and auto storage class.
13. What are operators? Explain in detail. When same precedence operators are encountered in an arithmetic
expression, how associativity helps in deciding evaluation order?
14. Discuss significance of break and default in switch-case statement. WAP to find roots of a quadratic
equation.
15. Describe types of looping statements in C. Differentiate between iteration and recursion with example.
Section-C
C. Attempt all the parts. (5 X10 = 50)
16. Attempt Any One
a) Explain various operations defined on arrays. WAP to perform Bubble sort on an integer array using
function.
b) Write a program to find the transpose of a given matrix & check whether it is symmetric or not.