logo

Principles of Programming Language

6 Pages1648 Words317 Views
   

Added on  2020-01-28

Principles of Programming Language

   Added on 2020-01-28

ShareRelated Documents
Procedural writing computer programs is the most normal method for guiding a PC as the PC processors claim dialect and machine code is procedural. It is likewise alluded as organized or measured programming. Procedural writing computer programs is performed by guiding the PC and how to do it through a rundown of well ordered guidelines. In this manner, procedural programming includes strategies, which infers that there are steps that should be taken after to finish a particular errand. For instance read a number, include 7 or show a particular message. Procedural writing computer programs is very direct and productive as more than frequently in the first place, the program is composed in a typical and plain dialect by applying rationale before really composing the code. The fundamental elements of procedural writing computer programs is that it is moderately simple to peruse and compose program code and keep up program code as various methods can be repaired independently. Moreover, vast projects are isolated into littler ones and that the greater part of the information is shared and can thusly be come to from some other point inside the program. Convincingly, considering that the fundamental qualities of procedural programing being consecutive rationale, effortlessness, simple usage of compilers and mediators, capacity to make utilization of a similar code in the program by calling it as opposed to duplicating, ease with which the program stream can be followed, capacity to be unequivocally particular or organized, it can be said that procedural writing computer programs is a basic venturing stone towards adapting further programming abilities.Discusstheprinciples,characteristicsandfeaturesofproceduralprogrammingProgramming language is the computer language in which the program are written so that they communicate with the computer to perform the required task. Programs are the instructions that are written to control the behavior of the machine. Program can be written in 2 forms:Low level programming languageHigh level programming languageLow level Programming language: In this program is written in the machine language. In this no compiler is needed to convert the program into machine language. That’s why it run very quickly.High level Programming language: It is very close to the human. It is understandable. In this compiler or interpreter is needed that covert the high level instruction to the low level instructions.C is the procedural programming language that is it makes the use of the procedure to make the program execute. Program is made up of procedure or function to provide the required functionality.
Principles of Programming Language_1
Characteristics of Procedural Programming:It gives more importance to the things to be done.Functions are basically used to provide the functionality.Global data is used for sharing.Data is transferred from one form to another between the functions.Top down approach is usedThis design is inappropriate for the large program.2.ReasonsofchoiceC(min 6reasons..)Ans C is the high level programming language. It is used popular due to several reasons:Portability: it is independent of platform. It means it can be used on different platform without making the change in the code.Modularity: As C is based on the procedural programming so the large functionality can be broken down into several modules that causes the program compilation and debugging executionfaster.Flexibility: C provides the flexibility feature as it help the programmer to take control over the program modification and its usage.Speed: As C supports the system programming that causes the program to compile faster in comparison to the high level programming language.Extensibility: C support the extensibility feature. At any time new feature can be added into it.Compactness: C also provides the handful reserve words to increase the functionality of program. Due to the precision use of the keywords, C support this feature.Principles(Min 8 option)?It is of small size.It supports the extensive use of functions/procedures.It supports the loose typing –unlike PASCAL.Relatively easy to read and write the program code and the maintenance and debugging also.The code executes in the sequential manner and the ability to make use of the same code in the program by calling it.
Principles of Programming Language_2
It is efficient and the most natural way of telling a computer what to do as the computer processors own language and machine code is procedural.It is the structured languageLow level programming readily available.Characteristics(Min 8 option) ?C language is well suited for structured modular programmingC is a robust language with rich set of built-in functions and operatorsThe C compiler comes with the combined feature of assembly language and the level language.It is more faster than BASICIt also supports the extensibility feature.It is also used in designing the operating system and the embedded system.It also supports the portability feature that the same program can be used or run on another machine.Program written in C are efficient and faster.Features (Min 200 word)?C is a powerful, flexible language that provides fast program execution and imposes few constraints on the programmer. It allows low level access to information and commands while still keeping the portability and syntax of a high level language. These qualities make ita useful language for both systems programming and general purpose programs.C's power and fast program execution come from it's ability to access low level commands, similar to assembly language, but with high level syntax. It's flexibility comes from the manyways the programmer has to accomplish the same tasks. C includes bitwise operators along with powerful pointer manipulation capabilities. C imposes few constraints on the programmer. The main area this shows up is in C's lack of type checking. This can be a powerful advantage to an experienced programmer but a dangerous disadvantage to a novice.Another strong point of C is it's use of modularity. Sections of code can be stored in libraries for re-use in future programs. This concept of modularity also helps with C's portability and execution speed. The core C language leaves out many features included in the core of other languages. These functions are instead stored in the C Standard Library where they can be called on when needed.. An example of this concept would be C's lack of built in I/O capabilities. I/O functions tend to slow down program execution and also be machine independent when running optimally. For these reasons, they are stored in a library separately from the C language and only included when necessary.KeyfeaturesofProceduralProgramming
Principles of Programming Language_3

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Assembly Language with Research and Analysis
|25
|2274
|12

Assignment on CISC and RISC Architecture - Desklib
|8
|1605
|930

Comparative Programming Language Report 2022
|11
|2300
|16

Report on Comparative Programming Language 2022
|12
|3489
|38

Java Programming and Its Benefits
|24
|6942
|313

The Lisp Programming Language
|5
|1138
|27