Selamat Datang di Blog Saya. Blog ini dibuat untuk memenuhi tugas dari dosen saya tercinta Bapak Ir.Tri Djoko Wahjono , M.Sc . Kiranya Blog ini bisa menambah pengetahuan bagi kalian. Isi blog ini mengenai konsep bahasa pemrogramman. Dan blog ini di sponsori oleh Bina Nusantara Alam Sutera.
Posted by : Unknown Jumat, 26 September 2014




Lecturer: Ir. Tri Djoko Wahjono,M.Sc

6. In What Language is most of UNIX written?
Answer:
UNIX is the first operating system that used C language. So, UNIX written in C language. Why C? Because C is easy to read, reliable, and flexible.

7. What is the disadvantage of having too many features in a language?
Answer::
too many features in a language is useless. First, it reduces computer memory. Programmer will be difficult to learn it and it's not familiar for some programmer. 


8.How can user-defined operator overloading harm and the readability of a program?
Answer:
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?

Answer:
C Language is one of language that inconsistent in its treatment of concept and language structure. its why learn C language is difficult enough. And an example of a lack of orthogonality in C is a struck can be returned from a function but an array cannot. C has two kinds of structures data arrays and struct.



10. What language used orthogonality as a primary design criterion?
Answer:

Language that used orthogonality as a primary design criterion is ALGOL 68.
6. What common programming language statement, in your opinion, is most detrimental to readability?
Answer: 
It's poorly written and undocumented code is commonly problem that hard to follow.

7. Java uses a right brace to mark the end of all compound statements. What are the arguments for and against this design?
Answer:
Java uses a right brace to mark the end of all compound statements. The argument for using the right brace to close all compounds is simplicity a right brace always terminates a compound. The argument against it is that when you see a right brace in a program the location of its matching left brace is not always obvious in part because all multiple-statement control constructs end with a right brace

8.Many Language distinguish between uppercase and lowercase letters in user-defined names. What are the pros and cons of this design decision?
Answer;
so far i know the uppercase and lowercase in C language to distinguish one variable to another variable. 
Pros: Maybe Uppercase and lowercase helpful to give clarity and expand the number of such names.

Cons: it's prone to error by users. Hard to identify the fault location if an error occurs. 

9.Explain the different aspects of the cost of a programming language.
Answer:
Some thing that affect the cost of programming language is efficiency.Time, accuracy, security, and usability are the cost of programming language.

10.What are the arguments for writing efficient programs even though hardware is relatively inexpensive?
Answer:
Talk about an efficient program is not separated from time and memory. A Program can be said to be efficient if the program does not take up a lot of memory and fast in terms of running time. 

Extra Question:


What is the different between imperative language and procedural language?
Answer:
Imperative programming is a programming paradigm that describes computation in terms of statements that change a program state. But Procedural programming is imperative programming in which the program is built from one or more procedures. 

Written by: Romy Hermawan/ 1801378902

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Popular Post

Diberdayakan oleh Blogger.

- Copyright © Binusian IT 2018(Concept of Programming Language) -Metrominimalist- Powered by Blogger - Designed by Romy Hermawan -