Tuesday, March 10, 2020

Programming Languaguages essays

Programming Languaguages essays A programming language is a set of English-like instructions that includes a set of rules for putting the instructions together to create commands. A translator changes the English-like commands into numeric code that the computer can understand. The most common type of translator is a compiler. The compiler is program that reads English-like commands in a file and than creates another file containing computer readable numeric code or commands. I will be talking about some of the major functions and uses six high-level programming languages. Java was developed by Sun MicroSystems and released in 1995. Java is based on C and C++ and incorporates many features object-oriented languages. It is a compiled language, but its code output is interpreted. This makes Java ideal for cross-development. The downside to its interpreted code is speed. Javas object-oriented is fundamental, and all code and data in a Java program exist within the object-oriented class. Javas exception handiling with try, catch, and throw statements provide the solution for writing reliable code that responds to all possible error conditions. Another advantage of Java is a String class that does away with null-terminated, length byte and other types of strings. It is also multithreaded which a class can easily provide code that runs concurrently with other programing. Another advantage is the lack of a pointer-type data and memory management which tends to be a very bug-prone area. Memory is organized by Javas virtual machine garbage collector. Java provides a rich class library in beavery bug-prone area. Memory is organized by Javas virtual machine garbage collector. Java provides a rich class library in the forms of packages imported into modules. Since Java is interpreted locally on the users system, a security manager can completely control disk access, window creation, and memory management. C was developed by Dennis Ri...