Wednesday, April 22, 2009

One Day in the Entrancing Life of a Nerd - III (Extreme Programming)

Yes, they're here. The infamous extra classes (from 4 pm to 6 pm) for the useless people who
1) Do not conform to the stipulated colossal levels of dedication to textbooks (read: below 50% average)
2) Fall ill for more than 6 days per semester(read: below 85% attendance) and
3) Rely on compensatory tests (read: absent for either test/quiz 1 or test/quiz 2)

The day might not be far, when some psychologically tormented, emotionally frustrated soul like me would post the below mentioned notice on the noticeboard of the CS dept:

#include iostream
using namespace std;

class ExtraClasses
{
private:
float average, attendance;
char absent;
public:
ExtraClasses()
{
average = 0.0;
attendance = 0.0;
absent = 'N';
}
ExtraClasses(float x, float y, char z)
{
average = x;
attendance = y;
absent = z;
}
void getScrewed()
{
if(average<=50 || attendance<=85 || absent!='N') // In any ONE subject
{
cout<<"Attend Extra Classes In ALL Subjects from 4 p.m to 6 p.m, else go meet HOD";
return;
}
else
{
cout<<"This means you:";
cout<<"1: Have more than 50% average in ALL subjects";
cout<<"2: Have more than 85% attendance in ALL the subjects";
cout<<"3: Attended ALL the tests and quizzes in ALL the subjects";
cout<<"Simply put, you're a nerd who takes solace in your textbooks and views GPA as a symbol of social status. With no offense meant, GET A LIFE";
}
}
};

int main()
{
ExtraClasses E(95, 100, N);
cout<<"This is the output for more than 90% of the students in CS dept, yours truly excluded:";
E.getScrewed();
return 0;
}

Author's Note:
Needless to say, am one of those useless souls who is supposed to attend those brain mortifying classes. Yeah, I was absent to one of the tests. So anyway, see you in hell.

17 comments:

Unknown said...

good code!
u r turning a < GEEK > now ;)
but no indentation in the code, so 8.5/10 :P
u shud have participated in EP (& given goodies to me after u winning it) :P

NANo said...

Oh BELIEVE ME! I tried my best to indent it. Blogger ain't supporting it. I then tried to edit the HTML with the paltry HTML knowledge I have....and it wasn't a byootiful sight at all. So I left it as it is.

Bharath said...

omg! How much more nerdier can u get vinita! Writing a blogpost in C++!

gautam dn said...

HAHA Nice.Now your definitely ONE of THEM.Btw i think your program will give an error like cout not defined and all..because you didnt include library file.#include < iostream > or are we allowed to skip the brackets?i have no clue

karthik jannu said...

kickass programm ..lovd it !!
dam gud code ...hehehe !
perfect ,yur HOD shud learn smthn frm dis !!

NANo said...

@ PD:
YOU are talking about nerdiness? You who get above 92 in ALL the subjects and STILL write compensatory... YOU are talking about nerdiness?

@Goatee:
One of YOU, you mean. And no, this blogger thing didnt allow me to display < iostream > Indentation also wasn't supported. So had to be satisfied with the above thing. It'd give an error, nonetheless.

NANo said...

@KJ:
Thanks, juni :P

DON said...

yakkk..this is the first of your blogs that i cudnt read completely cuz i was already having that choking feeling that you have when a fat arse like u sits on a lean guy like me!
puke all over
keep down the spirit!
On a more serious note: eeewwwwwww!!

NANo said...

LMAO... I don't blame you. This was written to make sense to people above your mental level.

You probably haven't heard of something called 'sarcasm'. I don't blame you. (Reasons given in private)

PS: If 'this' is your idea of trying to piss me off, I have to tell you, it didn't work. :P :P :P

DON said...

ignorance is bliss!
u have gone crazy miss!

NANo said...

Oh you realized it NOW?
It happened WAY back, almost at the end of first semester. RV has that effects on the peoples.

That is why I've been asking around if anyone knows of a good therapist. I'd be needing one by the time I get out of RV. If I manage to get out alive and unscathed that is.

Unknown said...

OK, so nano has turned started preparing for lab externals. All the best ...... go ahead.

Who knows, hod might ask us to write a similar program in the exam. We better tell all these to our juniors

Long hours of classes and torturing classes is a key feature of RVCE.
"We are the survivors" - RVCEian punch line

NANo said...

Oh we are the survivors, and much more. We're the lab rats, to experiment the system on us, we're the punch bags, when teachers get frustrated with the HOD, we're the jobless fucks who aren't expected to have a life other than staying in college till 6 and writing exams everyday.

God help us.

Amen.

PS: As to enlightening the juniors, am already on it so don't worry. Quite some junis read this blog regularly. So consider the gyaan imparted.

GajabKhopdi said...

i am sure u wud hav got this one in one go...no need to debug.. :P

NANo said...

Hehehe, its a simple enough program, sir. So yeah. :) :)

Anonymous said...

How you find ideas for articles, I am always lack of new ideas for articles. Some tips would be great

NANo said...

Just look around you. Even the most mundane thing can be made interesting. For example take this post. Every college has extra classes. Its how you talk ab out them that makes a difference.

I mostly blog on the things around me - college, friends et al. An idea can spring up from anywhere. Sometimes I think of the things I could write while I take a walk. Half those things dont materialize here, but even if one does, the purpose is served.

Okay see I ain't that good a writer so you better ask someone who knows his/her stuff. I don't know what works for people but I was just trying to help. I have those phases too so I kinda related to the issue.