(SEM IV) THEORY EXAMINATION 2017-18 DATA STRUCTURE

B.Tech Data Structure 0 downloads
₹29.00

DATA STRUCTURE – B.Tech (Semester IV), RCS-405

This is a 3-hour, 70-mark theory examination designed to assess a student’s fundamentals and applied understanding of data structures, including stacks, queues, trees, graphs, hashing, recursion, linked lists, and algorithmic reasoning.

The paper is divided into three sections, testing conceptual clarity, medium-length analytical answers, and complete programming/algorithmic questions.
 

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

This section contains 7 brief questions designed to test quick recall and basic understanding.

Topics include:

Queue operations – minimum enqueue/dequeue operations

Structure of BST and threaded binary tree                   Activity network (definition + example)

Minimum nodes in AVL tree of height 8                      Recursive C program for multiplication

Priority queue – definition                                           Transitive closure

These questions cover theoretical concepts, definitions, and small computations/programs.
 

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

Attempt any 3 out of 5 questions.

Topics include:

(a) Address Calculation — Row & Column Major

A 2D array DSUC[50][60] stored in row-major order

Address calculation for DSUC[34][56] given base of DSUC[12][34]

(b) Short notes on:

Activity network

Garbage collection & compaction

(c) Stack –

Definition + example

Reverse a string using stack in C

Push/pop function implementation

(d) Convert infix → postfix:

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

(e) Hashing –

Any three hash functions with examples

Insert keys 37, 38, 72, 48, 98, 11, 56 using H(key) = key % 7 with linear probing

Location of key 11

Total collisions

This section checks problem-solving, C programming, stack/queue logic, hashing, and array memory mapping.
 

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

Each question contains choice (a or b) and tests deep understanding, diagrammatic representation, and algorithm writing.

Q3 – Linked Lists / Infix to Postfix

Advantages of linked lists over arrays

Implement doubly circular linked list + insert at given position
OR

Convert infix to postfix for:
a + b × c - d ^ e ^ f

Q4 – Huffman Coding / Floyd–Warshall

Build Huffman tree for given frequencies

Decode a long bitstream

Calculate average bits/message
OR

Write Floyd–Warshall algorithm + example

Q5 – Binary Tree Operations / Prim’s Algorithm

Write C functions:

Count total nodes

Compute height of binary tree
OR

Prim’s Algorithm + find MST for given graph

Q6 – Tree Construction / Binary Search

Construct binary tree from preorder & inorder sequences

Draw neatly
OR

Explain Binary Search, complexity, and C implementation

Q7 – DFS / Expression Tree

Data structure used for DFS

DFS algorithm + traverse given graph from node A
OR

Expression tree for:
(−b+√(b2–4ac))/2a( -b + √(b^2 – 4ac) ) / 2a(−b+√(b2–4ac))/2a

Provide preorder/inorder/postorder traversals

This section evaluates tree construction, linked lists, graph traversal, dynamic structures, and classical algorithms.
 

OVERALL PURPOSE OF THE EXAM

The question paper tests whether the student can:

Understand and apply classical data structures

Write and analyze C programs involving recursion, stacks, queues, trees

Perform address calculations for multidimensional arrays

Work with hashing and collision resolution

Convert expressions (infix ↔ postfix)

Construct trees, perform traversals

Use algorithms like DFS, Floyd-Warshall, Prim’s

Implement linked lists and use them for dynamic data management

It focuses heavily on problem-solving, implementation, and deep conceptual understanding essential for advanced computer science.

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

Singing / Vocal Training Near Sector 148 Noida – Professional Vocal Coaching for All Levels Noida
Spoken English Classes Near By Vikaspuri Improve Fluency, Build Confidence & Unlock Career Opportunities in 2026 Vikaspuri, Delhi
Competitive Exam Coaching Near Dwarka Mor Complete Preparation for Government & Entrance Exams with Expert Guidance Dwarka Mor, Delhi
Diet & Nutrition Consultation Near Vatika City, Gurugram – Your Path to Healthy Living Vatika City, Gurugram
IELTS Coaching Near Noida Sector 107 – Expert Training for High Band Scores Noida
Music Theory & Composition Classes Near By Najafgarh – Build Your Musical Foundation Najafgarh, Delhi
Geography Coaching Classes Near By Dwarka Mor Build Strong Conceptual Understanding & Score High in Board Exams Dwarka Mor, Delhi
Violin Classes Near by Gurugram – Learn, Perform & Master the Art of Strings Gurugram
Real Estate Consulting Near By Dwarka Mor Professional Property Guidance for Buying, Selling & Investment Decisions Dwarka Mor, Delhi
Guitar Classes Near Central Noida Sector 1 – Learn Guitar with Expert Trainers Noida
German Language Classes Near Central Park 2 – Learn German for Career, Study & Global Opportunities Central Park 2, Gurugram
Voice-over Training Near Sushant Lok Phase 1 – Learn Professional Voice Acting Phase I Sushant Lok, Gurugram
Spoken English Classes Near By Najafgarh Improve Fluency, Build Confidence & Speak English Naturally Najafgarh, Delhi
Dance Classes Near By Najafgarh (Bollywood, Hip-Hop & Classical) Najafgarh, Delhi
Harmonium Classes Near By Saket – Learn Classical & Devotional Music with Confidence Delhi
Cake Decoration Classes Near Sector 86 Gurugram – Learn Professional Cake Designing Skills Sector 86, Gurugram
Yoga Classes Near By Green Park Elevate Your Physical Strength, Mental Clarity & Lifestyle in 2026 Green Park, Delhi
Spoken English Classes Near By Malviya Nagar Build Confidence, Improve Fluency & Unlock Career Opportunities in 2026 Malviya Nagar, Delhi
Spoken English Classes Near By Kalkaji Improve Fluency, Build Confidence & Grow Career Opportunities in 2026 Kalkaji, Delhi
Spoken English Classes Near By Tagore Garden Improve Fluency, Build Confidence & Unlock Better Career Opportunities in 2026 Tagore Garden, 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