Programming Reading Assignment

What is a program?
It is a set of instructions that the computer executes to achieve a desired outcome.
What can you say about complexity in programming?
The complexity is different for each language. One and zeros are complex for humans, but easy for the computer to interpret.
What function do programming languages have?
Programming languages make it easier for humans to instruct the computer.
What is the relationship between Java and Javascript?
The name only. The languages are different.
What is ECMAScript and how is it related to Javascript?
It is the standard for the language. They are interchangeable.

1 Like

[quote=“ivan, post:1, topic:3056”]

  • What is a program? A program is a set of functions (instructions) that create a desired output. It is usually simple functions that are able to be executed extremely quickly. Their value is in the time they save you.

  • What can you say about complexity in programming?
    It is supposed to be straight forward, however as the program expands it gets more and more complex. They talk about keeping it as easy and clean as possible so you don’t get lost in all the code.

  • What function do programming languages have?
    It is a way to communicate to the computer what you are trying to command it to do.

  • What is the relationship between Java and Javascript?
    They are two completely separate languages.

  • What is ECMAScript and how is it related to Javascript?
    They are the exact same, just another name.

1 Like

What is a program?
A set of instruction in order for a predetermined behavior.
What can you say about complexity in programming?
Too complexed will be hard to diagnose.
What function do programming languages have?
Its function is ro take human language to binary code in order for a predetermined behavior.
What is the relationship between Java and Javascript?
none
What is ECMAScript and how is it related to Javascript?
same

1 Like
  1. What is a program? A computer program is a sequence of coded instructions that can be executed by a computer to control the operation of a computer or perform a specific task or the action of instructing a computer by means of a program.

  2. What can you say about complexity in programming? Complexity in programming is a two-edged sword. On the one hand the simpler a program is, the easier it is to understand and maintain. On the other hand, a computer program can help solve complex problems and this sometimes requires complex solutions. In general, one should try to keep a program as simple as possible but one has to balance practicality with simplicity. I like the quote from the book that “The art of programming is the skill of controlling complexity”.

  3. What function do programming languages have? Languages, basically are composed primarily of symbols and rules (grammar). Letters and words, which are symbols, when used in an agreed way, are used as a method of communication. When a computer language is used for writing computer programs, algorithms, etc., it is the symbols and grammar of the computer language that are used to control the computer. So the function of programming languages is to control a computer in such a way as to achieve a goal, solve a problem, find a solution, produce a product, etc.

  4. What is the relationship between Java and Javascript? Well they are both programming languages but are quite different. The name ‘JavaScript’ was inspired more from marketing considerations rather than from good judgement, when Java was being heavily marketed and achieving success. Java is an object-oriented programming language whereas Javascript is a scripting language that is only loosely related to Java and Javascript is not a true object-oriented language and it is not compiled.

  5. What is ECMAScript and how is it related to Javascript? ECMA is an acronym for European Computer Manufacturers Association, based in Geneva, Switzerland and they wrote a standard document describing the way the Javascript language should work. In practice the terms ECMAScript and Javascript are synonymous.

1 Like

What is a program? it is a set of instructions that tells the computer what to do
What can you say about complexity in programming? complexity needs to be managed with consideration of understandability of the code and maintainability of the code. Performance may also be a consideration depending on the purpose of the code.
What function do programming languages have? programming languages provide a more useable interface between programmers and computers; and allow programmers to specify instructions to a computer in a more human friendly way. the programming language maps the higher level commands into the detailed machine level operations.
What is the relationship between Java and Javascript? they are not related
What is ECMAScript and how is it related to Javascript? the terms can be used interchangeably as they are essentially the same thing

1 Like

What is a program?
A program is a series of instructions that tell a computer what steps to take, it can be linear or with loops and decision points.

What can you say about complexity in programming?

Programs can be complex, and it is up to the coder to make it better understood if he needs it maintained by himself or others in the future.
Making it better understood is by using english like representative names, easy to understand abstractions and descriptive comments and comprehensive documentation.

What function do programming languages have?

Programming languages provide a humanized layer of abstraction to allow people to instruct computers on performing tasks.
It makes it much easier than trying to instruct the computer using assembly or machine code.

What is the relationship between Java and Javascript?

No relation other than the use of the word Java

What is ECMAScript and how is it related to Javascript

ECMAScript is a standard specification for Javascript, it can be used interchangeably with Javascript.

1 Like

where we supposed to read the first 4 chapters or just the first 4 sections of chapter 1?

1. A set of instructions that tell a computer what to do.

2. Programs should be as simple as possible therefore unnecessary complexity should be avoided.

3. A programming language allows to instruct a computer on a higher level.

4. Despite the naming of JavaScript for marketing reasons there is no relationship.

5. Document used to determine a standard, it describes how JavaScript should work.
The terms ECMAScript and JavaScript can be used interchangeably in practice.

1 Like

1- A set of precise instructions that tell a computer what to do.

2- The fundamental rules of programming 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- They help the programmer by allowing them to talk about the actions that the computer has to perform on a higher level.It helps omit details, provide convenient building blocks and makes those blocks easy to compose.

4- Javascript has nothing to do with java.when Javascript was introduced,they named it after java for marketing considerations, because at that time Java was very popular and successful.

5- ECMAScript is a standard that was written to describe the way Javascript should work.In practice the terms ECMAScript and Javascript can be used interchangeably.They are two names for the same language.

  1. A program defines the precise instructions/code that programmers write, which tells a computer what to do and how to run. I also like Haverbeke’s words that, “a program is a building of thought” - a creative idea manifested physically through code.

  2. Although rules in a programming language may be simple, building programs on top of the language can easily become complex and confusing if the programmer is not careful. A program’s beauty lies in its complexity made simple. Thus, the art of programming is the “skill of controlling complexity”.

  3. Programming languages are like a gateway that allows the programmer to communicate in similar ways they may communicate to other humans, but in a language that can be understood by a computer.

  4. They have no association. Javascript simply used the word ‘java’ as a way to ‘piggyback’ on Java’s popular marketing campaign.

  5. ECMAScript is the standard document that defines what the Javascript language is. Hence, ECMAScript and Javascript can actually be used interchangeably.

The first four sections of Chapter 1.

1- Set of instructions that a programmer can provide in a computer language which a computer can understand and carry out
2- Programs should be as simple never be complicated enough to confuse the programmer. Less is more!
3- Programming languages are used to facilitate the human/machine interaction and understanding. With this language, the instructions can be determined and the computer can then carry out the instructions and produce the results required
4- Zero other than the possibility of sharing a brand
5- Its the original standard that javascript uses.

A computer program is a piece of text written by a “programmer”. This piece of text would be embedded within the computer’s memory and at the same time be the same force controlling the computer.

“The Art of programming is the skill of controlling complexity” - It’s amazing that within such an analogy we witness modern philosophy. That statement almost seems like it’s making an attempt at explaining entropy and how it can be hernesse for man’s benefit.

Most popular programming languages are what we call turing complete. This implies that they should be able to do anything that’s computationally possible. However in general programming languages are used to develop computer programs, games, interfaces, right through to generally machine learning, artificial intelligence and so on.
Ohh plus they “take care of uninteresting details for us of course”

Java and Javascript are different. the similarity in names is basically politics.
Ohh a few more: Java is an (OOP) Programming language whilst JavaScript is an (OOP) Scripting language
Java runs in a Virtual Machine or browser whilst Javascript runs on the web browser only
Java code needs to be compiled whilst JavaScript is all in text.

ECMAScript and JavaScript are the same language with different names. ECMAScript was just introduced to ensure that applications that claimed to implement JavaScript were indeed talking about JavaScript

  1. It is a set of instructions.
  2. Programming can create complex instructions that sometimes become to much even for a programmer, that’s why complexity should be avoided and programming best practices should be applied.
  3. Programming languages provide simpler way to instruct computer, they make communication easier for humans.
  4. Java and Java Script are different things, Java Script just used Java in the name for marketing purposes due to Javas popularity at that time.
  5. Both are the same language. ECMAScript is a standard.
  1. It is a piece of text typed by a programmer, it is the directing force that makes the computer do what it does.
  2. A program’s size and complexity will grow out of control, confusing even the person who created it. Keeping programs under control is the main problem of programming.
  3. Helps the programmer by allowing them to talk about the actions that the computer has to perform on a higher level.
  4. No relationship
  5. They are two names for the same language.
  1. A program is a set of commands we instruct our computer in order for it to execute what we tell it to do.
  2. Programming is not simple and it can turn to be extremely complex. Especially when you deal with functions, where you must anticipate all the various scenarios that an algorithm must solve…
  3. Programming languages make our code more readable and easier to understand for us humans.
  4. There is no relationship, they are two completely different types of programming languages.
  5. Basically it’ s a document that sets the standards for JavaScript

What is a program?
It is a set of instructions that tell a computer what to do.

What can you say about complexity in programming?
Complexity should be managed with the goal of making the program as simple to understand as possible.

What function do programming languages have?
They act as an interface between the programmer and the computer.

What is the relationship between Java and Javascript?
There is no real relationship between the two, Javascript is just an unfortunate choice of name as it falsely suggests a link to the Java language.

What is ECMAScript and how is it related to Javascript?
ECMAScript is standardised Javascript and currently ECMAScript is JavaScript.

  1. What is a program?
    A program is a set of instructions that tell computers what to do.

  2. What can you say about complexity in programming?
    Keeping complexity of programs under control is one of the biggest problems of programming.

  3. What function do programming languages have?
    to allow programmers to write programs nearly in the way we talk to each other, in a more or less human readable way and transform this written language to binary machine code, that is executed on the computer.

  4. What is the relationship between Java and Javascript?
    nearly none. it just got its name because of marketing reasons. Java was very popular at this time.

  5. What is ECMAScript and how is it related to Javascript
    The ECMAscript standard describes how JavaScript should work. ECMAscript and JavaScript are interchangeable and in fact two names for the same language

  1. program is a set of rules written by human witch computer must do.
  2. I dont understand.
  3. abiliti to be written in human readble language.
    4.They are two different language.
    5.It is language standard
  1.         What is a program?
    

A programme is a set of instructions that are used to make a computer perform calculations or functions in order to carry out your tasks. Programmes are in a much more convenient format compared to writing reams of binary code for the computer.

  1.         What can you say about complexity in programming?
    

The fundamentals of programming a CPU are simple, 1’s and 0’s are transmitted, stored and basic mathematic functions are carried out by the CPU. However, to run a complex programme with thousands of iterative calculations, logic functions and loops, a more complex programming language is needed as an intermediary. As programmes form their own new functions and rules of their own, the complexity of the programme increases. The more complex a programme the greater chance there is for errors or mistakes. To control complexity programmers have developed techniques and rules, Marjin Haverbeke argues that these rules are ineffective and stifle creative problem solving, however, for beginners, understanding convention and rules can be a helpful handrail.

  1.         What function do programming languages have?
    

Programming Languages serve the function of expressing commands to a computer in a logical and readable (and therefore writable) way. A good programme should cut out much of the repetitive instructions and omit detail.

  1.         What is the relationship between Java and JavaScript?
    

There is no relationship between Java and JavaScript. The name JavaScript was plagiarised from Java for the same of brand familiarity.

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

ECMAScript is named after the “Ecma International Organisation” and it is the same as JavaScript but just a different name. ECMA (in capitals) was originally an acronym for European Computer Machine Association, the organisation become Ecma in 1994 to reflect its global work.

1 Like