(SEM IV) THEORY EXAMINATION 2018-19 DATA STRUCTURE

B.Tech Data Structure 0 downloads
₹29.00

SECTION–A — Short Questions Checking Fundamental DSA Concepts (14 Marks)

Section–A contains seven 2-mark questions, each touching the fundamental ideas of data structures and algorithms. The very first question asks students to compute the number of moves in Tower of Hanoi for n = 15 disks, which checks understanding of the classical recursive formula 2n−12^n - 12n−1.

The second question asks to explain AVL trees and list the rotation cases, ensuring that students understand height-balancing in binary search trees, with LL, RR, LR, and RL cases. The next question introduces priority queues, asking about their behavior and the condition of overflow, which helps check the student’s knowledge of abstract data types and heap-based implementation.

The fourth question focuses on Breadth First Search (BFS), a fundamental graph traversal technique using queues. The next question concerns the rules of infix to postfix conversion, testing understanding of precedence, associativity, and stack handling. Students are also asked to define data types and their types (primitive, derived, constructed, abstract), which is a core programming concept. The section ends with a comparison of complete binary trees versus full binary trees, ensuring clarity on tree structure constraints.

SECTION–B — Algorithm Design, Sorting, Queue Operations, MST, Expression Conversion (21 Marks)

Section–B requires students to attempt any three out of five long questions. Each of them evaluates algorithmic reasoning and practical understanding.

The first question asks for the algorithm of insertion sort, followed by a complete trace on the dataset (77, 33, 44, 11, 88, 22, 66, 55). This tests the student’s ability to apply sorting logic step by step.

The next question asks students to define an algorithm and list the parameters to judge efficiency, such as time complexity, space complexity, correctness, robustness, maintainability, etc.

Another question asks for the algorithm to insert an element in a queue, along with defining a deque and describing input- and output-restricted deques with diagrams, which tests understanding of advanced queue structures.

The next option deals with Minimum Spanning Trees (MST), asking students to explain Kruskal’s Algorithm with an example, testing graph-theory competency.

The last question asks to convert a very long infix expression into postfix notation:

AB−CD∗E$F+G/H−I+JA^B - C^D * E\$F + G/H - I + JAB−CD∗E$F+G/H−I+J

This tests precise step-handling of the Shunting Yard process.
 

SECTION–C — Heap Construction OR Binary Search Tree Construction (7 Marks)

This section requires choosing one of two detail-oriented structure-building tasks.

The first option asks to define heap, differentiate between max-heap and min-heap, and to build a Min-Heap using the sequence:
60, 33, 50, 22, 55, 40, 11, 22, 65, 30
This tests understanding of heapify operations and array-based heap representation.

The alternate option requires drawing the Binary Search Tree (BST) obtained by inserting the ordered elements:
50, 48, 35, 44, 80, 70, 10, 55, 11, 85
This question checks whether students can apply BST insertion rules correctly and represent the final structured tree.
 

SECTION–D — Tower of Hanoi OR AVL Rotations (7 Marks)

Section–D focuses on recursive thinking and balanced tree design.

The first choice asks to explain Tower of Hanoi using a proper tree representation for n = 3 disks and towers A, B, C. Students must illustrate the recursive subproblem division: moving n-1 disks, shifting the largest disk, and repeating.

The alternate question requires inserting the keys 12, 22, 17, 20 into an AVI tree and showing proper rotations required to maintain its height balance. This tests the student’s understanding of imbalance detection and correction (LL, RR, LR, RL rotations).

SECTION–E — Circular Queue OR Doubly Linked List (7 Marks)

Section–E asks students to select one of two data-structure design questions.

The first option asks: What is a Circular Queue? and requires full algorithms for inserting and deleting an item. This tests boundary condition management, including front/rear wrapping and overflow/underflow handling.

The alternative option asks for explanation of Doubly Linked List representation with an example, ensuring that students understand two-way pointer usage and node-based dynamic storage.

SECTION–F — Dijkstra’s Algorithm OR DFS & BFS (7 Marks)

This section covers graph traversal and shortest-path algorithms.

The first option requires describing Dijkstra’s Algorithm, followed by a full step-by-step working for the given graph (the graph is printed on page 2). Students must relax edges, update distance tables, and identify final shortest paths.

The second option asks for algorithms of DFS and BFS, along with illustrative examples, testing comprehension of stack-based and queue-based graph exploration.

SECTION–G — Memory Mapping OR Hash Table Construction (7 Marks)

The final section tests computational implementation of arrays and hashing.

The first question gives a 2D array A[20][50], with base = 2000 and element size = 4 bytes. Students must compute the location of A[10][10] using both Row-Major and Column-Major addressing formulas. This tests the ability to map multi-dimensional arrays into linear memory.

The alternate question provides keys:
11, 31, 32, 49, 55, 27, 60, 50, 77, 25
and asks to place them in a hash table of size 15 using:
open addressing
chaining
This evaluates collision-handling techniques and hashing proficiency.

FINAL SUMMARY — Complete Descriptive Overview of the Exam Paper

The DATA STRUCTURE & ALGORITHM (RCS-406) question paper is comprehensive and evaluates conceptual clarity, algorithmic logic, problem-solving ability, and efficient data-handling techniques. Section–A tests core definitions and structures. Section–B challenges students to write algorithms, trace them, and convert expressions. Sections C–G cover trees, heaps, recursion, queues, linked lists, shortest-path algorithms, memory addressing, and hashing.

The paper ensures students demonstrate both theoretical understanding and practical implementation skills across the full DSA syllabus.

File Size
155.27 KB
Uploader
SuGanta International
⭐ Elite Educators Network

Meet Our Exceptional Teachers

Discover passionate educators who inspire, motivate, and transform learning experiences with their expertise and dedication

KISHAN KUMAR DUBEY

KISHAN KUMAR DUBEY

Sant Ravidas Nagar Bhadohi, Uttar Pradesh , Babusarai Market , 221314
5 Years
Years
₹10000+
Monthly
₹201-300
Per Hour

This is Kishan Kumar Dubey. I have done my schooling from CBSE, graduation from CSJMU, post graduati...

Swethavyas bakka

Swethavyas bakka

Hyderabad, Telangana , 500044
10 Years
Years
₹10000+
Monthly
₹501-600
Per Hour

I have 10+ years of experience in teaching maths physics and chemistry for 10th 11th 12th and interm...

Vijaya Lakshmi

Vijaya Lakshmi

Hyderabad, Telangana , New Nallakunta , 500044
30+ Years
Years
₹9001-10000
Monthly
₹501-600
Per Hour

I am an experienced teacher ,worked with many reputed institutions Mount Carmel Convent , Chandrapu...

Shifna sherin F

Shifna sherin F

Gudalur, Tamilnadu , Gudalur , 643212
5 Years
Years
₹6001-7000
Monthly
₹401-500
Per Hour

Hi, I’m Shifna Sherin! I believe that every student has the potential to excel in Math with the righ...

Divyank Gautam

Divyank Gautam

Pune, Maharashtra , Kothrud , 411052
3 Years
Years
Not Specified
Monthly
Not Specified
Per Hour

An IIT graduate having 8 years of experience teaching Maths. Passionate to understand student proble...

Explore Tutors In Your Location

Discover expert tutors in popular areas across India

Baking Classes Near Sector 84 Gurugram – Learn Cake & Bakery Skills Professionally Sector 84, Gurugram
Yoga Classes Near By Tilak Nagar Holistic Wellness, Stress Relief & Stronger Mind-Body Balance Tilak Nagar, Delhi
Drawing & Sketching Classes Near By Uttam Nagar – Explore Your Creative Potential Uttam Nagar, Delhi
Keyboard / Piano Classes Near DLF Phase 3 – Learn Music with Professional Training DLF Phase 3, Gurugram
🇯🇵 Japanese Language Classes Near Golf Course Extension Road – Complete Guide to Learning Japanese Golf Course Ext Road, Gurugram
Tally / Accounting Software Course Near Sector 64 Gurugram – Build a Strong Career in Accounts & Finance Sector 64, Gurugram
🇩🇪 German Language Classes Near Sector 116 Noida – Learn German with Professional Training Sector 116, Noida
Prenatal Yoga Training Near Vatika City – Safe & Healthy Pregnancy Wellness Vatika City, Gurugram
Accounts & Commerce Classes Near Sector 99 Dwarka Expressway, Gurugram – Build Strong Financial & Business Foundations Sector 99A, Gurugram
Harmonium Classes Near Sector 140 Noida – Learn Indian Classical Music with Expert Guidance Sector 140, Noida
Harmonium Classes Near DLF Golf Course Road – Learn Classical & Devotional Music Gurugram
Singing / Vocal Training Near Sector 148 Noida – Professional Vocal Coaching for All Levels Noida
Cake Decoration Classes Near By Dwarka Mor – Master the Art of Creative Cake Designing Dwarka Mor, Delhi
Yoga Classes Near By Defence Colony Experience Holistic Fitness, Mental Peace & Lifestyle Transformation in 2026 Defence Colony, Delhi
Guitar Classes Near By Defence Colony Learn Guitar with Expert Trainers & Turn Your Passion into a Lifelong Skill Defence Colony, Delhi
UI/UX Designing Classes Near By Kirti Nagar – Build a Creative Tech Career Kirti Nagar, Delhi
Spoken English Classes Near By Greater Kailash Improve Fluency, Build Confidence & Unlock Career Opportunities in 2026 Greater Kailash, Delhi
French Language Classes Near By Uttam Nagar – Learn French with Confidence Uttam Nagar, Delhi
Spoken English Classes Near By Mehrauli Build Fluency, Improve Confidence & Unlock Better Opportunities in 2026 Mehrauli, Delhi
Guitar Classes Near Central Noida Sector 5 – Learn Guitar with Professional Trainers B Block Sector 5, Noida
⭐ Premium Institute Network

Discover Elite Educational Institutes

Connect with top-tier educational institutions offering world-class learning experiences, expert faculty, and innovative teaching methodologies

Réussi Academy of languages

sugandha mishra

Réussi Academy of languages
Madhya pradesh, Indore, G...

Details

Coaching Center
Private
Est. 2021-Present

Sugandha Mishra is the Founder Director of Réussi Academy of Languages, a premie...

IGS Institute

Pranav Shivhare

IGS Institute
Uttar Pradesh, Noida, Sec...

Details

Coaching Center
Private
Est. 2011-2020

Institute For Government Services

Krishna home tutor

Krishna Home tutor

Krishna home tutor
New Delhi, New Delhi, 110...

Details

School
Private
Est. 2001-2010

Krishna home tutor provide tutors for all subjects & classes since 2001

Edustunt Tuition Centre

Lakhwinder Singh

Edustunt Tuition Centre
Punjab, Hoshiarpur, 14453...

Details

Coaching Center
Private
Est. 2021-Present
Great success tuition & tutor

Ginni Sahdev

Great success tuition & tutor
Delhi, Delhi, Raja park,...

Details

Coaching Center
Private
Est. 2011-2020