Cp&ds Model Exam Question
Cp&ds Model Exam Question
-----------
CSE – JAN 2021
-----------
Time – Three hours
(Maximum marks- 100 marks)
PART – A
[Note : 1. 10 questions are to be answered each carries 3 marks.(10*3=30)
2. 5 questions will be in either or pattern each question carries 14 marks.
(5*14=70)
(Turn
over ............
/2/
PART - C
[Note: (1) Answer all questions from 17 to 21 either A or B.
(2) Each question carries 10 marks.]
13. (A) (i) Explain declaration and initialization of a pointer with example.
(ii)Explain the use of command line arguments.
(OR)
(B) Explain the various I/O operations on files.
14. (A) With example explain the conversion of infix to postfix expression using
stack.
(OR)
(B) (i) Explain different approaches to design algorithm.
(ii) Discuss about the types of data structures.
15. (A) Explain Quick sort.
(OR)
(B) (i) Explain the memory representation of singly linked list.
(ii) Explain binary tree traversal and explain any one traversal with example.
------------
332
-----------
CSE – JAN 2021
-----------
Time – Three hours
(Maximum marks- 75 marks)
PART – A
[Note: 1. (1 to 8) 5 Questions are to be answered out of 8 questions.
2. Question no. 8 will be compulsory.
3. Each question carries 2 marks.]
/2/
PART - C
[Note: (1) Answer all questions from 17 to 21 either A or B.
(2) Each question carries 10 marks.]
13. (A) Explain the different functions used in dynamic memory allocation.
(OR)
(B) (i) Define a file.How a file is opened and closed?
(ii) Explain increment and scale factor in pointers.
14. (A) Explain how to evaluate a postfix expression.
(OR)
(B) Explain the operation on stack and implement the operation.
15. (A) (i) Give the advantages of and disadvantages of of linked list.
(ii) Explain any five basic terminologies of tree.
(OR)
(B) With example explain bubble sort.
------------
333
-----------
CSE – JAN 2021
-----------
Time – Three hours
(Maximum marks- 75 marks)
PART – A
[Note: 1. (1 to 8) 5 Questions are to be answered out of 8 questions.
2. Question no. 8 will be compulsory.
3. Each question carries 2 marks.]
/2/
PART - C
[Note: (1) Answer all questions from 17 to 21 either A or B.
(2) Each question carries 10 marks.]
------------