(SEM III) THEORY EXAMINATION 2023-24 DATA STRUCTURE

B.Tech Data Structure 0 downloads
₹29.00

This examination evaluates the students’ understanding of fundamental data structure principles, algorithm design, memory representation, tree/graph operations, hashing techniques, and complexity analysis. The paper is structured across three sections to test conceptual clarity, algorithmic thinking, and problem-solving skills.

SECTION A — Short Answer Questions (14 Marks)

Seven questions × 2 marks each

This section checks the student's foundational knowledge of Data Structures and Algorithms.

Concepts Included:

1. Asymptotic Notations

Students recall Big-O, Big-Ω, Big-Θ, Little-o, Little-ω etc., used for analyzing algorithm efficiency.

2. Precedence in Infix vs Postfix Expressions

Why infix requires parentheses for unambiguous evaluation but postfix does not.

3. Quick Sort Pivot Choice

How selecting first/last/random/median pivot affects best, average, and worst time complexity.

4. Two Forms of Hashing

Open hashing and closed hashing; chaining, probing methods, etc.

5. Huffman Algorithm & Binary Trees

Binary tree is central to building optimal prefix codes.

6. Edges in Regular Graph

Formula:

Edges=nd2\text{Edges} = \frac{nd}{2}Edges=2nd​

7. Algorithm for Connected Components

Using DFS/BFS to identify all components in graphs.

This section measures the student's fundamental clarity on core data structure concepts.

SECTION B — Medium-Level Analytical / Algorithmic Tasks (21 Marks)

Attempt any three × 7 marks

These questions assess algorithm-building, tracing, and implementation skills.

1. Concatenate Two Linked Lists

Write pseudocode with parameters as list heads; link last node of first list to start of second.

2. Infix → Postfix Conversion Algorithm

Use operator precedence, associativity rules, stack operations with full trace for expression:
A + B * C – D / F

3. Disadvantages of Linear Probing & Quadratic Probing Solution

Discuss clustering, primary/secondary clustering, and how quadratic probing reduces cluster formation.

4. Non-Recursive Postorder Traversal

Write C implementation using stack; no recursion allowed.

5. Dijkstra’s Algorithm

Apply it on the given graph to compute shortest paths from source.

This section examines algorithm writing, code correctness, and ability to trace operations.

SECTION C — Long Descriptive / High-Weightage Questions (35 Marks)

One question from each group × 7 marks

3. Array Address Calculations / Polynomial Linked List

Option A – Address Calculation

Given 2D array Data[20][50], element size = 4 bytes, base = 2000
Find address of Data[10][10] for both:
• Row major
• Column major

Option B – Polynomial Using Linked List

Explain node structure (coeff, power, next), creation, insertion, and representation with example.

4. Expression Evaluation Using Stack / Deque Implementation

Option A – Evaluate Arithmetic Expression

Algorithm to evaluate using stack and show step-by-step evaluation of:
3 * (5 – 3)

Option B – Deque Representation

Map deque onto 1D array and write C functions for:
• Insert Left
• Insert Right
• Delete Left
• Delete Right

5. Sorting / Binary Search

Option A – Selection Sort Program in C

Sort 100 integers; discuss worst-case complexity O(n²).

Option B – Binary Search Program

C code + explanation of average time complexity O(log n).

6. Tree Properties / Huffman Coding

Option A – External & Internal Path Length

Prove:

E=I+2nE = I + 2nE=I+2n

for a binary tree with n internal nodes.

Option B – Huffman Code Construction

Given probabilities (0.07, 0.09, 0.12, 0.22, 0.23, 0.27):
• Build Huffman tree
• Generate code for each symbol
• Calculate average code length

7. Minimum Spanning Tree / In-Degree & Out-Degree

Option A – Prim’s Algorithm

Apply MST algorithm to the given weighted graph, showing all steps.

Option B – Indegree & Outdegree Program in C

Given adjacency matrix → compute in-degree and out-degree for all vertices.

Purpose of This Examination

The paper ensures the student’s ability to:

Understand and analyze algorithm complexity
Perform stack/queue/linked list/tree/graph operations
Solve problems using hashing, sorting, and searching
Implement algorithms in C
Apply mathematical analysis to arrays, trees, and graphs
Reason about efficiency and correctness of solutions

This exam builds a strong foundation for advanced courses such as Algorithms, Operating Systems, Compiler Design, and Database Systems.

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

Music Production (Laptop-Based) Near DLF Cyber City – Learn Professional Music Creation DLF Cyber City, Gurugram
Candle Making Classes Near Sector 83 Gurugram – Learn the Art of Handmade Candles Gurugram
Physiotherapy Guidance Near Tilak Nagar (Certified Professionals Only) Tilak Nagar, Delhi
Spanish Language Classes Near Sector 43 Gurugram – Learn Spanish with Expert Trainers Sector 43, Gurugram
Keyboard / Piano Classes Near DLF Phase 3 – Learn Music with Professional Training DLF Phase 3, Gurugram
Guitar Classes Near DLF Phase 1 – Learn Guitar from Expert Teachers DLF Phase I, Gurugram
Resume & Interview Coaching Near By Sector 102 Gurugram (Dwarka Expressway) – Build Confidence, Crack Interviews, Get Hired Sector 102, Gurugram
Digital Marketing Course Near Sector 62 Gurugram – Master Online Growth & Build a High-Demand Career Sector 62, Gurugram
Guitar Classes Near Central Noida Sector 5 – Learn Guitar with Professional Trainers B Block Sector 5, Noida
Vedic Maths Classes Near By Dwarka Mor Improve Speed, Accuracy & Confidence in Mathematics Dwarka Mor, Delhi
Diet & Nutrition Consultation Near By Nangli – Personalized Health & Wellness Guidance Nangli, Delhi
Hindi Classes Near Sector 89 Gurugram – Build Language Skills with Confidence and Clarity Sector 89, Gurugram
Spoken English Classes Near Sector 119 Noida – Improve Your Communication Skills with Expert Training Sector 119, Noida
Guitar Classes Near Chhatarpur – Professional Guitar Training in South Delhi Chhatarpur, Delhi
French Language Classes Near By Uttam Nagar – Learn French with Confidence Uttam Nagar, Delhi
Guitar Classes Near By Green Park Learn Guitar with Expert Trainers & Turn Your Passion into a Lifelong Skill Green Park, Delhi
German Language Classes Near Golf Course Road – Learn German for Career & Study Abroad Golf Course Road, Gurugram
Web Development Classes Near Uttam Nagar – Learn to Build Modern Websites Uttam Nagar, Delhi
Physiotherapy Guidance (Certified Professionals Only) Near Sector 122 Noida – Complete Support for Pain Relief and Physical Recovery Sector 122, Noida
Spoken English Classes Near By Malviya Nagar Build Confidence, Improve Fluency & Unlock Career Opportunities in 2026 Malviya Nagar, Delhi
⭐ 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