You are on page 1of 3

NOVEMBER 2020 50410/SAE3A/SAZ3A

Time : Three hours Maximum : 75 marks

PART A — (10 × 2 = 20 marks)

Answer any TEN questions.

1. What is the use of scope resolution operator?

2. What is a reference variable?

3. What are inline functions?

4. What are objects?

5. Define Constructor.

6. List the error handling functions during file


operation in C++.

7. What are composite data types?

8. What is an ordered list?

9. Write the different ways of representing


arithmetic expressions.

10. Distinguish between a Stack and a queue.

11. Define binary tree.

12. Define subgraph.


PART B — (5 × 5 = 25 marks)

Answer any FIVE questions.

13. What is a token? Explain the various tokens in


C++.

14. What is an operator function? Describe the syntax


of operator functions.

15. Explain the various formatted console I/O


operations in C++.

16. Describe the various classes for file stream


operations.

17. What is an array? Explain the various operations


that can be performed on arrays.

18. What is circular queue? Explain how it is differ


from linear queue.

19. Explain the procedure to convert a forest to binary


tree.

PART C — (3 × 10 = 30 marks)

Answer any THREE questions.

20. Discuss the control structures in C++.

21. Explain the different types of inheritance in C++


with examples.
2 50410/SAE3A/SAZ3A
22. Explain the following with examples:
(a) Command line arguments
(b) Ordered list.

23. What is linked list? Explain the various operations


on linked list.

24. Explain Dijkstra's shortest path algorithm with an


example.

———————

3 50410/SAE3A/SAZ3A

You might also like