Saturday, March 15, 2014
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.
Subscribe to:
Posts (Atom)