October 3, 2009

Quote to ponder..

Filed under: Summer

"Everything that irritates us about others can lead us to an understanding of ourselves." — Carl Jung

 

Maybe the things that you could not understand can be found in others…hahahahahaha

September 25, 2009

Starting today…

Filed under: Summer

"The beginning is always today."

– Mary Wollstonecraf

 Every one of us always say that I will change tomorrow, but what really must we do is start today if you really want to change….

August 8, 2009

Wisdom by Williams

Filed under: Summer

"The wisdom acquired with the passage of time is a useless
gift unless you share it."

– Esther Williams

August 5, 2009

Perseverance by Longfellow

Filed under: Summer

"Perseverance is a great element of success. If you only knock
long enough and loud enough at the gate, you are sure to wake
up somebody."

– Henry Wadsworth Longfellow

July 23, 2009

Have fear….

Filed under: Summer

 

"Remember that fear always lurks behind perfectionism. Confronting your fears and allowing yourself the right to be human can, paradoxically, make you a far happier and more productive person."

– David M. Burns

 

Having fear doesn’t mean you are coward. But it will show you how to have a perfect life and happy living. Thus it will enable you to be more productive since you know your limitations. Have fear to God and in everything else.

July 21, 2009

Quote to ponder….July 21,2009

Filed under: Summer

I went to the brink many times. A couple of times I thought
‘I’m gone. This is it.’ But then you would just keep working.
I think if you’re close to the brink and just make sure that
you work twice as hard and put twice as much effort into
everything and the people around you and everything, you
should come through.

— Gerry Harvey

July 20, 2009

Quote to ponder…

Filed under: Summer

“If you don’t know where you are going, how can you expect
to get there?”

— Basil S. Walsh

July 10, 2009

I have nothing to say..

Filed under: Summer

I cant say anything. Im out of my mind…hehe maybe because I’m sick or just I’m not in the mood. I am suffering fever since wednesday and till now I’m not feeling well. I have my headache, cough and little fever. ….sighemoticon….

June 29, 2009

Dynamic routing-Assignment in Network Administration

Filed under: Summer


Dynamic Routing

Dynamic routing performs the same function as static routing except it is more robust. Dynamic routing allows routing tables in routers to change as the possible routes change. Dynamic routing protocols do not change how routing is done. They just allow for dynamic altering of routing tables.
There are two classifications of protocols:

1.      IGP - Interior Gateway Protocol. The name used to describe the fact that each system on the internet can choose its own routing protocol. RIP and OSPF are interior gateway protocols.

2.      EGP - Exterior Gateway Protocol. Used between routers of different systems. There are two of these, the first having the same name as this protocol description:

1.      EGP - Exterior Gateway Protocol

2.      BGP - Border Gateway Protocol.

Dynamic routing protocols are software applications that dynamically discover network destinations and how to get to them. A router will ‘learn’ routes to all directly connected networks first. It will then learn routes from other routers that run the same routing protocol. The router will then sort through its list of routes and select one or more ‘best’ routes for each network destination it knows or has learned.

Dynamic protocols will then distribute this ‘best route’ information to other routers running the same routing protocol, thereby extending the information on what networks exist and can be reached. This gives dynamic routing protocols the ability to adapt to logical network topology changes, equipment failures or network outages ‘on the fly’.

Conceptually, the dynamic routing method has two parts: the routing protocol that is used between neighboring routers to convey information about their network environment, and the routing algorithm that determines paths through that network. The protocol defines the method used to share the information externally, whereas the algorithm is the method used to process the information internally.

June 26, 2009

C#-Codes in Arithmetic

Filed under: Summer

Program.cs

using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace Activity3Salarda
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new FrmName());
        }
    }
}

 

Form1.cs

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Activity3Salarda
{
    public partial class FrmName : Form
    {
        private clsArithmetic objArithmetic = new clsArithmetic();
        public FrmName()
        {
            InitializeComponent();
            objArithmetic = new clsArithmetic();
        }

        private void txtNum1_TextChanged(object sender, EventArgs e)
        {
            try
            {
                objArithmetic.Num1 = int.Parse(txtNum1.Text);
            }
            catch (Exception Ex)
            {
                MessageBox.Show("Incorrect Format.\n" + Ex.Message, "Error", MessageBoxButtons.OK,MessageBoxIcon.Error);
            }

        }

        private void txtNum2_TextChanged(object sender, EventArgs e)
        {
            try
            {
                objArithmetic.Num2 = int.Parse(txtNum2.Text);
            }
            catch (Exception Ex)
            {
                MessageBox.Show("Incorrect Format. \n" + Ex.Message, "Error", MessageBoxButtons.OK,MessageBoxIcon.Error);
            }
           

        }

        private void btnAdd_Click(object sender, EventArgs e)
        {
            MessageBox.Show(objArithmetic.getsum().ToString());
          
        }

        private void btnSubtract_Click(object sender, EventArgs e)
        {
            MessageBox.Show(objArithmetic.getdif().ToString());
        }

        private void btnMultiply_Click(object sender, EventArgs e)
        {
            MessageBox.Show(objArithmetic.getpro().ToString());
        }

        private void btnDivide_Click(object sender, EventArgs e)
        {
            MessageBox.Show(objArithmetic.getquo().ToString());
        }
    }
}

 

Class.cs

using System;
using System.Collections.Generic;
using System.Text;

namespace Activity3Salarda
{
    class clsArithmetic
    {

        private int _Num1 = 0;
        public int Num1
        {
            get { return _Num1; }
            set { _Num1 = value; }
        }
        private int _Num2 = 0;
        public int Num2
        {
            get { return _Num2; }
            set { _Num2 = value; }
        }
        public int getsum()
        {
            return _Num1 + _Num2;
        }
        public int getdif()
        {
            return _Num1 - _Num2;
        }
        public int getquo()
        {
            return _Num1 / _Num2;
        }
        public int getpro()
        {
            return _Num1 * _Num2;
        }
    }
}