Posts

Showing posts with the label C

Banker's Algorithm

T he banker’s algorithm is a resource allocation and deadlock avoidance algorithm that tests for safety by simulating the allocation for predetermined maximum possible amounts of all resources, then makes an “s-state” check to test for possible activities, before deciding whether allocation should be allowed to continue. Developer:  Anirudh TP Licence:  OpenSource Platform/Language:  C   Download

Paging Technique

Paging is a memory management scheme that eliminates the need for contiguous allocation of physical memory. This scheme permits the physical address space of a process to be non – contiguous. Developer:  Anirudh TP Licence:  OpenSource Platform/Language: C Download

Two Level File Directory

In the two level directory structures, each user has her own user file directory (UFD). When a user job starts or a user logs in, the system’s master file directory (MFD) is searched. The MFD is indexed by user name or account number, and each entry points to the UFD for that user.  When a user refers to a particular file, only his own UFD is searched. Developer:  Anirudh TP Licence:  OpenSource Platform/Language: C Download

Single Level File Directory

Simplest directory structure.All files in the same directory.Easy to Understand.To avoid name collision problem each file should have unique name. Developer:  Anirudh TP Licence:  OpenSource Platform/Language: C Download

Indexed File Allocation

In this scheme, a special block known as the Index block contains the pointers to all the blocks occupied by a file. Each file has its own index block. The ith entry in the index block contains the disk address of the ith file block. Developer:  Anirudh TP Licence:  OpenSource Platform/Language: C Download

Linked File Allocation

In this scheme, each file is a linked list of disk blocks which need not be contiguous. The disk blocks can be scattered anywhere on the disk. The directory entry contains a pointer to the starting and the ending file block. Each block contains a pointer to the next block occupied by the file. Developer:  Anirudh TP Licence:  OpenSource Platform/Language: C Download

Sequential File Allocation

Each file occupies a set of contiguous block on the disk. Allocation using first fit/best fit. Only starting block and length of file in blocks are needed to work with the file. Allows random access Developer:  Anirudh TP Licence:  OpenSource Platform/Language: C Download

Set Operations

Image
Set Operations.C program to compute different set operations like Union,Intersection,Difference.... Developer:  Anirudh TP Licence:  OpenSource Platform/Language:  C Download

Binary Tree

Image
Binary Tree This C Program implements binary tree using linked list. Binary Search tree is a binary tree in which each internal node x stores an element such that the element stored in the left subtree of x are less than or equal to x and elements stored in the right subtree of x are greater than or equal to x. This is called binary-search-tree property Developer:  Arjun P M Licence:  OpenSource Platform/Language:  C Download

Binary Addition

Image
Binary Addition Developer:  Arjun P M Licence:  OpenSource Platform/Language:  C Download

Range of Datatypes

Image
Range of Datatypes Developer:  Arjun P M Licence:  OpenSource Platform/Language:  C Download

Reverse a stack

Image
Reverse a stack without recursion Developer:  Arjun P M Licence:  OpenSource Platform/Language:  C Download

Reverse a Stack

Image
Reverse a stack This C program, using recursion, reverses a stack content. Stack here is represented using a linked list. A linked list is an ordered set of data elements, each containing a link to its successor. Developer:  Arjun P M Licence:  OpenSource Platform/Language:  C Download

Stack

Image
Stack Developer:  Arjun P M Licence:  OpenSource Platform/Language:  C Download

File

Image
File Developer:  Arjun P M Licence:  OpenSource Platform/Language:  C Download

Currency, Speed, Length Converter

Image
Currency,Speed,Length Converter  Developer:  Arjun P M Licence:  OpenSource Platform/Language:  C Download

Wall Clock II

Image
Wall Clock 2 Developer:  Arjun P M Licence:  OpenSource Platform/Language:  C Download

Multiplication Table

Image
Multiplication Table Developer:  Arjun P M Licence:  OpenSource Platform/Language:  C Download

Wall Clock

Image
Wall Clock Developer:  Arjun P M Licence:  OpenSource Platform/Language:  C Download

Day Game

Image
Day Game Tell me any  Date, I will tell you the Day. Developer:  Arjun P M Licence:  OpenSource Platform/Language:  C Download