Skip to content
JNTUK · B.Tech study libraryFree access · No sign-up
JNTUK · R23 · Semester 1-2

Data Structures previous question papers.

Open the verified June/July 2024 regular paper for Data Structures. The code, branch scope and exam session were checked against the official JNTUK timetable.

PDF · opens in a new tab · 4 sets · packet page 1

Verified external file

June/July 2024 regular

The linked institutional packet opens at Data Structures Set 1 and contains four R23 sets. It remains on the affiliated institution’s server and opens without a JNTUK Materials login.

Subject
Data Structures
Applicable branches
CSE, IT and CSE-allied branches
File host
Vignan's Nirula Institute
Link checked
23 August 2026
PDF Open question paper External institutional copy ↗
Original revision practice · not an official solution

Trace an iterative binary search

This example was written for JNTUK Materials to practise a related method. It is not taken from the linked university paper and does not constitute an official answer key.

Try it yourself

Find 19 in the sorted array [3, 7, 11, 15, 19, 23, 27]. Use zero-based indices and mid = floor((low + high)/2). Count each visited middle element as one probe.

Show the worked steps and answer
  1. Start with low = 0 and high = 6. The middle index is 3, containing 15. Since 19 > 15, set low = 4.
  2. Now low = 4 and high = 6. The middle index is 5, containing 23. Since 19 < 23, set high = 4.
  3. Now low = high = 4. The middle element is 19: the search succeeds at index 4.

Answer Index 4 (the fifth element), after 3 middle-element probes.

Check your result: The visited indices are 3 → 5 → 4. The candidate interval shrinks at each step. Binary search needs a sorted input and has O(log n) worst-case search time.

Common mistake: Use mid + 1 or mid − 1 when discarding a half; retaining mid can cause an infinite loop.

Turn a paper into a revision session

  1. Attempt a section without notes; follow the time and choice rules printed on your selected set.
  2. Mark questions you could not finish. Revisit the corresponding topic in your syllabus or notes.
  3. Rework those questions and check the reasoning, units and final result—not just the answer.
Paper coverage

Topics represented in the paper

This is an exam-paper index, not substitute lecture notes. Use these topic groups to plan timed practice against the R23 paper.

  • 01algorithm complexity, searching and sorting
  • 02singly, doubly and circular linked lists
  • 03stacks and expression processing
  • 04queues, circular queues and deques
  • 05binary search trees and hashing
Provenance

How this file was verified

  1. 01The PDF has a valid file structure and readable pages.
  2. 02The R23 code, semester, subject and exam session appear on the paper.
  3. 03The code and date match the official JNTUK examination timetable.
  4. 04The copy stays on a publicly accessible JNTUK-affiliated institution host.