Thursday, July 15, 2010

Training day 2





Training starts @ 10.30 AM

Much to my astonishment, seats are reorganized today and I’m not beside the previous guy. Thank God…was a nightmare anyway. :(

11.00 AM: 1st assignment: WAP to reverse a no.

11.30 AM: Solution:

private void button1_Click(object sender, EventArgs e)
{
int a, b;
a= Convert.ToInt32(textBox1.Text);
textBox2.Text=”";
while (a > 0)
{
b = a % 10;
a = a / 10;
textBox2.Text = textBox2.Text + b.ToString();
}

(‘Click’ is the event that happens when a ‘button’ is pressed.)

11.35 AM: Sir takes a break for 15 mins.

In the meantime we keep taking pictures of ourselves in the web-cams of our respective mini laptops. Bipul, sitting at the next row to me, invited me to take a couple of pics with him.

12.00: Sir is back.

New assignment:

1. WAP for testing whether a no. is prime.

2. WAP to count the no. of vowels in a string.

Since we all are looking at each other, these two must take a bit of time. (btw, have I told you about the building just next to ours’ which is under-construction…just a couple of months or so and they will be ready-to-use, looking up to the sky…with all those glasses and fibers only to prove the eliteness of the sector 5 workers. Considering the fact that we are sitting here, it makes things a bit ironic. Anyway, the teacher has entered, and time to go back to the coding.)

Reminder: I post the codes doesn’t mean I myself do all the codes. That’s just a premise to start with… :)

1.00 PM.

Prime solution: Not available(was careless enough not to save) :(

Think I should spare people giving every code written…

1.30 PM: Sir spares us, for a break.

Lunch break: Bipul, accompanied by me, Nath and Sufal headed towards the other side of the road, where we had the parathas the other day. Well, today became no different either. Five parathas, with vegetable and omlette. Afterwards had tea at another place…not a bad way to have lunch where everything seems to be at a much higher rate.

2.40 PM: C# language and Object Oriented Programming resides in the slides after the break is over.

3.25 PM: Lecture going on code editor, debugger and designer while I manage to take some of my own photos via the webcam. :D :D

3.55 PM: Console application going on. Printed ‘Hello Writer’ :)

Rigorous console. :(

5.10 PM: :( :( :(

After a tiring addition, subtraction and calculator code…may be its time to shut things up for today…not much of left of today though.

5.15 PM: That’s it for today.

July 15, 2010

No comments:

Post a Comment