Saturday, March 15, 2014

Looping Exercise

Exercise 1. Can you see the figure? Try to code this using looping statement(s). Use your logic skills to come up with this output. Note: Make sure to analyze first before putting it into written instructions. 

Tuesday, March 11, 2014

Basic Loop Concept: Example B


A Program instruction that repeats some sequence of statement in a specified number of times. Below are some examples of simple for loop.

Example No 3. Reversing the Numbers of Column A in Column B. The numbers to be outputted in column A are 1, 2, 4 and 8.


Example No 4. Row ODD is 1 and row EVEN is 0. The numbers to be outputted in column A are 1, 2, 4 and 8.


Example No 5. Row ODD is 0 and row EVEN is 1. The numbers to be outputted in column A are 1, 2, 3 and 4.


Basic Loop Concept: Example A

A Program instruction that repeats some sequence of statement in a specified number of times. Below are some examples of simple for loop.

Example No 1. Output 2, 4 and 6 in column A and 1, 2 and 3 in column B.


Example No 2. Ask the user to input a value and calculate its factorial value (n!). Example: if the number is 4, the result should be 24 (formula: 1x2x3x4).

Sunday, March 2, 2014

Difference between Good Stress and Bad Stress


Stress is part of day to day living of every individual. It is an external factor that a person may experience that affects his physical and mental well-being. Irritability, embarrassment, forgetful, headache and stomach distress are just few of the results of stress. If this is not properly handled, it may upshot to death.

Stress can be categorized into two – good and bad. Good stress is a tension that encourages the person to do his best in order to stop the uneasy feeling he suffers.  It helps to achieve our goals from our day to day tasks. This stress introduces us to new experiences that involve adjustments to different stimuli. It can also enhance the deductive reasoning of human being since it needs the person to think productively on how to respond to it.

Another type of tension is the bad stress. It is a tension that does not help us to achieve our day to day tasks.  It encourages the person to function not in full capacity making him to break down. Once bad stress occurs, a person may suffer symptoms like perspiration, headache, and trauma. This tension can also greatly affect the physical and mental well-being. People with mental disorders are caused by bad stress that is not properly managed before it gets worse.

Whether you like it or not, stress is inevitable. Even you are just sitting down and start thinking, stress is present. Stress can seriously affect the totality of human being that is why it requires creative response in order not to prolong the suffering. If you are well faceted enough to handle stress, it can help you to become more productive but, if you are too weak to face tensions, it can even kill you.

Now, it is up to you how will you control yourself from stress. Remember, in order to become the most successful person in the world needs a great power on how to stop those external factors affecting your well-being. 



Thursday, November 10, 2011

Importance of Information Technology to Society



               As the world advances in the realm of science and technology, the importance of Information  to society carve out a big role in this revolution. It has been said that the combination of computers and other high technologies is a natural breakthrough. It encroaches to the different areas of our lives and making us more gratified in all what we need and want. Faster data management, instant connection of different people around the globe, excellent decision making and ecstatic computer games are just few of the leads of information technology. Statistics proves that IT outgrowths continually soaring to the crest and becoming relentless. With the use of multiform programming, computer networking and hardware integration which are done by the experts, technologies become better complex. As the result, most of the people in the world largely depend on these scientific innovations.

           Information Technology has been utilized by different disciplines such as education, politics, economy, management and etc. Many institutions nowadays go beyond from traditional methods of teaching. Electronic learning has been practiced by different levels of education internationally where students could have the access to teaching materials. IT has been adopted also in politics especially in decision making. E- Commerce and online job application are the common benefits it could bring to field of economics. Because IT saves time and effort, economic advancement is also accelerating. Many managers, supervisors and employees are able to finish their tasks prior to the deadlines because of its proficiency in multi tasking jobs.

            Information Technology allows all people to acquire massive information through their fingertips, thus; it increases their level of cognizance and decreases biased judgment. Further, the impact of computer drastically changes lives from easy to easier. It shapes the society into more automated advance that requires less or no human intervention at all which minimizes stress, especially in the work place, and eliminate repetition of tasks, information deficiency and human risks due to negligence. Moreover, from the emergence of social networking sites and online gaming, the level of enjoyment of the people increases. Through these computer features, the world evolves closer together. They create a global village and allowing different countries around the globe to share information with each other thus, bridging the cultural gap.

            On the other note, IT does not only embrace the positive outputs. The sense of pressure is always present in every development. Hacking and cracking of confidential accounts are very common nowadays. Many people are encouraged to cheat using these gadgets. Human trafficking, fraud and defamation are becoming widespread which is definitely too far from over.

            Moreover, these drawbacks of Information Technology only mean that its pace requires proper control and direction of human in order to keep it excelling.