Sunday, March 24, 2013

Funny Accident

In 21 March 2013, Me and some of my friends be a team of rafting expedition form by six persons. The weather was so cold and so was the water. The weather was raining that day.

The beginning we all have fun, like there's nothing will happen. Till we suddenly hit a rock and the boat fell upside down. It's a nightmare, you won't know how it feels when suddenly fell without any anticipations.

I held the rope beside the boat tightly and all I saw is just brown water. I knew I was falling and it felt like I was playing a roller coaster. I kept drowning and what came out in my mind was try to reach the surface as soon as possible because I was out of breath.

When I reached the surface, I was in the boat, under the boat, go with the flow of the river. I still calmed and looked for the way out. I tried to drown again and pushed the boat aside with the idea that I could came out from the boat so I knew where I was and it won't make me panic. When I drowned a little while and came out on the surface, I hope that I could see the sky above me. However, I came out again in the boat, under the boat.

It made me panic and I thought I was going to die at that time. Suddenly the boat fell again, and I got drown for couple of seconds. I came out, still holding the rope and began to shout "Help!".

And again there was a problem, when I was thinking about my life, the river also washed away my pants. It's really pissed me off. I held my pants with my left hand and held the rope with my another hand. And again I shouted "Help!".

After one or two minutes, the boat stopped at the shallow water. I knew the rescuers already pulled the boat to somewhere safe. I tried to take on my pants, but it was wet and hard to take it on. Till they opened the boat and saw me was under the boat. I could saw a lot of worries on their faces, my friends and also the rescuers. But my pants was still not at the right place.

It was really embarrassing and also a good story to be told.

Here is the photo before I fell.

Fun

Outing Program 2013

Outing Program 2013 by Bina Nusantara English Club at 20-21 March 2013 was a perfect event. I really enjoyed the trip and it was so much fun.

There were paintball, rafting, amazing race, and many more.

Here is some photos of Outing Program with all my precious friends.

 Have a photo before starting the event

Paintball terrorist team

The best rafting team ever, almost take life

Answers of Concepts of Programming Languages 10th - Chapter 2


Martin - 1601213690

02 PBT


Review Questions

1. In what year was Plankalkul designed? In what year was that design published?
    * Plankalkul was designed by Konrad Zuse between 1942 & 1945. He first published a paper on it in 1948. More information on the language was published in 1972.

2. What two common data structures were included in Plankalkul?
    * Arrays and records

3. How were the pseudo codes of the early 1950s implemented?
    * The pseudo codes were implemented by a pure interpreter.

4. Speedcoding was invented to overcome two significant shortcomings of the computer hardware of the early 1950s. What were they?
    * Numerical and required floating-point arithmetic operations and indexing of some sort to allow the convenient use of arrays.

5. Why was the slowness of interpretation of programs acceptable in the early 1950s?
    * Because the lack of floating-point hardware in the available computers.

6. What hardware capability that first appeared in the IBM 704 computer strongly affected the evolution of programming languages? Explain why.
    * Doth indexing and floating-point instructions in hardware

7. In what year was the Fortran design project begun?
    * 1954

8. What was the primary application area of computers at the time Fortran was designed?
    * Mathematic

9. What was the source of all of the control flow statements of Fortran I?
    * 704 instructions.

10. What was the most significant feature added to Fortran I to get Fortran II?
    * The independent compilation of subroutines.


11. What control flow statements were added to Fortran IV to get Fortran 77?
    * Logical loop control statements.

12. Which version of Fortran was the first to have any sort of dynamic variables?
    * Fortran 99

13. Which version of Fortran was the first to have character string handling?
    * Fortran 77

14. Why were linguists interested in artificial intelligence in the late 1950s?
    * Linguists were concerned with natural language processing.

15. Where was LISP developed? By whom?
    * LISP was developed at MIT by John McCarthy

16. In what way are Scheme and Common LISP opposites of each other?
    * Scheme lacks of portability, but common LISP doesn't.

17. What dialect of LISP is used for introductory programming courses at some universities?
    * Scheme

18. What two professional organizations together designed ALGOL 60?
    * ACM and GAMM

19. In what version of ALGOL did block structure appear?
    * ALGOL 60

20. What missing language element of ALGOL 60 damaged its chances for widespread use?
    * The lack of input and output statements.


21. What language was designed to describe the syntax of ALGOL 60?
    * BNF

22. On what language was COBOL based?
    * FLOW-MATIC

23. In what year did the COBOL design process begin?
    * 1959



Problem Set

1. What features of Plankalkul do you think would have had the greatest influence of Fortran 0 if the Fortran designers had been familiar with Plankalkul?
    * The logical loop control statements and an "if" with an optional "else clause.

2. Determine the capabilities of Backus's 701 Speedcoding system, and compare them with those of a contemporary programmable hand calculator.
    * The capabilities of Backus's 701 Speedcoding system :
       - As few instructions as possible should be required to specify a program. Programming time should be minimized.
       - Programs should be easy to check out.
       - Scaling should be unnecessary.
       - Address modification should be made very convenient.
       - Transfer of arbitrary blocks of information to and from high-speed storage should be easy to specify.
       - Common functions should be readily available.
       - Optional automatic checking of calculations should be provided.

3. Write a short history of the A-0, A-1, and A-2 systems designed by Grace Hopper and her associates.
    * A-0 was the first compiler ever developed for an electronic computer. The A-0 system was followed by the A-1, A-2, A-3, AT-3 and B-0. The A-2 system was developed at the UNIVAC division of Remington Rand in 1953 and released to customers by the end of that year. Grace Hopper is a hero.

4. As a research project, compare the facilities of Fortran 0 with those of the Laning and Zierler system,
    * The effect of the Laning and Zierler system on the development of Fortran is a question which has been muddled by many misstatements on my part. I believed that we had gotten the idea for using algebraic notation in Fortran from seeing a demonstration of Laning and Zierler system at MIT.


5. Which of the three original goals of the ALGOL design committee, in your opinion, was most difficult to achieve at that time?
    * a reference syntax, a publication syntax, and an implementation syntax.

6. Make an educated guess as to the most common syntax error in LISP programs.
    * Undefined escape sequences in literal strings. The backslash character can be used in literal strings and characters :
       - to escape various characters
       - to introduce an escape sequence representing a character


7. LISP began as a pure functional language but gradually acquired more and more imperative features. Why?
    * Because there is always a new idea for the uses and begin to develop the language.

8. Describe in detail the three most important reasons, in your opinion, why ALGOL 60 did not become a very widely used language.
    * First, it is an interpreter type of language and focused on ease of use at the expense of system resources. Second, the running-time of a program that was written with the help of Speedcoding was usually ten to twenty times that of machine code.

Monday, March 18, 2013

Owl City & Yuna - Shine Your Way, Lyrics


Music by Owl City, Yuna performing Shine Your Way

Just before the dawn,
When the light is still gone,
Shine, Shine your way,
And you're may not know, Where to go,
Shine, Shine your way

Open road but it is still dark,
Built a fire from a spark,
And shine, Shine your way,
Feed the feeling in your heart,
Don't conceal it then you start,
To find, Find your way

No one can stop, What has begun,
You must believe when I say

All of your tears will dry faster in the sun,
Starting today,
Shine, Shine, Shine,
Shine your way

There is an open sky,
And the reason why,
You shine, Shine your way,
There is so much to learn,
And now is your turn,
To shine, Shine your way

There's a feeling deep inside,
You can let it be your guide,
To find, Find your way,
And there's no time for us to waste,
Got to take a leap of fate,
To fly, Fly away

Don't have to walk,
Now you can run,
Nothing can get in your way

All of your tears will dry faster in the sun,
Starting today,
Shine, Shine, Shine,
Shine your way

Morning is breaking,
Darkness is fading,
We found a way to the light,
It's such a beautiful sight

Anytime, Anywhere,
Turn around and I'll be there,
To shine, Shine your way

Like a star burning bright,
Lighting up the darkest night,
I'll shine, Shine your way

Now I can see,
You are the one,
Send here to show me the way

All of your tears will dry faster in the sun,
Starting today,
Shine, Shine, Shine,
We're on our way,
Shine, Shine, Shine,
That's what we say,
Shine, Shine, Shine,
Shine your way

And the reason why,
You shine, Shine your way,
All of your tears will dry faster in the sun,
Shine your way

Tuesday, March 5, 2013

Answers of Concepts of Programming Languages 10th - Chapter 1

Martin - 1601213690

02 PBT


Review Questions

1. Why is it useful for a programmer to have some background in language design, even though he or she may never actually design a programming language?
    * It is useful for a programmer to have some background in language design because it increased capacity to express ideas, improved background for choosing appropriate languages, increased ability to learn new languages, better understanding of the significance of implementation, better use of languages that are already known and overall advancement of computing.

2. How can knowledge of programming language characteristics benefits the whole computing community?
    * Knowledge of programming language benefiting the whole computing community. People can solve their own problems so troubleshooters lose their jobs and it will reduce the number of common sense-lacking questions.

3. What programming language has dominated scientific computing over the past 50 years?
    * FORTRAN

4. What programming language has dominated business applications over the past 50 years?
    * COBOL

5. What programming language has dominated artificial intelligence over the past 50 years?
    * LISP


6. In what language is most of UNIX written?
    * UNIX was written in the language C. In fact, C was created to write the UNIX operating system.

7. What is the disadvantage of having too many features in a language?
    * A disadvantage of having too many features is reduced readability. It also means that a programmer may not be familiar with all the features. This may lead to an abuse of some, disuse of others and even an accidental use of an unknown feature.

8. How can user-defined operator overloading harm the readability of a program?
    * Because the built in operator has the precision and compiler knows all the precision between the operators, and it works on that precision. User can also create its own operator but the compiler does not come to know how to make precision of this operator. Therefore we don't use user-defined operator.

9. What is one example of a lack of orthogonality in the design of C?
    * A struct can be returned from a function but an array cannot.

10. What language used orthogonality as a primary design criterion?
    * LISP a functional language is one in which computations are made primarily by applying function to given program.



Problem Set

1. Do you believe our capacity for abstract thought is influenced by our language skills? Support your opinion.
    * Yes, I do believe. Because when you learned some programming languages, it will help you to improve your capacity for abstract thought naturally, because we can't learn programming languages without using our capacity for abstract thought.

2. What are some features of specific programming languages you know whose rationales are a mystery to you?
    * Honestly, all programming languages that I knew are a mystery for me. So far I just learned language of C. It still make me confuse why a programming language like C can control how the computer works.

3. What arguments can you make for the idea of a single language for all programming domains?
    * Actually, I don't really like to make a single language for all the programming domains because all the programming domains have its own style and that's why it was fun to learn.

4. What arguments can you make against the idea of a single language for all programming domains?
    * All the programming domains have its own style and that's why it was fun to learn.


6. What common programming language statement, in your opinion, is most detrimental to readability?
    * Until now I just learned one programming language, it is C, and I didn't find any detrimental to readability.

8. Many languages distinguish between uppercase and lowercase letters in user-defined names. What are the pros and cons of this design decision?
    * The pros is we can make a tidy program. The cons is sometimes it will be a big mistake if we didn't thorough.



Saturday, March 2, 2013

Asian English Olympic 2013

This is one of the biggest English Olympic in Asia, Asian English Olympic 2013 by Bina Nusantara English Club ( BNEC ) and Bina Nusantara University. The participants came from all around the Asia, especially ASEAN. They came from Malaysia, Philippine, Korea, and of course some of them from Indonesia. Moreover, there were judges come from Singapore, India, and Japan. That was just really amazing.

I'm the part of Liaison Officer of this event.

Honestly, 4 days of this event, it was very tiring. I have to wake around 4am and arrive there at 5am and began to preparing everything.

However, this event is so worth it. I found so many new friends, they are so kind and professional, have some skills in having relation with others. They are just perfect. I learned so many things from them, and I could say that those are the best moments I ever had in my life. They are another family for me. I love them.

These are some pictures from the event, hope you guys enjoy.


 General Support Division


 with Sheila Wee, Godmother of Singapore Story Telling


 with Dalton Tanonaka and the participants


General Support Extraordinary :)