List the advantages of high level language. What are its features? (5-marks) In high level languages we write programs in English like language and are more convenient to use. Programmer can perform complex task by using high level languages with less efforts. There are different high level languages such as FORTRAN, c, c++ etc One advantage is programmer efficiency. Potentially hundreds of functions can perform easily. High level language programs require less time and efforts that due the preparation cost of the program. Following are the advantages of a high level language:
Similar to English with vocabulary of words and symbols •
Therefore it is easier to learn.
They require less time to write.
They are easier to maintain.
Problem oriented rather than 'machine' based.
Program written in a high-level language can be translated into many machine language and therefore can run on any computer for which there exists an appropriate translator. •
It is independent of the machine on which it is used i.e.Programs developed in high level language can be run on any Computer A high level language has the following features
1. Easier to write
2. Easier to read
3. Easier to maintain
4. Portable : can work across different CPU families
5. Supports a wide range of data types
what are different loader scheme are used? explain (5 mark)
Loader is a program which accepts the object program decks and prepares these programs for execution by the computer and initiates the execution. The loader must perform the following functions:-
Allocate space in memory for the program(Allocation)
Resolve symbolic references between object decks(Linking) 3.
Adjust all address dependent locations, such as address constants, to corresponds to the allocated space (Relocation) 4.
Physically place the machine instruction and data in memory(Loading) Loader Schemes
General Loader Scheme
Absolute Loading scheme
Please join StudyMode to read the full document