Computer Science

Study Material For BSc(CS) students.

  • Home
  • B.Sc.(CS)
    • F.Y.B.Sc(CS)
      • Problem Solving using Computer and ‘C’ Programming
    • S.Y.B.Sc(CS)
      • Data Structures and Algorithms I
        • Notes
        • Lab Assignments
      • Data Structures and Algorithms II
        • Notes
        • Lab Assignments
    • T.Y.B.Sc(CS)
      • Operating System I
        • Notes
        • Lab Assignments
      • Operating System II
        • Notes
        • Lab Assignments
  • M.Sc.(CA)
    • F.Y.M.Sc(CA)
      • Operating System
        • Notes
    • S.Y.M.ScCA)
      • Python Programming
        • Notes
        • Lab Assignments
  • Downloads
    • Syllabus
    • MCQs
  • Practice Tests
    • OS

DS-(I) Assignment 5: Doubly Linked List – Dynamic Implementation

Set A.

a) Implement a list library (doublylist.h) for a doubly linked list with the above operations. Write a menu driven driver program to call the operations append, insert, delete specific node, delete at position, search, display.
 
b) Implement a list library (doublylist.h) for a doubly linked list. Create a linked list, reverse it and display reversed linked list.
 

Set B.

a) There are lists where insertion should ensure the ordering of data elements. Since the elements are in ascending order the search can terminate once equal or greater element is found. Implement a doubly linked list of ordered integers (ascending / descending) with insert, search and display operations.
 
b) There are lists where new elements are always appended at the end of the list. The list can be implemented as a circular list with the external pointer pointing to the last element of the list. Implement doubly linked circular list of integers with append and display operations. The operation append(L, n), appends to the end of the list, n integers either accepted from user or randomly generated.
 

0 Comments:

Post a Comment

Home
Subscribe to: Posts (Atom)
  • Popular
  • Tags
  • Blog Archives

Followers

ABOUT

Rahul Sonawane
Nashik, Maharashtra, India
Qualification: M.Tech (IMCA), NET, SET
View my complete profile

Popular Posts

  • FCFS Disk Scheduling algorithm
    //I) Consider a disk queue with requests for I/O to blocks on cylinders 98, 183, 41, 122, 14, 124, 65, 67. The head is initially at cylinder...
  • OS-(I) Assignment 1: Operations on Processes
    Set A. (1) Implement the C Program to create a child process using fork(), display parent and child process id. Child process will display ...
Powered by Blogger.

Wikipedia

Search results

Blog Archive

  • March (1)
  • January (1)
  • January (5)
  • June (13)
  • April (3)
  • March (2)
  • February (1)
  • November (1)
  • October (3)

 
  • Contact form

    Name

    Email *

    Message *

    Total Pageviews

  • Pages

    • CA - CCTP-5 Operating Systems
    • Operating System II (LABORATORY COURSE)
    • Operating System I (LABORATORY COURSE)
    • DS Lab I Assignments
    • DS Lab II Assignments
    • F.Y.BSc.(CS) (2019 PAT)
    • S.Y.B.Sc.(CS) (2019 PAT)
    • DS I Theory Notes
    • DS II Theory Notes
  • About

    • What is computersciencestudyhub?
    computersciencestudyhub is a Programming languages site, with tutorials and references on Programming languages such as C, C++ and Data Structure covering most aspects of Programming languages.
    • Easy Learning computersciencestudyhub focused on simplicity.
    • computersciencestudyhub uses simple code explanations with simple illustrations of how to use it.
    • computersciencestudyhub tutorials start from the basic level and move all the way up to professional references.
    • computersciencestudyhub is Free

Copyright © Computer Science | Powered by Blogger
Design by NewWpThemes | Blogger Theme by Lasantha - Premium Blogger Themes | Virtual Private Server