(SEM IV) THEORY EXAMINATION 2017-18 DATA STRUCTURE & ALGORITHMS

B.Tech Data Structure 0 downloads
₹29.00

DATA STRUCTURE & ALGORITHMS – B.Tech (Semester IV), RCS-406

This is a 3-hour, 70-mark theory examination designed to evaluate a student's understanding of abstract data types, stacks, queues, trees, graphs, recursion, hashing, searching, sorting, and algorithmic design/analysis.

The paper is divided into three sections, containing conceptual questions, medium-length problems, and full analytical/programming questions.
 

SECTION A — Short Answer / Conceptual Questions (2 × 7 = 14 Marks)

This section contains 7 brief questions to test basic theoretical understanding.

Topics include:

Abstract Data Type (ADT)                                    Internal vs external sorting + examples

Recursive C program for multiplication              Priority queue definition

Threaded binary tree (definition + advantage)   Transitive closure

Insertion function for circular queue

These questions assess definitions, differences, basic operations, and small programs.
 

SECTION B — Descriptive / Medium-Length Questions (7 × 3 = 21 Marks)

Attempt any 3 out of 5.
This section includes derivations, algorithms, C programs, and numerical hashing examples.

Topics include:

(a) Lower Triangular Matrix (LTM) –

Derive formulas for row-major and column-major address calculation.

(b) Tower of Hanoi –

Recursive algorithm

Total number of function calls for n disks

(c) Stack –

Define stack, reverse a string using stack, push & pop implementation in C.

(d) Convert infix → postfix for the expression:

(a + b^c^d) * (e + f/d)

(e) Hashing –

Explain three hash functions

Perform linear probing with H(key) = key % 7

Insert: 37, 38, 72, 48, 98, 11, 56

Determine location of key 11

Count total collisions

This section tests algorithmic understanding + implementation skills.
 

SECTION C — Long/Analytical/Programming Questions (7 marks each)

Each question offers choice (a or b) and requires deep explanation, design, or full program.

Q3 – Linked Lists & Expression Conversion

Advantages of linked lists over arrays

Implement doubly circular linked list & insert at a given position
OR

Postfix conversion of:
a + b × c - d ^ e ^ f

Q4 – Huffman Coding / Floyd–Warshall

Construct Huffman tree for given symbols & decode bitstream, find average bits/message
OR

Floyd–Warshall algorithm + example

Q5 – Binary Tree Operations / Prim’s Algorithm

C functions to count total nodes & compute height of binary tree
OR

Prim’s algorithm + find Minimum Spanning Tree (graph provided)

Q6 – Tree Construction / Binary Search

Construct binary tree from given preorder & inorder sequences
OR

Explain binary search, time complexity, and C implementation

Q7 – DFS / Expression Tree

Data structure for DFS, DFS algorithm, traverse given graph
OR

Construct expression tree for (−b+b2−4ac)/2a(-b + \sqrt{b^2 - 4ac}) / 2a(−b+b2−4ac​)/2a

Give pre-order, in-order, post-order traversals

This section checks tree construction, graph traversal, MST, expression evaluation, recursion-based logic, and binary tree properties.
 

OVERALL PURPOSE OF THE EXAM

This examination evaluates a student's ability to:

Understand abstract data types & core DSA concepts

Implement stacks, queues, linked lists, trees & graphs

Apply recursion to real problems (Hanoi, multiplication, traversals)

Perform hashing, collision handling & address calculations

Translate infix ↔ postfix expressions

Construct trees & perform traversals

Apply shortest path, MST, DFS algorithms

Understand searching and sorting fundamentals

The paper combines theory, algorithms, programs, and mathematical derivations, building strong foundations for advanced computer science subjects.

File Size
169.9 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

Spoken English Classes Near By Vasant Kunj Improve Fluency, Build Confidence & Achieve Career Growth in 2026 Vasant Kunj, Delhi
Physiotherapy Guidance (Certified Professionals Only) Near Sector 122 Noida – Complete Support for Pain Relief and Physical Recovery Sector 122, Noida
Personal Fitness Training Near Palam Vihar – Transform Your Body with Expert Guidance Palam Vihar, Gurugram
Yoga Classes Near By Lajpat Nagar Build Strength, Reduce Stress & Achieve Holistic Wellness in 2026 Lajpat Nagar, Delhi
Science Classes Near By Dwarka Mor – Build Strong Concepts in Physics, Chemistry & Biology Dwarka Mor, Delhi
Guitar Classes Near Tilak Nagar – Learn, Play & Perform with Confidence Tilak Nagar, Delhi
Spoken English Classes Near Rajouri Garden Improve Fluency, Build Confidence & Unlock Career Opportunities in 2026 Rajouri Garden, Delhi
Dance Classes (Bollywood, Hip-Hop, Classical) Near Palam Vihar Extension – Learn Dance with Professional Trainers New Palam Vihar, Gurugram
Guitar Classes Near By Hauz Khas Learn Guitar with Expert Guidance & Turn Your Passion into a Powerful Skill Hauz Khas, Delhi
Music Production (Laptop-Based) Near DLF Golf Course Road – Create, Mix & Release Your Own Music DLF Road, Gurugram
SEO Training Near Sector 63 Gurugram – Master Search Engine Optimization & Build a High-Growth Career Sector 63, Gurugram
Meditation Coaching Near Sector 126 Noida – A Complete Guide to Mental Wellness and Inner Peace Sector 126, Noida
Prenatal Yoga Training Near Vatika City – Safe & Healthy Pregnancy Wellness Vatika City, Gurugram
App Development Classes Near Noida Sector 100 – Learn Mobile App Development and Start Your Tech Career Sector 100, Noida
Piano Classes Near Tilak Nagar – Learn, Play & Master Music with Confidenc Tilak Nagar, Delhi
Harmonium Classes Near DLF Golf Course Road – Learn Classical & Devotional Music Gurugram
Resume & Interview Coaching Near Sector 102 Gurugram (Dwarka Expressway) – Build Confidence, Crack Interviews, Get Hired Sector 102, Gurugram
Spoken English Classes Near By Chhatarpur Improve Fluency, Build Confidence & Unlock Career Opportunities in 2026 Chhatarpur, Delhi
Coding Classes for Kids Near By Kirti Nagar – Build Future-Ready Skills Early Kirti Nagar, Delhi
Hotel Management Course Near Sector 93A Gurugram – Build a Successful Career in Hospitality Sector 93, Gurugram
⭐ 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