Since the days in history India’s picture in abroad was, a country with many castes, country where people have blind beliefs, country where people adore stones, mud and animals etc. During British’s rule this picture was still worsened abroad. But, now the picture has been changed due to the progress in various fields and India can play a role of model in many areas internationally.
But, still how Indians are identified outside? They ask us which cast do you belong to in India? How many castes are there in your religion? What is the difference between sub castes?
Colleagues put these questions over informal conversations abroad. The disputes over cast based reservation and castism in India made the people to think differently about Indians. Who is responsible for this? We right?
Unfortunately, in the name of culture and in the name of god caste awareness is increasing in today’s youths, though there are many rational thinkers.
There are as many casts as there are gods and there are as many gods as there are beliefs. Totally, many have misunderstood the concept of god. All behave like educated people with scientific temper but when the question of god comes all behave like coward and believe everything said in the name of god. This is the main reason for our inability to remove castism from our minds. We talk too much about removing the castism from our society but never show courage to say I am not belonged to any cast. Many never know Mahatma Gandhi belong to which cast? Do we ever think about the caste when we talk about Dr. A.P.J. Abdul Kalam? We do not consider the cast when the person is special and important. Similarly we should consider the person everywhere but not the cast he belongs to.
All religions have started from man. These religions are different as the ways to realize the god are different. All religions say the same stuff in different ways. This is like writing the same program in many programming languages, where the result is always same and there will be same types of errors in all.
People should discourage their children when they talk about castes. Parents should ask the children to recognize others as persons but not persons from xyz caste. Then at least the next generation would live happily.
Human race has the ability to learn the new skills and to apply the knowledge acquired. This ability of human race is reflected in the inventions and the discoveries made so for. The learning ability has enabled him to find the solution for all kinds of problems in is life. Human race journey has been along the continuous learning curve. This is the basic reason for the evolution of human race.
Thursday, April 26, 2007
Tuesday, April 17, 2007
India – Does not need any revolution
In India there is a sudden change in the lifestyle in last 2 decades. These changes are due to the globalization and technical advancements. Many sections of the societies have undergone through this change having utilized the technology advancements. This was possible for them because of the availability of the communication channels. Off course still there is a big section, which is not aware of what is happening in the world. Reaching that section has been always difficult for the organizations and governments. So those sections remained in unimproved state and fell behind decades relatively. The government’s policies fail to bring them to the main stream, as there are no such real intentions in the government executive bodies.
There is a huge mind set in India, which can think rationally to solve the various current problems what people face now. This mind set finds the better approaches for various problems we have. If we observe the discussions on the Internet and televisions we understand that current generation has started thinking in a way appropriate for the situation than the earlier days. Who knows earlier also it was the case but we had no ways to know each other in a faster way. At least the youths and children who have fresh thoughts can change the current picture of India. The sum of these minds and their rational thoughts should come together and propagate like a wave of revolution. This needs a proper leadership what the current youth community lacks.
Always the leadership is tied to politics. Politics is not required at all. Remember political power is not the requirement but the will power to make the change is required. Mahatma Gandhi had no political power but had a strong will. All our leaders, before independence had no powers but had will powers. The community section, which has the will power, can get any power.
So why to wait? Show that you have the will power to make any change in a better way. Do not fall behind the politics. By joining politics or building a party you become a part of it. If you put a drop of sweet water in sea it cannot turn the sea into sweet water. Instead it testes like seawater.
Do not waste your time and become inactive by watching games played by others. Instead play the games yourself and enjoy it and be active. There will be the real happiness.
Protest any wrong decisions by the government strongly. We have the better way to protest in India. Peacefully come to the street and protest against the odd things. Convince the people like how Mahatma Gandhi did. We need to fight against our own people again. Because the people involved in corruption are not foreigners but they are our neighbours only. We are all neighbours to somebody. The government has been fooling us in an intelligent way that we fail to understand. Our people cheat us. Just see the number of crimes in India and the type of people behind it. All are responsible people and they feel that they are not guilty. Reason for this is such people see the world as if everyone is guilty. Politicians purposefully delay their trail in court so that the punishment for them is delayed. Each one protects other. Looks they never get punishment. Only the helpless people get proper punishment for their crime. Why this odd development here? Naxalism, terrorism and any negative developments are due to the failure of the governments to provide the equality to all. Any development in society should be a voice towards the punishment to the guilty so that the crime rate comes down. All other violent actions by any group, which disturb the normal life, have failed to attain their goals. History provides the evidences for that.
The good intention with the wrong way to do that is like a good food in a dirty plate. So the people who think rationally to provide justice and equality to all must get the confidence of the people for whom they fight. Though society is made up of different type of people no one like violent approach. This need not be confused with the freedom fighters before independence. Such violence is not a requirement now. We need to remember that we need to fight against our own people, who are our neighbours.
Raise the voice when any body suffers and see that the guilty is punished. The victim will remember the support and be a part of yours. If you forsake the victim you loose one candidate and he will never believe you. Make sure all people, that the guilty must be punished. Government has become impotent in punishing the guiltiness, because, it has lost its will power. To punish the guilty one needs the will power and guts.
The voice raised in right time can bring the change slowly and change the environment. Remember, slow change is better than revolution. And it has no side effects.
There is a huge mind set in India, which can think rationally to solve the various current problems what people face now. This mind set finds the better approaches for various problems we have. If we observe the discussions on the Internet and televisions we understand that current generation has started thinking in a way appropriate for the situation than the earlier days. Who knows earlier also it was the case but we had no ways to know each other in a faster way. At least the youths and children who have fresh thoughts can change the current picture of India. The sum of these minds and their rational thoughts should come together and propagate like a wave of revolution. This needs a proper leadership what the current youth community lacks.
Always the leadership is tied to politics. Politics is not required at all. Remember political power is not the requirement but the will power to make the change is required. Mahatma Gandhi had no political power but had a strong will. All our leaders, before independence had no powers but had will powers. The community section, which has the will power, can get any power.
So why to wait? Show that you have the will power to make any change in a better way. Do not fall behind the politics. By joining politics or building a party you become a part of it. If you put a drop of sweet water in sea it cannot turn the sea into sweet water. Instead it testes like seawater.
Do not waste your time and become inactive by watching games played by others. Instead play the games yourself and enjoy it and be active. There will be the real happiness.
Protest any wrong decisions by the government strongly. We have the better way to protest in India. Peacefully come to the street and protest against the odd things. Convince the people like how Mahatma Gandhi did. We need to fight against our own people again. Because the people involved in corruption are not foreigners but they are our neighbours only. We are all neighbours to somebody. The government has been fooling us in an intelligent way that we fail to understand. Our people cheat us. Just see the number of crimes in India and the type of people behind it. All are responsible people and they feel that they are not guilty. Reason for this is such people see the world as if everyone is guilty. Politicians purposefully delay their trail in court so that the punishment for them is delayed. Each one protects other. Looks they never get punishment. Only the helpless people get proper punishment for their crime. Why this odd development here? Naxalism, terrorism and any negative developments are due to the failure of the governments to provide the equality to all. Any development in society should be a voice towards the punishment to the guilty so that the crime rate comes down. All other violent actions by any group, which disturb the normal life, have failed to attain their goals. History provides the evidences for that.
The good intention with the wrong way to do that is like a good food in a dirty plate. So the people who think rationally to provide justice and equality to all must get the confidence of the people for whom they fight. Though society is made up of different type of people no one like violent approach. This need not be confused with the freedom fighters before independence. Such violence is not a requirement now. We need to remember that we need to fight against our own people, who are our neighbours.
Raise the voice when any body suffers and see that the guilty is punished. The victim will remember the support and be a part of yours. If you forsake the victim you loose one candidate and he will never believe you. Make sure all people, that the guilty must be punished. Government has become impotent in punishing the guiltiness, because, it has lost its will power. To punish the guilty one needs the will power and guts.
The voice raised in right time can bring the change slowly and change the environment. Remember, slow change is better than revolution. And it has no side effects.
Monday, April 16, 2007
Root problems in India
Many say cast and religion are the root causes for the current problems in India. Some people say the problems are due to the corrupted politicians. Some say the poverty and lower economical conditions and the illiteracy are the main causes and so on.
Truly speaking none of the above are the root causes. It is possible to leave happily and peacefully in a multiple caste and religious state. It is possible for the poor to leave happily. Problems are not due to illiterate but many times due to literate people, who exploit illiterate and innocent people to do crime. It is possible to remove the corruption in the politics.
All the above problems are always there since the start of the human race. But still in history we have seen the examples where the people lived happily and peacefully in some time spans.
The above said problems are the created problems by the people and so those are not the root causes.
So what are the main causes for the non-peaceful society today?
People are the root causes for all the problems. Their attitude is the root cause. Man has become greedier more than ever before for his needs. So he finds the unlawful and unethical ways to earn money. If the greed is under control then the society leaves peacefully. It is always the level of the greed, which decides the happiness of the masses and its peace.
The greed should be under control and should be governed by spirituality. Guilty conscience is the need for the currect society. It is verymuch required for man to leave peacefully. Otherwise there will be no difference between the animals and the human.
We have the examples of some well-developed countries where the education and money is not a problem. But still people suffer from many problems. The current generation may not be the reason for that. But may be it is the effect of the previous mistakes or wrong political decisions or may be the way they lived before.
FutureThe generations have to pay for the mistakes in the current generation. This is as same as the fact that no rain we get in future when we cut trees and create deforestation. It is as true as the inheritance of characteristics through DNA to successive generations.
Unless there is a changes in human attitude happiness and peace is a dream word.
Truly speaking none of the above are the root causes. It is possible to leave happily and peacefully in a multiple caste and religious state. It is possible for the poor to leave happily. Problems are not due to illiterate but many times due to literate people, who exploit illiterate and innocent people to do crime. It is possible to remove the corruption in the politics.
All the above problems are always there since the start of the human race. But still in history we have seen the examples where the people lived happily and peacefully in some time spans.
The above said problems are the created problems by the people and so those are not the root causes.
So what are the main causes for the non-peaceful society today?
People are the root causes for all the problems. Their attitude is the root cause. Man has become greedier more than ever before for his needs. So he finds the unlawful and unethical ways to earn money. If the greed is under control then the society leaves peacefully. It is always the level of the greed, which decides the happiness of the masses and its peace.
The greed should be under control and should be governed by spirituality. Guilty conscience is the need for the currect society. It is verymuch required for man to leave peacefully. Otherwise there will be no difference between the animals and the human.
We have the examples of some well-developed countries where the education and money is not a problem. But still people suffer from many problems. The current generation may not be the reason for that. But may be it is the effect of the previous mistakes or wrong political decisions or may be the way they lived before.
FutureThe generations have to pay for the mistakes in the current generation. This is as same as the fact that no rain we get in future when we cut trees and create deforestation. It is as true as the inheritance of characteristics through DNA to successive generations.
Unless there is a changes in human attitude happiness and peace is a dream word.
Thursday, April 5, 2007
Reservation required, but the ‘backward community’ needs to be redefined
Reservation is the right thing and it should be there. Many downtrodden masses have utilized this opportunity and have come up in their life. We should see that out of 100 families, in the worst case, 10 families utilized that and improved in India. This is okay condition and right effort.
Truly speaking, there is no reservation required at all for anybody in ideal situation. That situation would be like the one where the society has no divisions like upper and lower castes. All will have the same economical and social status and all types of opportunities are equally distributed to all. This is an ideal situation and always there is a care for incapable people by the system like the government and its people. But that ideal society never exists in the time line. There are many reasons for the backward communities to exist in India over centuries. All sections of the society are responsible for that. Any section falls behind in the competition race, becomes the backward section over time. In addition, politics pushes some societies into backward communities list over time. So as long as the backward communities exist there should be reservation to uplift those societies.
Contemporarily there is always a cry for ‘no reservation’ from those who do not enjoy this. This voice against the reservation is a valid one as those people are frustrated about the discrimination by the government. But we need to see the classes of people who are not able to share the opportunities. We need to provide them the ways to come up. Reservation is considered as the way for this.
But here is confusion. Suppose that if the families, as I said earlier, 10 out of 100 have been benefited by reservation and these families are well settled economically. Also the earning members of these families are in certain jobs by availing the reservation. Then the goal of the government is over. Its purpose is met. The families have come to a position. There onwards they do not need any reservation by the fact that they can earn and they are capable of providing the education to their next generation. So what is the reason for extending the reservations to those families? Whether the government assumes that the generations in backward communities are always weaker? If this is the argument then it is the disrespect for that community. All backward communities should come together to protest against this kind of disrespect from the government. For example I belong to OBC category. I utilized the reservation during my education, the way it was available for me in the last decade. I am an engineer now. Thanks to the government reservation policy. But if the government says by any chance that now my children also come in a reservation category I consider it is a kind of disrespect to my children. It looks down upon the abilities of my children. It is an insane behavior of the government who put my children into reservation category.
So, if anyone argues that when the children are incapable and so they also need reservation, then the same situation has to be considered in all sections of all societies. This is because; all societies and all communities have the same problem. Then the reservation would be like for those who cannot compete.
Is this the real need of an hour ‘the reservation for an incompetent person’ he can be in any section and any society?
Can anybody on behalf of the government clear to the nation that the extension of reservation to such already improved families is because their generations are always weaker? Can such families who think their children too need reservations accept this fact that their children are incompetent and incapable always?
Discrimination on the basis of castes is an offence. Discrimination should be the fact of history. There should be no place for it in the civilized society at present. The government needs to act better than now. As per our constitution Government shall not engage in such things, which can divide the community masses. This will be the breach of the constitution. Government must not treat an entire community as backward as it is against the constitution. Also it must not exploit the innocence of the public, as it is a sin and it reverts back in a bad manner later. History provides the evidence for all these.
What Government can do to uplift the poor and downtrodden families with keeping the communities united?
1. Make any law equally applicable to all Indians irrespective of their religion and communities.
2. Define ‘backward community’ as ‘a family that has been deprived of the opportunities for education and status’.
3. Find such backward families to avail the reservation in all sections and all societies.
4. To such families provide the reservations in different levels as per their income slabs.
This would be the real care of the people who really need the support from the government.
All other steps lead to conflicts in the societies creating the barriers dividing the people of the nation. This will not end until the sun rises in the west.
Truly speaking, there is no reservation required at all for anybody in ideal situation. That situation would be like the one where the society has no divisions like upper and lower castes. All will have the same economical and social status and all types of opportunities are equally distributed to all. This is an ideal situation and always there is a care for incapable people by the system like the government and its people. But that ideal society never exists in the time line. There are many reasons for the backward communities to exist in India over centuries. All sections of the society are responsible for that. Any section falls behind in the competition race, becomes the backward section over time. In addition, politics pushes some societies into backward communities list over time. So as long as the backward communities exist there should be reservation to uplift those societies.
Contemporarily there is always a cry for ‘no reservation’ from those who do not enjoy this. This voice against the reservation is a valid one as those people are frustrated about the discrimination by the government. But we need to see the classes of people who are not able to share the opportunities. We need to provide them the ways to come up. Reservation is considered as the way for this.
But here is confusion. Suppose that if the families, as I said earlier, 10 out of 100 have been benefited by reservation and these families are well settled economically. Also the earning members of these families are in certain jobs by availing the reservation. Then the goal of the government is over. Its purpose is met. The families have come to a position. There onwards they do not need any reservation by the fact that they can earn and they are capable of providing the education to their next generation. So what is the reason for extending the reservations to those families? Whether the government assumes that the generations in backward communities are always weaker? If this is the argument then it is the disrespect for that community. All backward communities should come together to protest against this kind of disrespect from the government. For example I belong to OBC category. I utilized the reservation during my education, the way it was available for me in the last decade. I am an engineer now. Thanks to the government reservation policy. But if the government says by any chance that now my children also come in a reservation category I consider it is a kind of disrespect to my children. It looks down upon the abilities of my children. It is an insane behavior of the government who put my children into reservation category.
So, if anyone argues that when the children are incapable and so they also need reservation, then the same situation has to be considered in all sections of all societies. This is because; all societies and all communities have the same problem. Then the reservation would be like for those who cannot compete.
Is this the real need of an hour ‘the reservation for an incompetent person’ he can be in any section and any society?
Can anybody on behalf of the government clear to the nation that the extension of reservation to such already improved families is because their generations are always weaker? Can such families who think their children too need reservations accept this fact that their children are incompetent and incapable always?
Discrimination on the basis of castes is an offence. Discrimination should be the fact of history. There should be no place for it in the civilized society at present. The government needs to act better than now. As per our constitution Government shall not engage in such things, which can divide the community masses. This will be the breach of the constitution. Government must not treat an entire community as backward as it is against the constitution. Also it must not exploit the innocence of the public, as it is a sin and it reverts back in a bad manner later. History provides the evidence for all these.
What Government can do to uplift the poor and downtrodden families with keeping the communities united?
1. Make any law equally applicable to all Indians irrespective of their religion and communities.
2. Define ‘backward community’ as ‘a family that has been deprived of the opportunities for education and status’.
3. Find such backward families to avail the reservation in all sections and all societies.
4. To such families provide the reservations in different levels as per their income slabs.
This would be the real care of the people who really need the support from the government.
All other steps lead to conflicts in the societies creating the barriers dividing the people of the nation. This will not end until the sun rises in the west.
Saturday, March 31, 2007
Innovative Technologies and the Consumer Industries
The possible risks, of using any consumer product on human health, needs to be taken in to consideration by the manufacturers. Especially, those, who are in consumer products like medicine, cosmetics and food gradients etc are to be careful. This needs the true attention when the product is based on a new technology. Unless the impact of the, use of the new technology in product, on human health is studied properly no product based on that technology should enter into the market.
Advertisements for the consumer products are not sufficient even if they come through the famous personalities and celebrities from sports, movie etc. People are simply attracted to use the product and later the blame starts. Proper test proofs can only convince the public. As the people are more concerned of their health than anything those who provide test proofs to the public may win in the market. Often companies do marketing of their product with labeling the new technology usage and it is not clear to the consumer that for what this technology has been applied in the product. How dangerous their product is to human health is not known. Because many time the companies are concerned with the use of new technology and labeling the product with it before the technology impact is studied substantially.
If there is no clear publishing of the test proofs to the public, about the harms on human health, there will be arguments and confusions in the consumer groups. We have already seen some examples about Coca Cola in India. There are some discussions and arguments in the Internet about the nano technology based consumer products.
Particularly the developing countries have to have the sufficient and proper laws to check if there are any adverse affects on human health. Before the break through and innovative technologies are applied for consumer products, manufacturers should be forced to do the research on the long-term affects of those technologies on human health in advance. The regulations should be in force to insist for researching on impacts of products based on new technologies and publishing it with proof prior to applying it to the human consumer products.
Read for details.
Advertisements for the consumer products are not sufficient even if they come through the famous personalities and celebrities from sports, movie etc. People are simply attracted to use the product and later the blame starts. Proper test proofs can only convince the public. As the people are more concerned of their health than anything those who provide test proofs to the public may win in the market. Often companies do marketing of their product with labeling the new technology usage and it is not clear to the consumer that for what this technology has been applied in the product. How dangerous their product is to human health is not known. Because many time the companies are concerned with the use of new technology and labeling the product with it before the technology impact is studied substantially.
If there is no clear publishing of the test proofs to the public, about the harms on human health, there will be arguments and confusions in the consumer groups. We have already seen some examples about Coca Cola in India. There are some discussions and arguments in the Internet about the nano technology based consumer products.
Particularly the developing countries have to have the sufficient and proper laws to check if there are any adverse affects on human health. Before the break through and innovative technologies are applied for consumer products, manufacturers should be forced to do the research on the long-term affects of those technologies on human health in advance. The regulations should be in force to insist for researching on impacts of products based on new technologies and publishing it with proof prior to applying it to the human consumer products.
Read for details.
Sunday, March 25, 2007
Minimize the Client and Server transactions on the Internet
Whenever any website is visited the web browser opens the website’s home page initially. The home page in website serve as the introductory page for the entire website. It provides the links to other pages for detailed specific information. These links can be in the form tabs, buttons in the menu or any hyper linked texts and used to open the different pages. Usually the information itself is broken down in to different pages so that each page serves a different purpose and provides the classified information. The home page provides the hyper links or tab links through menus to other pages.
Web browser at the client machine processes the URL and opens the home page first and waits for the user to click for any links on it. The pages are loaded from the web server on demand whenever user clicks the hyper links. This saves the Internet bandwidth by loading only the require pages.
Internet bandwidth always becomes inadequate even if the bandwidth capacity is improved. This is due to the fact that there is always overloaded Internet traffic in the form with text, photos, video and voice. So the bandwidth needs to be carefully utilized.
Current strategy used in web browser is loading the page based on user requirement as discussed above. As the client machine keeps on requesting the pages, the page is repeatedly fetched from the web server. Distributed servers have increased the speed of getting the page. Even if the nearest servers are chosen based on the client’s geographic information the number of transactions are not minimized. The web browsers were designed earlier to get only the required information. The reasons may be the costly hardware like RAM and the secondary storage devices at client side.
Each time the page is refreshed or the hyper link is clicked there are many processes happen to get the page from the server. At minimum following are the tasks that need to be completed to get a requested page (Assuming that the cache is not set for the pages to stay locally).
1. At the client side web browser sends the request to server.
2. Web server needs to process the document search operation.
3. The searched document is loaded on to the Internet and sent to the client machine.
4. Client machine receives the document and refreshes the screen with the new page.
This happens every time the page is refreshed. If there are two Internet explorers open on the same machine for the same user login both act independently. When same URL is opened in these Internet explorers, both initiate the http request for that page and get the pages from the server.
Can the web browser behave smart when communicating to the web server?
If the transaction between the client and the server is minimized the load on the Internet is going to be minimized definitely.
What are the strategies to minimize the transactions between the client and server? It depends on the type of transaction. For the transactions where the stepwise authentication is required at the server side it cannot be minimized. But in any other types of transactions it should be minimized. Web browsers should determine the type of transaction happening and act accordingly.
1. Whenever the web page has a descriptive material user will definitely click the hyper links embedded in between the paragraph. The web browser can get the web pages for all the links in that paragraph when the page is downloaded for the first time. This is like getting all materials required instead of getting it whenever is required. This protocol can be applied when the server is not nearer to the client and the client and server communication is costly.
2. When the home page is downloaded from the server the server can send the information to the client about when next update can happen to that page. So that the client can cache the page locally depends on this time length. Some web pages frequently updated can follow some protocol to set their page update time.
Any comments please…
Web browser at the client machine processes the URL and opens the home page first and waits for the user to click for any links on it. The pages are loaded from the web server on demand whenever user clicks the hyper links. This saves the Internet bandwidth by loading only the require pages.
Internet bandwidth always becomes inadequate even if the bandwidth capacity is improved. This is due to the fact that there is always overloaded Internet traffic in the form with text, photos, video and voice. So the bandwidth needs to be carefully utilized.
Current strategy used in web browser is loading the page based on user requirement as discussed above. As the client machine keeps on requesting the pages, the page is repeatedly fetched from the web server. Distributed servers have increased the speed of getting the page. Even if the nearest servers are chosen based on the client’s geographic information the number of transactions are not minimized. The web browsers were designed earlier to get only the required information. The reasons may be the costly hardware like RAM and the secondary storage devices at client side.
Each time the page is refreshed or the hyper link is clicked there are many processes happen to get the page from the server. At minimum following are the tasks that need to be completed to get a requested page (Assuming that the cache is not set for the pages to stay locally).
1. At the client side web browser sends the request to server.
2. Web server needs to process the document search operation.
3. The searched document is loaded on to the Internet and sent to the client machine.
4. Client machine receives the document and refreshes the screen with the new page.
This happens every time the page is refreshed. If there are two Internet explorers open on the same machine for the same user login both act independently. When same URL is opened in these Internet explorers, both initiate the http request for that page and get the pages from the server.
Can the web browser behave smart when communicating to the web server?
If the transaction between the client and the server is minimized the load on the Internet is going to be minimized definitely.
What are the strategies to minimize the transactions between the client and server? It depends on the type of transaction. For the transactions where the stepwise authentication is required at the server side it cannot be minimized. But in any other types of transactions it should be minimized. Web browsers should determine the type of transaction happening and act accordingly.
1. Whenever the web page has a descriptive material user will definitely click the hyper links embedded in between the paragraph. The web browser can get the web pages for all the links in that paragraph when the page is downloaded for the first time. This is like getting all materials required instead of getting it whenever is required. This protocol can be applied when the server is not nearer to the client and the client and server communication is costly.
2. When the home page is downloaded from the server the server can send the information to the client about when next update can happen to that page. So that the client can cache the page locally depends on this time length. Some web pages frequently updated can follow some protocol to set their page update time.
Any comments please…
Program Structures and properties
1. C program Structure and properties
Structure:
void main(void)
{
statement 1;
statement 2;
.
.
.
statement n;
return;
}
C program will have the above typical program structures. Every C program will have at least main function. Other functions, if present, are called from this main. The C style programming has the following features.
Properties:
Procedural Programming Technique -
C program logic is built sequentially. The entire program flow is sequential from start to end like a procedure. There may be multiple threads and exits in between but the logic flows from start to end like a process.
Modular Programming -
C program is always a collection of function modules. The main function calls other functions. Entire main function can be a sequence of function calls where the entire process is broken down into modules.
Top Down Approach -
The programming approach used in C language is top down means; the program logic is built by making the functions calls assuming that the functions are present. Once the higher-level logic is built then these functions are implemented. While building the higher-level logic one need not bother about the lower level details of the functions to be implemented. Programmer can just assume the availability these modules and use them.
This Section will be continued...
Readers please leave your comments and any more expectations.
Structure:
void main(void)
{
statement 1;
statement 2;
.
.
.
statement n;
return;
}
C program will have the above typical program structures. Every C program will have at least main function. Other functions, if present, are called from this main. The C style programming has the following features.
Properties:
Procedural Programming Technique -
C program logic is built sequentially. The entire program flow is sequential from start to end like a procedure. There may be multiple threads and exits in between but the logic flows from start to end like a process.
Modular Programming -
C program is always a collection of function modules. The main function calls other functions. Entire main function can be a sequence of function calls where the entire process is broken down into modules.
Top Down Approach -
The programming approach used in C language is top down means; the program logic is built by making the functions calls assuming that the functions are present. Once the higher-level logic is built then these functions are implemented. While building the higher-level logic one need not bother about the lower level details of the functions to be implemented. Programmer can just assume the availability these modules and use them.
This Section will be continued...
Readers please leave your comments and any more expectations.
Friday, March 23, 2007
Compilers can be Intelligent
Compiler is a tool used by developers to produce the binary image of the source code. Developer uses this tool frequently while the code is being developed. There are compilers for all languages except for some languages, where the interpreters execute the program.
The current compilers do preprocessing for cleaning the code and handling the various compiler directives. Then the result is subjected to lexical and syntax analysis where the typo errors and language related errors are handled. After this there will be code generation and code optimization.
The current compilers have configuration options for a particular compilation set up needs. Every time the code is compiled the same above said steps are done. In some cases the incremental compilation is done to act only on the recently changed code. To develop a small program couple of times the compilation happens in average. In this process compiler does not use the information generated by the profiler to act intelligent. Compiler can learn about the program and about its data objects. This information can be used to make compiler act intelligently over that program. But compilers do not use any information about the program, which makes the successive compilations easier for the same program.
Compilers need to become like expert systems. They can obtain the expertness while compiling the programs. As, typically the program development involves couple of rounds of compilation the learning process for the compilation need not be the separate phase.
What are the areas where the compilers can behave as intelligent tools?
· Compiler can declare any local variable if its declaration is missing and indicate the user about the same in the form of warning.
· Compiler can declare any global variable if its declaration is missing and indicate the user in the form of warning.
· Compiler can free the dynamic memory allocated inside a function or block if user does not free the memory by mistake and indicate the same to the user in the form of warning.
· Compiler can include the header file as appropriate corresponding to a used library instead of throwing the errors.
These abilities of the compiler speed up the program development task and thereby reduce the program development life cycle time.
The current compilers do preprocessing for cleaning the code and handling the various compiler directives. Then the result is subjected to lexical and syntax analysis where the typo errors and language related errors are handled. After this there will be code generation and code optimization.
The current compilers have configuration options for a particular compilation set up needs. Every time the code is compiled the same above said steps are done. In some cases the incremental compilation is done to act only on the recently changed code. To develop a small program couple of times the compilation happens in average. In this process compiler does not use the information generated by the profiler to act intelligent. Compiler can learn about the program and about its data objects. This information can be used to make compiler act intelligently over that program. But compilers do not use any information about the program, which makes the successive compilations easier for the same program.
Compilers need to become like expert systems. They can obtain the expertness while compiling the programs. As, typically the program development involves couple of rounds of compilation the learning process for the compilation need not be the separate phase.
What are the areas where the compilers can behave as intelligent tools?
· Compiler can declare any local variable if its declaration is missing and indicate the user about the same in the form of warning.
· Compiler can declare any global variable if its declaration is missing and indicate the user in the form of warning.
· Compiler can free the dynamic memory allocated inside a function or block if user does not free the memory by mistake and indicate the same to the user in the form of warning.
· Compiler can include the header file as appropriate corresponding to a used library instead of throwing the errors.
These abilities of the compiler speed up the program development task and thereby reduce the program development life cycle time.
Subscribe to:
Posts (Atom)
Save Water and Save Life
