Premium Essay

Nt1310 Unit 2 Programming Memory Analysis

Submitted By
Words 1080
Pages 5
second function:-
MOVING DATA FROM ONE MEMORY LOCATION TO ANOTHER:-
After applying the ALU to the data, the data will now be stored in the primary storage, before being processed.
There are two main types of the Primary Storage:-
1-ROM (read only memory) permanent memory.
2-RAM (random access memory) temporary memory.

1- ROM:-
Rom holds all the data and the instructions which are permanent or fixed at the time of production and that data cannot be changed by the operator of the computer nor even by the computer. It is the permanent memory which only allows to “see” or read the data and does not allow to change or write something else in that data.
The software which is usually stored in ROM is firmware, as its name firm tells us that the …show more content…
For changing the stored data into the required operation computer uses certain languages these are called programming languages.

PROGRAMMING LANGUAGES:-
“ Programming languages are a set of codes and rules that enable the computer to operate in the desired way”

Software is written using programming languages. A computer programmer uses a programming language to write programs. There are over 180 programming languages and they can be divided into two groups:-
1- low-level languages.
2- high-level languages.

1- LOW-LEVEL LANGUAGES:-
These are the lowest level of computer languages and depend on the hardware of the computer system. They process calculations much faster than high-level languages and include machine language and assembly language.

MACHINE LANGUAGE or machine code, operates using binary numbers (0 and 1).
Even though machine language is the only language the computer can understand, programmers find it slow and tedious for most …show more content…
Even though assembly language is easier than machine language for people to understand, it may still require thousands of lines of code for it to do something useful.
This amount of detail makes programming time-consuming, repetitive and error prone.

“Assembly language was popular between 1959 and 1964”

2- HIGH-LEVEL LANGUAGES:-

High-level language’s use English-like codes where each statement corresponds to several lines of machine code. It does not depend on the hardware of the computer system, so the programs are portable. Since high-level languages are closer to English, programs are easier to write and often shorter in length than programs in low level languages.
Consequently, most computer programmers write programs using a high-level language.
There are many high-level languages available, including BASIC, PASCAL, C, COBOL, FORTRAN and APL.
Each of the above is designed for a particular purpose.

1-BASIC:-
BASIC stands for “Beginners All-purpose Symbolic Instruction Code”.
It was developed at DARTMOUTH college in the UNITED STATES in 1964 by JOHN KEMENY and THOMAS KURTZ.
It is a simple programming language and is useful in teaching programming

Similar Documents