🏠 Show Subjects ➗ Math🧪 Science🏛️ History📺 Arts & Humanities🤝 Social Studies💻 Engineering & Technology💰 Business📚 Resources 📓 Study Guides🏆 Leaderboard💯 All Tags❓ Unanswered🔀 Random Tags📱 Computer Programming📱 Java Programming📱 C ProgrammingWhile running a machine language program, the program counter or instruction pointer register holds the offset of the address of the next instruction to be executed. From: Newnes Interfacing Companion, 2002
Get the answer to your homework problem. Try Numerade free for 7 days
Howard University
'Why is it important to think about the programming language to use? 5/5 Assessment Why is it important to think about the programming language to use? Some programnming languages are Some programming languages are countries: better on different platforms: used more in some The choice of programming language determines what type of game you can make: Some programming languages might be too complicated:' High level language is much closer to human language so it is more suitable to write code in high level language. It is more or less independent of the particular type of computer used (i.e. more portable) and has its own set of rules called syntax. Its main advantage is that it is easier to read, write and maintain. The first high level programming languages were designed in the 1950s. Now there are dozens of such languages available such as BASIC, COBOL, C, C++, FORTRAN, LISP, PASCAL, prolog, etc. This language is lot slower in terms of execution as compared to low level language. Compiler or interpreter is used to convert high level language to machine language. Advantage of High Level LanguageHigh level language has following advantages :
Disadvantages of High Level LanguageHigh level language has following disadvantages :
A high level language can be further categorized into object oriented and procedural programming language. Procedure Oriented Programming LanguageProcedural programming is based upon the idea of series of procedure calls. A programmer writing program in this language can exactly specify a sequence of steps in order to perform a particular task. Languages which express step-by-step algorithms written to solve a problem are known as procedural languages. A procedure may be a program in itself that may be called within a main program, a subroutine or another program. A programmer knows exactly what is to be accomplished at the end of the program and uses a sequence of algorithmic steps in order to achieve it. C language is example of procedure oriented programming language. Object Oriented Programming LanguageIn object oriented programming; the data (i.e. variables) and code are combined to form objects. This allows more effective code duplication which is not the case when programs are divided into subroutines (or functions). The required programming parts can be called again and again within the program. Its main distinction with procedural programming is that in procedural programming task is divided into subroutines, structures and functions. Whereas in object oriented programming, data as well as functions and subroutines are encapsulated to form objects. C++ language is example of object oriented programming language. |