1/24/11

1/18/11

HTML Tag Reader : Flash Application

Here is an flash application which reads some of the html tag and then gives the desired result. I have used Action Script 3 for this application. In the application you will get to know the usage of action listener (event listener), then Use of URLRequest etc. The rest I have defined belo...

1/17/11

1/14/11

Signal Program using parent-child in UNIX

Let us now write a program that communicates between child and parent processes using kill() and signal(). fork() creates the child process from the parent. The pid can be checked to decide whether it is the child(==0) or the parent (pid = child process id). The parent can then send messages...

Two processes comunicating via shared memory in UNIX

We develop two programs here that illustrate the passing of a simple piece of memery (a string) between the processes if running simulatenously: server.c -- simply creates the string and shared memory portion. client.c -- attaches itself to the created shared memory portion and uses the string...

1/13/11

Computer graphics : Hidden Surface Elimination

BACKFACE DETECTION:  In a solid object, there are surfaces which are facing the viewer (front faces) and there are surfaces which are opposite to the viewer (back faces). These back faces contribute to approximately half of the total number of surfaces. Since we cannot see these surfaces...

1/11/11

UML : Interaction Diagrams with Example

An interaction diagram is a graphical representation of how objects interact with one another in a scenario. They capture the behavior of a single use case, showing the pattern of interaction among objects. Objects communicate in an interaction diagram by sending messages. Sending a message...

1/10/11

UML : StateChart Diagram with Example

This is a concept in Object Oriented Software Engineering, which is used to describe the behavior of the system. State diagrams require that the system described is composed of a finite number of states; sometimes. The below is an state chart diagram of  An Airline reservation system. I hope...