Please enable JavaScript.
Coggle requires JavaScript to display documents.
1.8 Programming environment (Translation process video (Assembler (It is…
1.8 Programming environment
1B Computer program
Programming is a sequence of small commands which come one after each other
Programming is when large tasks and ideas are broken down into much smaller tasks and executed using the best solution
The sequence of instructions you give a computer can greatly impact the final result
We are giving directions to the computer, breaking apart a more complex idea into smaller individual instructions and using a programming language to write them instructions
An example of a programming statement written in java is Balance = 500;
Computer program video
Computers only recognise 1's and 0's which is called machine code
What is a computer program?
It is a set of instructions that a computer follows to complete a task
Computer software is the computer code written by the programmer to carry out tasks
To write a program a very detailed set of instructions are created. Each of these instructions have to be very detailed so the computer can carry out the task correctly.
The computer programming language is chosen depending on the task.
Programming language examples
Java
Python
Ruby
Script
Translation process video
Programming language is a formal language designed to communicate instructions to a computer
Low level languages
They are machine oriented and require extensive knowledge of computer hardware and its configuration
Machine code
It is the only language a computer directly understands and doesn’t need to be translated
Assembly language
Assembly language is the first step to improve programming structure and make machine code more readable for humans, it consists of a set of symbols and letters,
It is used for applications such as operating systems
Assembler
It is used to translate assembly language into machine language
It is called 2nd generation language as it doesn't use 1's and 0's to write instructions
High level languages
A high level language is a programming language that uses English and mathematical symbols in its instructions
Compiler
A compiler is a computer program that translates a program written in a high-level language to the, machine language of a computer
Interpreter
An interpreter is a computer program that simulates a computer that understands a high-level language
Examples of interpreted languages are Java Python and ruby
IDE
IDE is an application which helps software developers create their code
An example of an IDE application is Visual Studio
It is widely used because it helps support code editors
Features of IDE
Testing tools
Sever monitoring tools
Debugging tools
Code generation tools
Intellisense
It shows where there are errors in the code and highlighting it and showing where improvements can be made
Syntax errors
Syntax errors occur when there is a problem with the code itself for example if you forget to put a semi colon at the end of the code
Logic errors
A logic error is when the syntax of the code is correct but the way the code has been wrote is wrong which causes an error to occur