Minggu, 26 September 2010

Origins of Pascal

The Pascal language was named for Blaise Pascal, a French mathematician who was a pioneer in computer development history. In 1641, at the age of eighteen, Pascal constructed the first arithmetical machine, arguably the first computer. He would improve upon the instrument eight years later. In 1650, Pascal left the world of geometry and physics, and shifted his focus towards religious studies, or, as Pascal wrote, to "contemplate the greatness and the misery of man." Pascal died in Paris on August 19, 1662.

The earliest computers were programmed in machine code and assembly. This type of programming is tedious and error prone, as well as extremely difficult to understand and modify. Programming is a time-consuming and expensive process. High level languages were developed to resolve this problem. High level languages provide a set of instructions that read like English, but can be translated by a program called a compiler into machine code. Pascal is one such language.

Other high level languages developed in the early years of the computer were FORTRAN (1957), COBOL (1959), ALGOL (1960), APL (1962), BASIC (1964), C (1972) and Ada (1983), to name a few. One problem with many of the early languages (e.g., FORTRAN and BASIC) was the heavy dependency on the use of "goto" instructions. "Goto" instructions tell the computer to jump from one step to another, enabling the computer to skip steps or to go back to repeat earlier steps. This type of sporadic branching increases the difficulty of debugging code. Additionally, languages like COBOL were designed with over-elaborate definitions, weak data structures support, and a lack of flexibility, making programs tedious to code and difficult to enhance.

Sabtu, 25 September 2010

Suatu Masalah dengan Algoritma dan Flowchart


Menentukan Bilangan Kelipatan 3

  1. Tentukan bilangannya
  2. Bagi bilangan tersebut dengan 3
  3. Lihat apa ada sisanya
  4. Jika tidak ada sisa maka bilangan tersebut kelipatan 3
  5. Bilangan kelipatan 3

Terima Kasih Guru

Pagiku cerahku
Matahari bersinar
Kugendong tas merahku di pundak

Selamat pagi semua
Kunantikan dirimu
Di depan kelasmu menantikan kami

Guruku tersayang
Guru tercinta
Tanpamu apa jadinya aku
Tak bisa baca tulis
Mengerti banyak hal
Guruku terima kasihku

Nyatanya diriku kadang buatmu marah
Namun segala maaf kau berikan

Only Hope

There's a song that's inside of my soul
It's the one that I've tried to write over and over again.
I'm awaken in the infinite cold
But you sing to me over and over and over again

So I lay my head back down
And I lift my hands and pray
To be only yours
I pray
To be only yours
I know now
You're my only hope

Sing to me the song of the stars
Of your galaxy dancing and laughing and laughing again
When it feels like my dreams are so far
Sing to me all the plans that you have for me over again.

So I lay my head back down
And I lift my hands and pray
To be only yours
I pray
To be only yours
I know now
You're my only hope

I give you my destiny
I'm giving you all of me
I want your symphony
Singing in all that I am
At the top of my lungs
I'm giving it back

So I lay my head back down
And I lift my hands and pray
To be only yours
I pray
To be only yours
I pray
To be only yours
I know now
You're my only hope

Kamis, 23 September 2010

1000 miles

Makin' my way downtown,
Walkin' fast,
Faces pass and I'm homebound.

Starin' blankly ahead,
Just makin' my way,
Makin' a way through the crowd.

And I need you,
And I miss you,
And now I wonder...

If I could fall into the sky,
Do you think time
would pass me by?
'Cause you know I'd walk a thousand miles
If I could just see you...
Tonight.

It's always times like these
When I think of you,
And wonder if you ever think of me.

'Cause everything's so wrong
And I don't belong.
Livin' in your precious memory.

'Cause I need you,
And I miss you,
And now I wonder...

If I could fall into the sky,
Do you think time
would pass me by?
'Cause you know I'd walk a thousand miles
If I could just see you...
Tonight.

I, I, don't wanna let you know
I, I, drown in your memory.
I, I, don't wanna let this go.
I, I, don't.

Makin' my way downtown,
Walkin' fast,
Faces pass and I'm homebound.

Starin' blankly ahead,
Just makin' my way,
Makin' a way through the crowd.

And I still need you,
And I still miss you,
And now I wonder...

If I could fall into the sky,
Do you think time
Would pass.. us by?
'Cause you know I'd walk a thousand miles
If I could just see you...

oh oh

If I could fall into the sky,
Do you think time would pass me by?
'Cause you know I'd walk a thousand miles
If I could just see you.

If I could just hold you....
Tonight

The Day You Went Away

Well I wonder could it be
When I was dreaming 'bout you baby
You were dreaming of me
Call me crazy, call me blind
To still be suffering is stupid after all of this time

[PRE-CHORUS 1]
Did I lose my love to someone better
And does she love you like I do
I do, you know I really really do

[CHORUS]
Well hey
So much I need to say
Been lonely since the day
The day you went away
So sad but true
For me there's only you
Been crying since the day
The day you went away

[VERSE 2]
I remember date and time
September twenty second
Sunday twenty five after nine
In the doorway with your case
No longer shouting at each other
There were tears on our faces

[PRE-CHORUS 2]
And we were letting go of something special
Something we'll never have again
I know, I guess I really really know

[CHORUS]
The day you went away
The day you went away

[PRE-CHORUS 1]
[CHORUS]

[BRIDGE]
Why do we never know what we've got 'til it's gone
How could I carry on
The day you went away
Cause I've been missing you so much I have to say
Been crying since the day
The day you went away

The day you went away
The day you went away

If You're Not the One

If you’re not the one, then why does my soul feel glad today?
If you’re not the one, then why does my hand fit yours this way?
If you are not mine, then why does your heart return my call?
If you are not mine, would I have the strength to stand at all?

I never know what the future brings
But I know you’re here with me now
We’ll make it through
And I hope you are the one I share my life with

I don’t wanna run away but I can’t take it I don’t understand
If I’m not made for you, then why does my heart tell me that I am?
Is there anyway that I can stay in your arms?

If I don’t need you, then why am I crying on my bed?
If I don’t need you, then why does your name resound in my head?
If you’re not for me, then why does this distance maim my life?
If you’re not for me, then why do I dream of you as my wife?

I don’t know why you’re so far away
But I know that this “much” is true
We’ll make it through
And I hope you are the one I share my life with

And I wish that you could be the one I die with
And I’m praying you’re the one I build my home with
I hope I love you all my life

I don’t wanna run away but I can’t take it I don’t understand
If I’m not made for you, then why does my heart tell me that I am?
Is there anyway that I can stay in your arms?

‘Cause I miss you, body and soul so strong, that it takes my breath away
And I breathe you into my heart and pray for the strength to stand today
‘Cause I love you, whether it’s wrong or right
And though I can’t be with you tonight
You know my heart is by your side

I don’t wanna run away but I can’t take it I don’t understand
If I’m not made for you, then why does my heart tell me that I am?
Is there anyway that I can stay in your arms?

As long as you love me

Although loneliness has always been a friend of mine
I'm leavin' my life in your hands
People say I'm crazy and that I am blind
Risking it all in a glance
And how you got me blind is still a mystery
I can't get you out of my head
Don't care what is written in your history
As long as you're here with me

I don't care who you are
Where you're from
What you did
As long as you love me
Who you are
Where you're from
Don't care what you did
As long as you love me

Every little thing that you have said and done
Feels like it's deep within me
Doesn't really matter if you're on the run
It seems like we're meant to be

I don't care who you are (who you are)
Where you're from (where you're from)
What you did
As long as you love me (I don't know)
Who you are (who you are)
Where you're from (where you're from)
Don't care what you did
As long as you love me (yeah)

I've tried to hide it so that no one knows
But I guess it shows
When you look into my eyes
What you did and where you're comin from
I don't care, as long as you love me, baby