Programming Reading Assignment

1). According to the author, “A program is many things. It is a piece of text typed by a programmer, it is the directing force that makes the computer do what it does, it is data in the computer’s memory, yet controls the actions performed on this same memory”.

2). Programming is hard, for sure. But the best programs are the ones that are the simplest in code. It is easy for a programmer to make the program so complex that even they do not know where they are headed. It should be simple and efficient.

3). Programming languages have many functions. The main function of this is for humans to interact, communicate and control what a computer does.

4). NOTHING, just a marketing ploy. It should have been named something else but too late for that.

5). And I quote “When other than Netscape started to support JAvaScript, or something that resembled it, a document was written o describe precisely how a JavaScript System should work. The language described in this document is called ECMAScript, after the organization who standardized it. ECMAScript describes a general purpose programming language and does not say anything about the integration of this language in a web browser”

1 Like

Reading Assignment: Programming

  1. What is a program?
    It is a piece of text written by a programmer, that is the directing force that makes the computer do what it does. It is data in the computer memory, and it also controls the actions performed on the same memory.
  2. What can you say about complexity in programming?
    Complexity should be avoided, try and keep the programming as simple as possible for others to understand.
  3. What function do programming languages have?
    They instruct a computer to perform a computation and organize the flow of control between external devices.
  4. What is the relationship between Java and Javascript?
    No relation
  5. What is ECMAScript and how is it related to JavaScript?
    The terms are used interchangeably in practice.
    ECMAScript is a standard document to describe the way JavaScript languages should be used.
    It is two names for the same language.
1 Like
  1. What is a program?
    a list of instructions for a computer telling it what to do.
  2. What can you say about complexity in programming?
    keep it simple.
  3. What function do programming languages have?
    it takes unreadable computer code and turns it into something readable for humans.
  4. What is the relationship between Java and Javascript?
    nothing they share a similar name.
  5. What is ECMAScript and how is it related to Javascript?
    its another name for the same language. its the standard for Javascript.
2 Likes

What is a program? a set of precise instructions telling a computer what to do.

What can you say about complexity in programming?

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 .

What function do programming languages have?

A good programming language helps the programmer by allowing them to

talk about the actions that the computer has to perform on a higher level.

It helps omit details, provides convenient building blocks (such as while and

console.log), allows you to define your own building blocks (such as sum and

range), and makes those blocks easy to compose.

What is the relationship between Java and Javascript?

JavaScript has almost nothing to do with the programming language named Java. The similar name was inspired by marketing considerations rather than good judgment.

What is ECMAScript and how is it related to Javascript?
A standard document was written describe the way the JavaScript language should work so that the various pieces of software that claimed to support JavaScript were actually talking about the same language. This is called the ECMAScript standard, after the Ecma International organization that did the standardization. In practice, 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 many things. It is a piece of text typed by a programmer, it is the directing force that makes the computer do what it does, it is data in the computer’s memory, yet it controls the actions performed on this same memory.
  1. What can you say about complexity in programming?
  • Keep it simple and always write comments with the code to reduce complexity while programming
  1. What function do programming languages have?
  • A good programming language helps the programmer by allowing them to talk about the actions that the computer has to perform on a higher level.
  1. What is the relationship between Java and Javascript?
  • JavaScript has almost nothing to do with the programming language named Java. The similar name was inspired by marketing considerations rather than good judgment. When JavaScript was being introduced, the Java language was being heavily marketed and was gaining popularity.
  1. What is ECMAScript and how is it related to Javascript?
  • ECMAScript standard is 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 were actually talking about the same language. ECMAScript and JavaScript can be used interchangeably.
1 Like
  1. What is a program?
  2. What can you say about complexity in programming?
  3. What function do programming languages have?
  4. What is the relationship between Java and Javascript?
  5. What is ECMAScript and how is it related to Javascript?

Answer:

  1. The program is a result of writing command codes in which there are instructions from the programming language created by programmers in the form of products, applications or software to facilitate the work of users.

  2. Fundementals of the programming is easy but it tend to get complex if it won’t be controlled properly.

  3. The main function of a programming language is as a tool to give commands to the computer so that it can move to process words according to what we want. The output of the program language itself can be in the form of an application or a special program.

  4. Java is a statically typed language that requires the declaration of all variables and their types (e.g. integer, string or boolean). In contrast, Javascript is a “loosely” typed language, allowing variables to be used without prior declaration.

  5. EcmaScript itself is actually born from native JavaScript, so that in terms of features, there is no difference between JavaScript and EcmaScript. As for the JScript version itself, there are slight differences but it still supports the features in the standard version of EcmaScript. The JavaScript we know today, is EcmaScript version 5 (ES5). EcmaScript itself is currently up to version 6 (ES6/ES2015), but not yet supported for all browsers. So to use it, ES6 must be transpile (changed) to ES5/JavaScript with a tool called Babel.

1 Like
  1. A program is a set of rules that govern machine hardware operation.
  2. Complexity of programs is always evolving daily as need to create new solutions for new problems arises.
  3. Programming languages give the programmer the ability to define the rules and actions the computer is supposed to operate by and do in a language best understandable to the programmer.
  4. Java and Javascript are in no way related.
  5. This is the document of standards which were used to define how Javascript works. This would be later used by developers who claimed to support the then new language.
1 Like
  1. A program is a set of instructions a computer follows to perform a task.
  2. You should always program with care. In this way you hold control over its complexity.
  3. On this way humans can “easier” and efficiently interact with a computerprogram.
  4. The only relationship is that both are programming languages.
  5. The ECMAScript is another name for Javascript.
1 Like
  1. A program is a set of precise instructions telling a computer what to do.

  2. Fundamental rules in programming are simple, yet programs built on top of these rules tend to become complex enough to introduce their own rules & complexity.i e you’re building your own maze and along the way you might just get lost within your own maze due to the increase in complexity.

  3. programming languages require to build programs that reduce complexity and hence they have a function of having specifc instructions fora desired outcome.

4.JavaScript has almoast nothing to do with the programming language named Java, it was a marketing strategy to ride on anothers popularity.

5.ECMAScript and JavaScript are two names for the same language.

1 Like
  1. What is a program?

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

  1. What can you say about complexity in programming?

Fundamental rules of programming are simple and clear, but the programs built on these rules can be complex.

  1. What function do programming languages have?

Tells computer what to do, the data in the computer’s memory.

  1. What is the relationship between Java and Javascript?

Java was popular at the time of Javascript’s release. Therefore, the people behind Javascript called it Javascript to try and ride the wave of Java’s success. Other than that, JS has almost nothing to do with Java.

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

ECMAScript is the same thing as Javascript. The name ECMAScript is a more formal name that describes the standard way Javascript is supposed to work.

1 Like
  1. What is a program?
    It is a piece of text, the directing force that makes the computer do what it does, it is data
    in the computer’s memory, yet it controls the actions performed on this same
    memory.

  2. What can you say about complexity in programming?
    It is the sum of different simple functions that added to one another create a complex system that requires knowledge and effort. A program can ingeniously combine an enormous number of simple actions to do very complicated things.

  3. What function do programming languages have?
    They are a way in which programming turns “easier”, readable and more efficient at the time of writing it.
    A good programming language helps the programmer by allowing them to talk about the actions that the computer has to perform on a higher level.

  4. What is the relationship between Java and Javascript?
    The only relation is the name. Java is a language but the name came out of a marketing priority

  5. What is ECMAScript and how is it related to Javascript?
    It is a standarization of rules and details of how Javascript should work in order to be

1 Like
  1. What is a program?
    A program is a precise set of instructions that tell a computer what to do. Programming languages were developed for this purpose and have evolved and are continuing to evolve into more complex and robust tools.
  2. What can you say about complexity in programming?
    With poor structuring, the bigger the program gets, the more complexity is created in the program. It becomes harder to manage even for the developer.
  3. What function do programming languages have?
    Allowing people to use their language to instruct machines in their language.
  4. What is the relationship between Java and JavaScript?
    JavaScript has almost nothing to do with the programming language named Java. A similar name was inspired by marketing considerations rather than good judgment. When JavaScript was being introduced, the Java language was being heavily marketed and was gaining popularity.
  5. What is ECMAScript and how is it related to JavaScript?
    ECMAScript is a standard document that describes the way the JavaScript language should work. It is named after the standards organization called Ecma International that did the standardization. In practice, the terms ECMAScript and JavaScript can be used interchangeably, they are two names for the same language.
1 Like

1: A set of precise instructions telling a computer what to do.

2: It is your job to keep your program under control and make sure it doesn’t become too complex. You need to take care of it.

3: They allow you to easily interact with a computer, similar to how you would interact with a human. Without them, it becomes a lot of 0’s and 1’s.

4: In terms of technology almost nothing, it was purely to ride the marketing wave of Java.

5: The two are interchangeable. They called it the ECMAscript standard after the Ecma international organization did the standardization.

1 Like
  1. A program is an instruction to the computer to perform particular computations.

  2. Programming complexity is a in the eye of the beholder. More awareness less complexity.

  3. Programming languages are used to communate with the computer.

  4. Nothing, a marketing tactic.

  5. A document describing the method Javascript should fucntion.

1 Like
  1. a set of precise instructions telling a computer what to do.
    2)Programming, it turns out, 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. You’re building your own maze, in a way, and you might just get lost in it.
    3)the function of programming languages is to write computer programs, which instruct a computer to perform some kind of computation, and organise the flow of control between external devices.
    4)there is very little relationship between the two other than the similar name.
    5)ECMAScript is a standard document that was written to describe the way the JavaScript language should work so that the various pieces of software that claimed to support JavaScript were actually talking about the same language. They are the same language and can be used interchangeably.
1 Like
  1. A program is an artificially constructed language used to communicate and instruct computers.

  2. The complexity in programming is to be mastered and controlled, failure to do so can lead the complexity to get out of control. “You’re are building your own maze, sometimes you will get lost in it.”

  3. Programs functions are to instruct the amchine to conduct precise actions or instructions that the computer can’t do with its base code.

  4. The only relationship between Java and Javascript is the name. Java was bein heavily marketed in the time Javascript was rising to popularity.

  5. ECMAScript is a stndard used to help other softwares know which langauge they are talking baout. ECMScript is the sae as javascript just a different name.

1 Like

1. What is a program?
It is a piece of text typed by a programmer and it is the directing force that makes the computer do what it does.

2. What can you say about complexity in programming?
it is sometimes confusing and frustrating and can quickly go out of control, even for the original person who created it. It is the programmer’s job to control their program’s complexity.

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?
It was a marketing ploy to name the language Javascript because Java was becoming popular at the time, but otherwise the two languages have very little to do with each other.

5. What is ECMAScript and how is it related to Javascript?
It is two names for the same language. ECMAScript was created to describe the way the Javascript language should work. ECMAScript and JavaScript can be used interchangeably

1 Like
  1. What is a program?
  • A set of instructions telling the computer what to do and makes it do them.
  1. What can you say about complexity in programming?
  • Programming can be complex because the computer is a dull machine that needs detailed instructions to operate. The more complex the task, the more complex the program, but there is always a need to keep things as simple as possible to be practical.
  1. What function do programming languages have?
  • They put a structure on the computer in terms of what to do, and what is relevant for it to get the task done (e.g. where to pull data from to do xyz)
  1. What is the relationship between Java and Javascript?
  • There’s no relationship. Java was a popular language back then and developers of javacript wanted to piggyback on the name
  1. What is ECMAScript and how is it related to Javascript?
  • ECMAScript is Javascript. ECMA is the standard setting body for javascript that was created once people beyond netscape started using javascipt
2 Likes

HTML Basics

Hi Guys

I need help to on what to do with the above task where using Atom to save a file a website.html i’ve done that what I need to figure out is where does the file need to be saved so I can see the final result in screenshot 3.

I have the code typed out but am unable to figure out if there is a better suitable place to have these files on my Mac (which there must be)

Uploading: Screenshot 2021-10-27 at 11.10.58.png… Screenshot 2021-10-27 at 11.11.40

What is a program?

  • Set of instructions for the computer to execute.

What can you say about complexity in programming?

  • The goal in programming is to simplify as much as possible.

What function do programming languages have?

  • They provide building blocks, a language for the programmer to deliver the computer instructions to execute without using binary code.

What is the relationship between Java and Javascript?

  • There is none except for the purpose of marketing.

What is ECMAScript and how is it related to Javascript?

  • They are one and the same. ECMA is the standard written for how Javascript should work.