NotesB.Sc ITSoftware Lab-V (Data Structures)
BSIT306/BSBC306

Software Lab-V (Data Structures) Notes

Program:B.Sc IT
Semester:Semester 3
Credits:2
Units:1 Units

Subject Overview

The practical companion to Data Structures, implementing recursion, array operations, searching and sorting algorithms, and stack/queue/linked list operations. A 2-credit core lab paper.

Subject at a glance

1

Units

8

Topics

2

Credits

1

Infographics

Unit-wise Syllabus

1 units — open any unit for detailed topic-wise notes, diagrams and important exam questions

  • Programs using recursion
  • traversing/inserting/deleting/merging array elements
  • linear and binary search
  • insertion/bubble/selection sort
  • PUSH and POP stack operations
  • array implementation of queue and circular queue
  • infix-to-postfix conversion
  • insertion and deletion in single and double linked lists
ProcessInfix to postfix with a stack
  1. 1

    Scan the expression left to right

  2. 2

    Operand

    Add straight to output

  3. 3

    Left bracket

    Push onto the stack

  4. 4

    Operator

    Pop higher or equal precedence, then push

  5. 5

    Right bracket

    Pop until the left bracket

  6. 6

    End

    Pop everything left

Study guide

In this lab you implement recursion, array operations (traverse, insert, delete, merge), linear and binary search, insertion, bubble and selection sort, stack push and pop, queues and circular queues using arrays, infix-to-postfix conversion and insertion and deletion in single and double linked lists. Test each structure with empty, single and full cases.

Read Unit 1 notes

Why Software Lab-V (Data Structures) Matters

These programs are the classic coding-interview problems, so writing them from scratch is direct placement preparation.

How to Prepare for Software Lab-V (Data Structures)

  • Implement each without notes after the first time.
  • Test boundary cases such as empty and full structures.
  • Be ready to state complexities in the viva.

Software Lab-V (Data Structures): Frequently Asked Questions

What programs are in the data structures lab?

Arrays, searching, sorting, stacks, queues, infix to postfix and linked lists.

Want the Complete Notes & Past Papers?

WhatsApp us and we'll send you the full notes, question banks, and previous year papers for Software Lab-V (Data Structures).