Professional Documents
Culture Documents
Part-B (2X13=26)
OR
6.b.i Develop a C program that reads employee information (e.g., name, employee ID, salary) 8 2 3
from a file. Calculate the net salary by deducting taxes and other deductions. Write the
updated employee records back to the file.
6.b.ii 5 2 3
7.a.i Write suitable ADT operations to multiply two polynomials using singly linked list. 8 3 3
7.a.ii Write the pseudo code for evaluating any postfix expression. Simulate how the following 5 3 3
postfix expression is evaluated using stack 1 2 3 3 ^ ^ - 4 5 6 * + 7 * -
OR
7.b.i Simulate the result of inserting 45,39,56,12,34,78,32,10,89,54,67,81 one at a time into an 3 4 3
initially empty binary search tree.
Delete the elements 10,12,45 one by one from the above binary search tree. 3 4 3
7.b.ii
7.b.iii Write suitable ADT’s to perform insertion and deletion operations in a binary search tree. 7 4 3
Part-C (1X14=14)
Q. No Questions Marks CO BL
16.a. 7
16.b 7