Community Sites
Create your own community website and start earning today !
It's Free !
 
Communities Members BookmarksPolls Fresher Jobs Funny Photos B.Tech 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: S.Yamininagarajan       Member Level: Diamond       Posted Date: 01 Jun 2008

2005 Indira Gandhi National Open University (IGNOU) Data structures through C and PASCAL Question paper



Course:   University: Indira Gandhi National Open University (IGNOU)





Test Papers / Previous Question Papers of IGNOU CS04 Data Structures through C and PASCAL June 2005
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: Data structures through C and PASCAL

Previous Question Paper: NUTRITION FOR THE COMMUNITY

Related Question Papers:


  • Finance & Accounting On Computers


  • MPS004 Comparative Politics - Issues and Trends December 2005


  • CS-54: FINANCE & ACCOUNTING ON COMPUTERS


  • Discrete mathematics


  • MPA001: Understanding Natural Disasters


  • 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
  • Watch Asianet TV online
  • Kairali TV in Internet
  • Surya TV online
  • Amritha TV Channel

  • Contact Us    Privacy Policy    Terms Of Use   

    SpiderWorks Technologies Pvt Ltd. 2006 - 2007 All Rights Reserved.