Computers
Stack
Submitted by satya on Wed, 21/03/2007 - 10:34.You must have seen a stack of books:

When you want to pick up a book from this stack, you have to pick up the book first which you had placed in the last. In other words, this can be said as "Last In First Out (LIFO)".
This is the principle of Stack data structure. It works on the principle of LIFO.
The data that is pushed at last on the stack is first to pop out. Hence, there are two operations on stack:
Doubly Linked List
Submitted by satya on Wed, 21/03/2007 - 09:49.Doubly linked list is an extension of singly linked list, which includes the a pointer to the previous node in addition to next node pointer in case of Singly linked list.

Due to this design, following additional benefits are gained by Doubly linked lists:
- Returning to the back node becomes easier, as we already have a pointer to back node in the current node itself.
Graph Theory
Submitted by satya on Fri, 16/02/2007 - 13:25.A graph is a drawing or a diagram consisting of a collection of vertices together with edges joining certain pairs of these vertices. Mathematically, we can write a graph as:
G = [V(G), E(G)]
where V(G) = Vertex set of graph G
E(G) = Edge set of graph G
Some definitions:
Parellel Edges: If two (or more) edges of a graph G have the same end vertices then these edges are called Parellel.
Isolated Vertex: A vertex of graph G, which is not the end of any edge is called Isolated.
Zeller Algorithm
Submitted by satya on Sat, 10/02/2007 - 18:48.Zeller devised an algorithm to predict the day of week for any date between year 1582 and 4902. This is a very popular algorithm. The algorithm has been given below:
int zeller(int dd,int mm,int yy)
{
int i;
int zm,zy;
if(mm<3)
zm=mm+10;
else
zm=mm-2;
if(zm>10)
zy=yy-1;
else
zy=yy;
i=((((13*zm-1)/5)+dd+zy%100+((zy%100)/4)-2*(zy/100)+(zy/400)+77)%7);
return i;
}
You can download the full C language source code for this site from the attachment.
My Linux Experiences
Submitted by satya on Thu, 08/02/2007 - 21:00.This Section refers to my linux experiences.
- 1083 reads
Singly Linked List
Submitted by satya on Wed, 07/02/2007 - 15:09.Singly linked list is a data structure, used to store data non-contiguously.
In a Singly linked list, data is stored into the non-contiguous nodes. Each node contains a reference pointer to the next node holding address of next node. Last node contains a null pointer in the next address field. It is a way of saying that "I am the last node".

The main advantages of singly linked list are:
Data Structures
Submitted by satya on Tue, 06/02/2007 - 21:44.Data structures
Data structures are very important and interesting part of computer science.
Data structures are various methods by which a linked type of data can be stored
and retrieved in an efficient manner. Following are the main objectives of
having a separate data structure:
1) Least amount of memory redundancy.
2) Maximum amount of memory utilization.
3) Maximum efficiency of traversal.
- 726 reads
Computers
Submitted by satya on Tue, 06/02/2007 - 21:34.This section contains topics on computers.
- 651 reads
Technology
Submitted by satya on Tue, 06/02/2007 - 20:55.This section contains various technology related topics.
- 749 reads
Array
Submitted by satya on Fri, 02/02/2007 - 21:20.Array
Array is a data structure used in almost all of the languages from second
generation onward. This data structure is used to store related data in
contiguous memory locations. The greatest advantage of array is it's simplicity.
Data is stored in contiguous locations and thus can be easily accessed by simple
mathematical calculation.
Array Operations
1) Initialize: In this operation, first element is stored in the
array. Here is a C function for initializing the array:

![Validate my RSS feed [Valid RSS]](http://www.vshiksha.com/images/valid-rss.png)