Reading Assignment - Programming
1. What is a program?
A program is sequence of specific commands that dictate how a computer should behave, towards achieving a particular task. These instructions, which are stored in the computer’s act upon its processing resources, are written in a programming language, such as javascript.
They are easily visualised as virtual machines, consisting of various component parts which are constructed out of logical functions.
2. What can you say about complexity in programming?
As additional functions are added to a program, it can because cumbersome both to operate and understand, and increases the chance for errors to occur in the code that can impede its efficiency and stability.
It is better, whenever possible, to keep programmes streamlined and concise by controlling their complexity, making it easier for them to be understood, debugged, and executed.
3. What function do programming languages have?
A well-written programming language assists the programmer by enabling them to communicate the desired functions of their software to the computer at a higher level of abstraction (closer to human language, as opposed to writing in byte code).
At this higher level, complex, repetitive or laborious functions are condensed into elegantly simplified building blocks, which can easily be combined to create novel features for the software.
4. What is the relationship between Java and Javascript?
There is very little relationship between Java and Javascript, other than a marketing decision to use a similar name, to capitalise on the success of Java when Javascript was in its infancy.
5. What is ECMAScript and how is it related to Javascript?
After the use case for JavaScript was expanded beyond just the Netscape browser, the language was standardised to make sure the same language was being used by all the applications that supported it.
This formalisation of the Javascript language was detailed in a document put forward by the ECMA International organisation. By this point, the terms ECMAScript and JavaScript represent the same programming language.