Thread: ADT's

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    84

    ADT's

    I am not looking for code just definitions

    What would be an example of how a Linked List would be used in a operating system?
    What would be an example of how a Queue would be used in a operating system?
    What would be an example of how a Stack would be used in a operating system?
    What is the definition of a Virtual function?

  2. #2
    root
    Join Date
    Sep 2003
    Posts
    232
    >Linked List
    See below, the queue would most likely be implemented as a linked list.

    >Queue
    Maintaining a list of printing jobs and handling them with at least some vestige of sanity. Or for job switching in the kernel if you meant something a little lower level.

    >Stack
    Spare memory given to a process for internal needs.

    >What is the definition of a Virtual function?
    Looky!
    The information given in this message is known to work on FreeBSD 4.8 STABLE.
    *The above statement is false if I was too lazy to test it.*
    Please take note that I am not a technical writer, nor do I care to become one.
    If someone finds a mistake, gleaming error or typo, do me a favor...bite me.
    Don't assume that I'm ever entirely serious or entirely joking.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Polynomials and ADT's
    By Emeighty in forum C++ Programming
    Replies: 20
    Last Post: 08-19-2008, 08:32 AM
  2. New to C... questions about this code...ADTs
    By eva in forum C Programming
    Replies: 3
    Last Post: 02-24-2008, 10:07 AM
  3. Questions about ADT's
    By jaw24 in forum C++ Programming
    Replies: 1
    Last Post: 04-07-2007, 11:37 PM
  4. Quiz on Adts if you can give me the answers thanks
    By ortegac in forum C Programming
    Replies: 3
    Last Post: 04-28-2006, 01:04 AM
  5. ADTs
    By thedoofus in forum C Programming
    Replies: 1
    Last Post: 05-09-2005, 07:51 AM