General Discussions

Patterns in Software Development

Alexander writes, “Each pattern is a three part rule, which expresses a relation between a certain context, a problem and a solution”. Understanding the context with structural and dynamic properties is essential to design the patterns. A pattern is a mental concept which emerges out from our contextual understanding and experience. The understanding should be sufficient enough to formalize… Continue reading Patterns in Software Development

General Discussions

Token Provider System – Tabuada’s Way

Token provider system is the simpler version of token based system, where tokens are provided to the customers to provide the service on the first come first serve basis. The system modeled here works by providing the next token number for every new customer who walks in. The token number starts from 1 and moves up until 1000. On… Continue reading Token Provider System – Tabuada’s Way

General Discussions

Dining Philosopher’s Problem

The Problem The dining philosopher’s problem is a problem frequently used in concurrent algorithm design to demonstrate the synchronization issues and methods for resolving them. It was originally formulated in 1965 by Edsger Dijkstra [1] and later, Tony Hoare gave the problem its present formulation [2]. There is a dining room containing a circular table with five chairs. At each… Continue reading Dining Philosopher’s Problem

General Discussions

Software Architectures -A Quick Peek

Essential components of any kind of software system includes an input, processing and an output. Engineering confirms a quality system when the system is well understood through requirements and represented with an appropriate design. A design captures the information of the system by building an architecture diagram. Though there is no one standard definition of software architecture(SA), most of… Continue reading Software Architectures -A Quick Peek

General Discussions

Operations on Structures

Following are the things to keep in mind while operating on structures: Comparison 1. Two structure variables cannot be compared. Whether they are of same type of dissimilar, they can’t be. 2. Members of two structure variables of same type can be compared using relational operators. Copying 2 structure variables 1. One structure variable can… Continue reading Operations on Structures