Monday, September 25, 2017

Exercises in Oracle Database 12c for beginners

To download the Exercises in Oracle Database 12c for beginners.....Click Here...

Thursday, September 12, 2013

Very Good Exapmle of JavaScript using array & Function

<html>
<head>

</head>
<body>
<script LANGUAGE="JavaScript">
<!-- begin script

//General Array Function
function MakeArray(n) {
   this.length = n;
   for (var i = 1; i <=n; i++) {
     this[i] = 0;
   }
}

//Initialize Days of Week Array
days = new MakeArray(7);
days[0] = "Saturday"
days[1] = "Sunday"
days[2] = "Monday"
days[3] = "Tuesday"
days[4] = "Wednesday"
days[5] = "Thursday"
days[6] = "Friday"

//Initialize Months Array
months = new MakeArray(12);
months[1] = "January" 
months[2] = "February" 
months[3] = "March" 
months[4] = "April" 
months[5] = "May" 
months[6] = "June" 
months[7] = "July" 
months[8] = "August"
months[9] = "September" 
months[10] = "October"
months[11] = "November"
months[12] = "December"

//Day of Week Function
function compute(form) {
   var val1 = parseInt(form.day.value, 10)
   if ((val1 < 0) || (val1 > 31)) {
      alert("Day is out of range")
   }
   var val2 = parseInt(form.month.value, 10)
   if ((val2 < 0) || (val2 > 12)) {
      alert("Month is out of range")
   }  
   var val2x = parseInt(form.month.value, 10)
   var val3 = parseInt(form.year.value, 10)
   if (val3 < 1900) {
      alert("You're that old!")
   }
   if (val2 == 1) {
      val2x = 13;
      val3 = val3-1
   }
   if (val2 == 2) {
      val2x = 14;
      val3 = val3-1
   }
   var val4 = parseInt(((val2x+1)*3)/5, 10)
   var val5 = parseInt(val3/4, 10)
   var val6 = parseInt(val3/100, 10)
   var val7 = parseInt(val3/400, 10)
   var val8 = val1+(val2x*2)+val4+val3+val5-val6+val7+2
   var val9 = parseInt(val8/7, 10)
   var val0 = val8-(val9*7)
   form.result1.value = months[val2]+" "+form.day.value +", "+form.year.value
   form.result2.value = days[val0]
}   

// end script -->
</script>

<h3><i>On what day of the week were you born?</i></h3>
<b>

<p>Enter your birthday</b> (then hit the &quot;Update&quot; button):</p>

<form>
  <p>Numeric Month (1-12): <input TYPE="text" NAME="month" SIZE="2"> </p>
  <p>Day of Month (1-31): <input TYPE="text" NAME="day" SIZE="2"> </p>
  <p>Year (eg. 1960): <input TYPE="text" NAME="year" SIZE="4"> </p>
  <p><input TYPE="button" VALUE="Update" ONCLICK="compute(this.form)"> <input TYPE="reset"
  VALUE="Clear"> </p>
  <p>Date of Birth: <input TYPE="text" NAME="result1" SIZE="18"> </p>
  <p>Day of Week: <input TYPE="text" NAME="result2" SIZE="18"> </p>
</form>


</body>
</html>

Thursday, August 22, 2013

Importance Of Stage Performance In Life

Dear Reader,

{As a rule}, we live life more or less as it comes. Yet the business of living is in reality an art and should be the greatest of all the arts. Every art has its specific techniques; likewise the art of living has its own techniques, and mastering them is indispensable in practicing it successfully. 
One such technique is to consider life as a game and stage performance.

In my college days, I think that theaters are curious places, magician's trick-boxes where the golden memories of dramatic triumphs linger like nostalgic ghosts, and where the unexplainable, the fantastic, the tragic, the comic and the absurd are routine occurrences on and off the stage & the theater is certainly a place for learning about the brevity of human glory..oh.. all those wonderful glittering words are absolutely vanished pantomime….!
Now I shall reject magic and become a solitary person to say that put yourself in a situation where you can honestly say that I have nothing else to do but to learn to be good.

I think the real magic & importance of stage performance in human life is that humans had built a world inside the world, which reflected it in pretty much the same way as a drop of water reflected the landscape. And yet ... and yet ... Inside this little world they had taken pains to put all the things you might think they would want to escape from — hate, fear, tyranny, and so forth. They thought they wanted to be taken out of themselves, and every art humans dreamt up took them further in.

Unforgettable...... Great memories with you forever life long...with enchanting smile on your face...

Social interaction may be likened to a theater and people in everyday life to actors on a stage, each playing a variety of roles. The audience consists of other individuals who observe the role-playing and react to the performances. I insist.. everybody in their life once they had to be a part of the STAGE...

Thanks for giving your valuable time.

Wednesday, September 26, 2012

Sometimes, Feelings At Examination Hall....

(while start preparation before one month of examination)
Pehla Question Dekh Kar Wah – Wah – Wah – Wah Ho Gayi,
Teen Line Likh Kar 100 No. Ki Chah Ho Gayi.
Doosra(2nd) Question Dekhkar Darne Laga Dil,
50(Pachas) No. Ana Bhi Lagne Laga Mushki.
Teesra(3rd) Question Dekh Kar Gale Me Atka Dam,
...
30(Tees) No. Ane Ka Bhi Chance Hua Khatm.
Chotha(4th) Question Dekhkar Ud Gaye Mere Hosh.
Khali Copye Choddkar Ho Gaya Me Behosh.

Sunday, July 1, 2012

Self Appraisal

A little boy went to a telephone booth which was at the cash counter
of a store and dialed a number.
The store-owner observed and listened to the conversation:

Boy : Lady, Can you give me the job of cutting your lawn?
Woman : (at the other end of the phone line) I already have
someone to cut my lawn.
Boy : Lady, I will cut your lawn for half the price
than the person who cuts your lawn now.
Woman : I’m very satisfied with the person who is presently
cutting my lawn.
Boy : (with more perseverance) Lady, I’ll even sweep
the floor and the stairs of your house for free.
Woman : No, thank you.

With a smile on his face, the little boy replaced the receiver. The
store-owner, who was listening to all this, walked over to the boy.

Store Owner : Son… I like your attitude; I like that positive
spirit and would like to offer you a job.
Boy : No thanks,
Store Owner : But you were really pleading for one.
Boy : No Sir, I was just checking my performance at
the job I already have. I am the one who is working for that lady I
was talking to!
This is called – “Self Appraisal “