Programming Reading Assignment

  1. What is a program?

Answer: A program is a series of logical and precise instructions given to a computer through coding, in order for that computer to perform a desired task that is designated by the end user/programmer.

  1. What can you say about the complexity in programming?

Answer: The complexity of computer programming may seem frustrating, pedantic, and even unforgiving at times. However, if a programmer or aspiring programmer can learn and adapt to the logical and abstract way of analyzing, writing, and reading computer code, they can have a great advantage in being able to program a computer to perform tasks that would take humans much much longer to calculate. It can also be said that being able to reduce complex code to a more simple line of code that can compute the same output, is one of the signs of a skilled programmer. This ability to simplify code would come with practice and experience.

  1. What function do programming languages have?

Answer: Programming languages have the function of translating a desired thought process created by an end user, into a set of instructions and commands that a computer can execute.

  1. What is the relationship between Java and Javascript?

Answer: Java and Javacript have almost nothing to do with each other. During the time when Javacript was originally being released, “Java” was another programming language which had already established some brand recognition. It can be assumed that the title Javacript was chosen in order to take advantage of the reputation associated with the name “Java”. There is really no official association between Java and Javascript today.

  1. What is ECMAScript and how is it related to Javascript?

Answer: Today the terms ECMAScript and Javascript are interchangeable. They are essentially one and the same language with two different names. Some years back when Javascript was beginning to be used more widely outside of Netscape Navigator, the ECMA International Organization decided to create a new standard called ECMAScript with the purpose of ensuring that all software claiming to be Javascript compatible, would actually work correctly with Javascript by adhering to the ECMAScript standards.

1 Like

Programming reading assignment answers

  1. A program is a set of clear instructions informing a computer what to do.

  2. The fundamentals of programming are clear and straightforward, but as we begin to build upon these fundamental blocks things can quickly become quite complex.

  3. Programming languages provide a way for people to communicate with computers in a way they both can understand.

  4. Almost none, marketing decision inspired the name because at the time Javascript was to be introduced Java was being marketed heavily already.

  5. After Javascripts adoption outside of Netscape a paper was written by the Ecma International Organization seeking to standardize the language. In practice, the terms ECMAscript and Javascript are used interchangeably.

1 Like
  1. What is a program?
    A set of instructions indicating a computer what to do.
    It may have some inputs and may produce some outputs.

  2. What can you say about complexity in programming?
    CPUs have no intelligence, they do what you, as a programmer, tell them to do. Keeping your code clean and clear to be easily maintainable over time is a complex time as it requires properly planning and discipline to keep things simple and not to create a mess.

  3. What function do programming languages have?
    They offer a human-readable way of interacting with computer processors which only understand 0 and 1. By using programming languages, the task of having a low complex programs is way easier than dealing with just binary numbers.

  4. What is the relationship between Java and Javascript?
    Javascript took its name from Java due to its popularity at the time. Java had a particular type of programs, called applets, which provide a kind of dynamism to static webpages. Javascritps does so but with a total different approach. This naming thing is just marketing related stuff, nothing else.

  5. What is ECMAScript and how is it related to Javascript?
    They are basically the same thing. ECMAScript is the standardisation of JavaScript.

1 Like
  1. What is a program?
    A program is a set of instructions given to a computer to carry out.

  2. What can you say about complexity in programming?
    In theory programming is meant to be kept simple but as the instructions become more intricate, it can become confusing and overwhelming. Programming is like building your own maze, meaning the best programs are the simplest ones to navigate.

  3. What function do programming languages have?
    They allow people to communicate with computers in a readable form.

  4. What is the relationship between Java and Javascript?
    Besides from both being computing languages, they hold no relationship to one another.

  5. What is ECMAScript and how is it related to Javascript?
    ECMAScript was a document written to describe how javascript should work. These two languages are essentially the same and are interchangeable.

1 Like
  1. A program is a set of precise instructions

  2. Complexity is unavoidable with more intricate instructions. The art is keeping is managing and streamlining that complexity.

  3. Interface between human language and machine language (bits)

  4. Same name, no relationship.

  5. Same same

1 Like
  1. Program is set of precise commands for computer, which are leading for some computation result
  2. As we know, program is a set of simple commands which creates a complex program. Good program needs to be simply designed so that its creator on other programmists could work with it.
  3. program language provides convenient building blocks and allows user to define your own building blocks
  4. When JS was releasing, Java language was widely adopted and someone decided to use that adoption to promote the new language while it doesnt have anything similar to Java.
  5. ECMAScript is the same as Javascript.
1 Like
  1. a program is a set of instructions
  2. it can be very complicated but it best to try and make your commands as simple as possible
  3. they make it easier for us to tell the computer what we want it to do.
  4. a long ridden marketing idea
  5. They are the same thing and can be used interchangeably as they’re copies of each other
1 Like

ECMAScript and Javascript are the same thing.

1 Like
  1. What is a program?
    A program is a set of precise instructions to execute.
  2. What can you say about complexity in programming?
    It is key to control complexity, so it does not grow out of control as the size of the program increases.
  3. What function do programming languages have?
    Programming languages allow the programmer to set actions at a higher level, in a more human readable format.
  4. What is the relationship between Java and Javascript?
    No relation, only a similar name due to marketing considerations.
  5. What is ECMAScript and how is it related to Javascript?
    ECMAScript was a document written to describe how JavaScript should work.
1 Like
  1. What is a program?
    A set of instruction that the computer executes.
  2. What can you say about complexity in programming?
    Try to keep it simple.
  3. What function do programming languages have?
    To allow you to create what you want/need.
  4. What is the relationship between Java and Javascript?
    None.
  5. What is ECMAScript and how is it related to Javascript?
    Interchangeable, different name for the same thing.
1 Like
  1. What is a program?

A program is a set of instruction for the computer to execute.

  1. What can you say about complexity in programming?

The fundamental rules of programming are simple, but programs tend to become very complex. “The art of programming is the skill of controlling complexity.”

  1. What function do programming languages have?

to enable human beings to read and write sets of instructions to the computer for processing. Then converts to binary code for processing.

  1. What is the relationship between Java and Javascript?

There is no relationship. It is said that the creators of Javascript took advantage of the name Java, which was well known at the time, to make it easier for programmers to adopt it!

  1. What is ECMAScript and how is it related to Javascript?

Two names for the same thing!

1 Like
  1. A program is a set of instructions that you give a computer to have it execute something.
  2. Complexity in programming makes it more difficult. Best to keep it simple.
  3. To make programming more accessible to humans by giving humans a language that they can understand and interact with a lot easier then binary.
  4. None really, it was just a marketing front for Javascript at the beginning of its lifetime.
  5. They’re the same thing, just different names. They’re scripting languages.
1 Like
  1. Instructions that tell a computer what to do
  2. Managing complexity is an essential part of programming. Sometimes it is unavoidable, simplicity can also be complex.
  3. Provide an efficient means through which to communicate with computers.
  4. None, the name.
  5. It is different name for the same language
1 Like
  • What is a program?
    A series of instructions for a computer to execute.

  • What can you say about complexity in programming?
    “The art of programming is the skill of controlling complexity.”

  • What function do programming languages have?
    They allow users to control a computer.

  • What is the relationship between Java and Javascript?
    None. It was a an attempt at brand positioning when Javascript launched because Java was a popular term.

  • What is ECMAScript and how is it related to Javascript?
    ECMAScript was a successful published standardization for Javascript and is another name for Javascript.

1 Like
  1. A program is a set of precise instructions telling a computer what to do.
  2. The complexity of programming tends to increase exponentially with every new function added.
  3. It gives the programmer a simple way to interact with the computer in which the computer will understand.
  4. The relation of Java to JavaScript is mostly in name. Java Script borrowed the “Java” part to ride the popularity of Java.
  5. ECMAScript is the standard formalised so different pieces of software claiming to utilize JavaScript were actually talking about the same thing. ECMAScript and JavaScript are both interchangeable and mean the same thing.
1 Like
  1. Programs are sets of instructions for computers written in a programming language.
  2. With a more complex programming language freedom is greater, however it is easier to make a mistake, and vice versa with less complex languages.
  3. To translate binary code into a language which humans can work with more easily.
  4. No relation. The name was just chosen for marketing purposes.
  5. EMCAScript and JavaScript are two names for the same programming language.
1 Like
  1. What is a program?
    A program is a set of precise instructions telling a computer what to do.

  2. What can you say about complexity in programming?
    Complexity should be limited and programs made as simple as possible.

  3. What function do programming languages have?
    They make it possible for normal people to read and write programs, which would otherwise be near impossible if we could only do it in binary.

  4. What is the relationship between Java and Javascript?
    There is no relationship.

  5. What is ECMAScript and how is it related to Javascript?
    It’s a standard document written to describe the way the JavaScript language should work. The terms ECMAScript and JavaScript can be used interchangeably—they are two
    names for the same language.

1 Like
  1. What is a program?

A program is a set of instructions that tells the computer what to do, following what the programmer dictated.

  1. What can you say about complexity in programming?
    Complexity in progamming will depend on the programmer skills and the program itself what is is being programmed. A program can start with a simple hello world, and end up being a whole complex project running on production. The programmer should have control over his code, and keep it while adding new features to it.
  1. What function do programming languages have?

Programming language is the way a programmer has to inform the computer what to do in order to execute the program.

  1. What is the relationship between Java and Javascript?
    They have no relations appart of being programming languages and sharing the name. Java is an object oriented lanauge that requires compiling while Javascript is executed in the browser (in the front end).
  1. What is ECMAScript and how is it related to Javascript?
    ECMAScript is the standard of Javascript, it’s just a second name for Javascript.
1 Like

What is a program?

Text typed by a programmer that is meaningful enough for a compiler to turn it into the binary code needed for the machine to follow on and off directions in the memory allocated to run such computing operations, and can be instructed to provide output of its results for a human to visually check and/or interpret and/or utilize.
Or as the book more concisely puts it,
“A programming language is an artificially constructed language used to instruct computers.”

What can you say about complexity in programming?

Code can be made more readable to a human or more obscure, yet in either case still obtain the same output/results as either scenario. Obscure or not, the method applied may allow for less lines of code to read and therefore create a less weighty program (which may have a slight advantage of taking up less memory performing the same tasks btw). However, best practices cannot solve everything; but to mitigate this the book promises to teach modularity and suggests in the author’s opinion that it is better to “[write code easily deleted]” than it is to “[write code easily expanded upon]”.

What function do programming languages have?

To avoid learning and using binary code ALL THE TIME.

What is the relationship between Java and Javascript?

JavaScript was like a shit-coin project riding the coat tails of JAVA because JAVA was not only first but had a marketing budget to become adopted and so the creators of JavaScript used it by tacking on a name branding association and managed to get away with it while dooming us all to it forever. There is literally no comparison though between the two languages, JAVA is much more respectable among professionals (albeit, had I not listened back then to pros I would have learned JS within my LAMP stack yet ended up not learning it until now because I had professors in the 90s & 2000s tell me JS was a trash language especially in security; but look at JS now it’s a million dallor or more per project type of trash inside of the current day DeFi crypto industry. Trash pays big! And hardly any in DeFi actually care about security anyways). I’m learning JS for the $, obviously “I’m in it for the money”.

What is ECMAScript and how is it related to Javascript?

ECMAScript is what JS (JavaScript) should be called but is rarely called for we are forever cursed with “JavaScript” now in the popular collective consciousness due to what transpired in the 90s.

1 Like
  1. A program is a set of precise instructions telling a computer what to do.

  2. Programming is hard. The fundamental rules are simple and clear but programs built on top of these rules tend to become complex enough to introduce their own rules and complexity.

  3. A programming language is an artificially constructed language used to instruct computers.

  4. JavaScript has almost nothing to do with the programming language Java. It was a marketing tactic used.

  5. After its adoption outside of Netscape a standard document was written to describe the way the JavaScript language should work so that the various pieces of software that claimed to support JavaScript where actually talking about the same language. This is called the ECMAScript standard.

1 Like