Learn more about IndiaStudyChannel
Install Alexa Toolbar
and earn more...
 
Communities Members BookmarksPolls Fresher Jobs Funny Pictures MCA Projects New Member FAQ  



My Profile
Active Members
TodayLast 7 Days more...



Awards & Gifts
Online Exams

Fresher Jobs


Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi

Resources


Find educational articles, blogs, discussion threads and other resources.

Colleges


Find details about any college in India or search for courses.

website counter



Download Model question papers & previous years question papers

Posted By: Lenin       Member Level: Diamond       Posted Date: 30 May 2008

2005 Indira Gandhi National Open University (IGNOU) Diploma Computer Applications CS04 Data Structures through C and PASCAL - June 2005 Question paper



Course: Diploma Computer Applications   University: Indira Gandhi National Open University (IGNOU)




PGDCA / MCA (I Yr)
Term-End Examination

June, 2005

CS04 : Data Structures through "C" and "PASCAL"

Time: 2 hours
Maximum Marks: 60

Note : There are five questions in this paper Question No. 1 is compulsory. Answer any three questions from the rest. All algorithms should be written nearer to 'C' or Pascal Language.
1. (a) Write an algorithm to convert an lnfix expression into Postfix expression. Also convert the following Prefix expression into a Postfix expression:
(i) // * + ABCDE
(ii) - + A * B/CDE (10)

(b) Write an algorithm to implement bubble sort, and sort the following list in ascending order by using the algorithm. (10)
14, 11, 3, 15, 18, 9

(c) Give three applications of Trees. (3)

(d) Define the following terms with a suitable example of each: (7)
(i) Tree
(ii) Depth of a Tree
(iii) Height of a Tree
(iv) length of a Tree
(v) Forest
(vi) Leaf node
(vii) Degree of a Tree

2. (a) Design an algorithm to implement a Deque using Arrays. (5)

(b) Find a minimum cost spanning tree of the following graph using PRIM'S algorithm. (5)
-----DIAGRAM-----

3. (a) L1 and L2 are two singly linked lists which are already sorted. Now, write an algorithm to concatenate L1 and L2. Ensure that the concatenated list is sorted. (5)

(b) Write a function that returns the height of an AVL tree. (5)

4. (a) Construct a Binary tree from the given Preorder as well as lnorder traversals:
Preorder * - + E AB + CD
Inorder E + A - B * C + D (5)

(b) Write an algorithm that accepts two singly linked lists L1 and L2. lt should print L3, where L3 is a singly linked list and L3 = L1 n L2. (5)

5. (a) What is a 'heap' ? Write an algorithm for the insert as well as delete heap operations. (7)

(b) List at least 3 differences between Arrays and Pointers. (3)

6. (a) Explain the following types of file organization techniques: (6)
(i) Sequential File organization
(ii) Indexed Sequential File organization
(iii) Direct File organization

(b) Write a recursive algorithm to generate a fibonacci sequence upto the nth term, where n is any integer. (4)






Return to question paper search

Next Question Paper: modelling & simulation of electrical machines

Previous Question Paper: application of power electronics to power system

Related Question Papers:


  • MS-91 - Advanced Strategic Management - June 2007


  • CS68: Computer Networks


  • MPA14 Human Resource Management December 2006


  • Computer fundamentals and PC Software


  • CS-611 : COMPUTER FUNDAMENTALS AND SOFTWARE, DEC 2001


  • Categories


    Submit Previous Years University Question Papers and make money from adsense revenue sharing program

    Are you preparing for a university examination? Download model question papers and practise before you write the exam.

    Watch TV Channels



    Contact Us    Editors    Privacy Policy    Terms Of Use   

    ISC Technologies. 2006 - 2008 All Rights Reserved.