The Island for Five Dollars

“Oh, forget about the price, Johnny!” Father said to a ruminating me, “All that matters is that we have got an exotic new vacation home!” He was trying to cheer me up, but I knew that he too was contemplating the situation.

The island had first wowed Mother, when she saw it on a YouTube ad. Later that night, she called Father and I to show us this deal. All Mother had to do to get us on board was to show us a photo of the island, with its golden beaches, green forests, and the pristine waters surrounding it.

“This is the best idea anyone’s had until sliced bread,” Father had said, “How much does it cost?”

“I don’t know yet.” replied Mother, “I didn’t know if you guys were going to be interested or not, so I didn’t check yet.” She had navigated to the “Information” tab on the seller’s website, where we had discovered that the price of our own summer vacation isle would be a mere five dollars. Five dollars, being a very little amount, was spent without a doubt, though we all had the slightest suspicion that it was a scam.island-with-mountain-blue-sea-and-island-with-mountain-vector-vector-clip-art_csp11168114

The ferry boat continued forward, with all its passengers deep in thought. I didn’t understand why it would be five dollars. The briny smell of the Pacific had crept up my nose from the start of the ride, but it was worsening, so I had to plug my nose.

Finally, the captain announced that the island was a few hundred feet ahead. I tried to look out the window, but the dense fog didn’t allow me to see our vacation home. The boat came to a stop in a short while, and the captain announced that we had arrived. I looked out the boat, but saw nothing. Surely this was a mistake; the captain must have taken the wrong route.

Then, I saw it. It was as wide and as tall as me, but an island nonetheless. It had all the features of the one in the photo.

“How is this possible?” questioned Father, “the photos were so lifelike.”

“Yes, and the website and this “Welcome to Your New Island Home” brochure both have the specifications of the size of the island. They both said that it was a mile by a mile,” Mother declared. She opened up the small booklet to prove her point. Under the section bolded and underlined, “Island Specifications,” we found the size to be “1.1m x 0.9m”. Without the i’s after those m’s, the metric system has won the island agency five dollars fair and square.

To Whoever Made Up The Days of the Week…

There’s twenty-six letters from A to Z,
Likewise twenty-six from Z to A,
My house to yours is in miles thirty-three,
Yours to mine is the same.

But then why, might I ask that
This straightforward rule isn’t always hard-and-fast?
It simply falls flat
When it comes to a certain idea that I will now broadcast.

The week starts on Monday,
With five days of school for you,
And then comes the awaited holiday,
That somehow only lasts two!

Such injustice this is!
Two isn’t the same five
Why not give all the kids
With equal time to revive!

d31e659cc5bbd4264d813219e31b92ea

The Burrowed Seed

In the forests of Santa Cruz, California, a seed wafted over to an area with several grown trees. Though it knew that it was capable of developing into a huge tree, the seed’s neighboring plants ensured him that he would not even begin to sprout.

“Look at you! You’re so small!” exclaimed the nearby oak tree, “The other trees and I take up all the essentials in the area: water, sunlight, and nutrients. You won’t even have a chance to start growing.” Heavily discouraged by their words, the little seed lost all the confidence and hope it had it the beginning. As time went by, the oak tree, along with others that had joined later on, picked on it everyday.

Falling into a sad and almost lifeless state, it was forced to retreat into the soil. Unable to handle everyone’s taunts anymore, millimeter by millimeter, it crawled back into the mud.

“Maybe I am what they say I am; I can never grow to be even close to these giants. I give up…” were the seed’s last words before it went into a completely dormant state. After the passing of several days, the seed, or shall I say, the former seed, awakened to a bright light. He was out of the soil!kisscc0-seedling-sprouting-plant-seed-germination-germinating-seed-vectorized-5b7522186b4a84.9050303315344030964395

“How could this be?” he asked himself. Scanning down from head to toe, he saw that he was indeed a sapling.

“I did it,” he exclaimed, “I have transformed from a seed to a plant, just like everyone else. I have done it, regardless of what they said, which means that they don’t know what I’m capable of. I can grow to be whatever I want to be.” With this in mind, the sapling set out to grow tall, healthy, and strong.

Now, the oak did not even get through to him. His taunts continued but the sapling was on a mission of his own, too busy to even hear the oak tree’s words. With this determination, he grow at a rate faster than what was thought to be possible. Inching his way up the canopy, he continued to grow taller and taller. At one point, the oak tree stopped his insults. The now redwood tree, as the sapling was found to be, was closing the gap between the fifteen foot oak.

As years passed, the redwood grew to be one of the tallest in the plot of land that he occupied. More than 100 feet taller than the oak that once teased him, the height that he’d reached with a determined mind was commendable. He now realized that a seed can only grow when someone shoves it deep and hard into the ground.

Moral: Always take others’ disapproval and fault-finding, and use it to your advantage.

Yearning for the Sun

At the break of dawn,
Comes the Sun,
Smiling at men from above.

He waits and waits
For man to notice8c65bbroi
And cherish his stay.

But from mankind comes
No acknowledgement at all,
But just plain indifference.

So with great sorrow,
The sun leaves to
Try his luck elsewhere.

And the moon now,
Takes the stage,
Upsetting everyone with its unpleasant act.

Leaving man miserable,
And wishing for
Its scintillating star
To shine once again.

Linear Search Algorithm in JavaScript (Code Attached)

This JavaScript program implements the linear search algorithm to search an integer in an array of 5 integers between 1 and 100. If the said integer is not in the array, it returns the message, “Not found.” Here is the code:

<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”utf-8″>
<title>LinearSearch</title>
</head>
<body>
<p id=”numList”></p>
<form name=”input”>
Find: <input type=”number” id=”selnum”>
<input type=”button” value=”Submit” onclick=”linearSearch()”>
</form>
<p id=”array”></p>

var rand;
var numberList = [];
var userInput;

function rand () {
for (var i = 0; i “;
}

function linearSearch () {
userInput = document.getElementById(“selnum”).value;
for (var i = 0; i
</body>
</html>

LinearSearch1.PNG
Algorithm in action!

Bubble Sort Algorithm in JavaScript (Code Attached)

This JavaScript program implements the bubble sort algorithm to sort an array of 5 integers between 1 and 100. Here is the code:

<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”utf-8″>
<title>BubbleSort</title>
</head>
<body>
<p id=”original”></p>
<p id=”array”></p>

var iCounter = 0;
var rand;
var numberList = [];

// Creating a random list of 5 integers between 1 to 100 and storing it in numberList[].
function rand () {
for (var i = 0; i “;
numberList.forEach(bubbleSort);
}

// Sort numberList[] using the bubble sort algorithm.
function bubbleSort () {
for (i = 0; i numberList[i+1]) {
var temp = numberList[i];
numberList[i] = numberList[i+1];
numberList[i+1] = temp;

iCounter++;
document.getElementById(“array”).innerHTML += “Iteration #” + iCounter + “: ” + numberList + ”
“;
}
}
}

rand();

</body>
</html>

BubbleSort.PNG
Algorithm in action!