IndiaStudyCenter.com

Need help about a course?
Visit CollegeZones.com

Colleges & Universities | Distance Education | Admission Notifications | Entrance Exams | Course Syllabus | Question Papers
Home / Test Papers / IGNOU / CS04 Data Structures through C and PASCAL
CS04 Data Structures through C and PASCAL December 2005
Ask a question
Print this page
IGNOU CS-04

CS-04 Test Papers

IGNOU MCA

About IGNOU MCA Course

IGNOU MCA Syllabus

IGNOU MCA Assignments

IGNOU MCA Test Papers

IGNOU Programs

IGNOU

Courses, Admissions & Eligibility

January / July 2010 Admissions

Admission Procedure & Schedule

Colleges, Faculties & Departments

Who's Who at the University

Re-Admission Procedure

Study Centres in India

Partner Institutions outside India

Syllabus

IGNOU Test Papers (by Course)

IGNOU Test Papers (by Paper code)

IGNOU Exam Timetables

Assignments

Notifications, Circulars & Announcements 2009

Events, Seminars & Workshops

Examination Results

IGNOU Improvement tests

Admission to Post Graduate Certificate in Oral Implantology and Post Graduate Certificate in Endodontics

Test Papers / Previous Question Papers of IGNOU CS04 Data Structures through C and PASCAL

PGDCA / MCA (I Yr)
Term-End Examination

December, 2005

CS04 (S): 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 that accepts a Binary tree as input and reverses the left and right children of each node. (7)

(b) Write at least four advantages of implementing a stack using Linked Lists in comparison to implementation of stack using Arrays. (4)

(c) Write an algorithm to count the number of leaf nodes in a Binary Search tree. (6)

Write an algorithm that accepts two lower triangularmatrices, M and N, each with P rows as input. The total number of elements in the lower triangles is P(P + 1). Now, the algorithm should output a single mairix Q of order P x (P + 1) which represents both the lower triangular matrices. It is not necessary for Q to be either a lower triangular or upper triangular matrix. (13)

2. (a) Write a recursive function to print Post-order traversal of a Binary Tree. (3)
(b) Wite an algorithm for the 2 way Merge Sort and illustrate each pass for the following data. (7)
7, 4, 1, 3, 0, 2, 6, 5.

3. (a) Write an algorithm for the addition of two sparse matrices. Use linked lists. (7)
(b) Explain Indexed sequential file organization (3)

4. (a) Write an algorithm to convert an infix expression to a postfix expression. The algorithm should evaluate the resultant postfix expression. (6)

(b) Write any four applications of a Queue. Justify your answer. (4)

5. (a) Sort the following Sequence of data using Heap Sort : (5)
7, 6, 3, 14, 5, 9, 11, 10, 8, 20.
(b) Find the minimum cost spanning tree for the following graph : (5)
----DIAGRAM----

Note: The above courses are picked automatically by the website for indicative purpose only. However, students are requested to check with the University for the similarity of the course or for any other information in regard to the course.

Most popular pages

Business Schools - Engineering Colleges - Medical & Nursing Admissions - BEd in Distance mode - Journalism & Media Studies - IGNOU - IGNOU Question Papers

Search this site

Enter a detailed keyword. Ex: Question Papers of IGNOU MCA Ist Semester