Chapter 1

Concepts of Programming Languages 10th Edition – Robert W. Sebesta
Page 52-54
Lecturer : Tri Djoko Wahjono

Review Questions (Randomly 10 of 30)

  1. How can knowledge of programming language characteristic benefit the whole computer community? (Number 2)
    – Programming language characteristic is a profound of it’s own understanding. If the programmers understand each of the programming language characteristic, they could create a more effective and efficient programming language which affects the whole computer community.
  2. What programming language has dominated business applications over the past 50 years? (Number 4)
    – COBOL.
  3. In what language is UNIX written? (Number 6)
    – C.
  4. How can user-defined operator overloading harm the readability of a program? (Number 8)
    If the operations are used in odd unintuitive ways.
  5. What language used orthogonality as a primary design choice? (Number 10)
    – Algol 68.
  6. What construct of a programming language provides process abstraction? (Number 12)
  7. Why is type checking the parameter of a subprogram important? (Number 14)
    It can lead to lots of hard to debug errors.
  8. What is exception handling? (Number 16)
    The ability of a program to intercept run time errors.
  9. How is the cost of compilers for a given language related to the design of that language? (Number 18)
    Many run time checks will prohibit fast code execution. If optimization is used compiling will be slower but execution will be faster.
  10. What is the name of the category of programming languages whose structure is dictated by the von Neumann computer architecture? (Number 20)
    Imperative languages.

Problem Sets (Randomly 6 of 18)

  1. Who is said to be the first programmer in human history? Use the Internet for help. (Number 2)
    The first computer programmer in human history was Lord Byron’s Daughter Ada Lovelace.
  2. In what way do the languages for scientific applications differ from the languages for business applications? Support your view. (Number 4)
    The way they’re different is that the languages for scientific applications uses relatively simple data structure while the languages for business applications is typically used for producing elaborate reports.
  3. Which characteristics of programming languages do you think are the most important and why? (Number 6)
    I think the most important characteristic is Reliability, because it performs to its specifications under all conditions. That conditions include Readability, Writability, Type Checking, Exception Handling, and Aliasing.
  4. Most languages use functions and subroutines. What are the pros and cons of this design decision ? (Number 8)
    The pros of using functions and subroutines are that the programmer doesn’t need to code the similar code multiple times instead allowing the programmer to use the code multiple times, the function could also be used by other programmer without needing to worries about the stack of the same variables. The cons are most of the function can only return one value, prone to errors if not coded properly.
  5. Make a comparative study of the cost of software and hardware. (Number 10)
    The cost of software and hardware depend on the performance, usage, etc. As for hardware only need to cost once whereas for the software cost could be expensive depending on the user’s need.
  6. Can we call any programming language complete, in your opinion? Why or why not? (Number 12)
    I don’t think any programming language could be called complete, because each programming language has their own superiority and flaw. Some will effective using a certain programming language, and some don’t.
This entry was posted in KBP. Bookmark the permalink.

6 Responses to Chapter 1

  1. My family all the time say that I am killing my time here at
    web, but I know I am getting know-how all the time by reading such
    pleasant articles.

  2. very nice submit, i definitely love this web site, carry on it

  3. Today, I went to the beachfront with my kids. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She placed the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is entirely off topic but I had to tell someone!

  4. I just could not depart your site prior to suggesting that I extremely enjoyed the standard information a person provide for your visitors? Is going to be back often to check up on new posts

  5. I’ll complain that you have copied materials from yet another supply

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s