Introduction To Programming Language
WHAT IS PROGRAMMING?
“COMPUTER PROGRAMMING IS THE ART OF MAKING A COMPUTER DO
WHAT YOU WANT IT TO DO”
A program is aaa collection of instructions written in any programming language. They tell a computer how to perform a some task. It is just like a recipe which tells us how to prepare a particular dish and also describes all its ingredients and the steps to follow. Programming is also very similar in concept.
WHAT IS LANGUAGE?
Language is the medium of communication and sending/receiving thoughts between two people. For communication, a medium is required which can be understand from both the sides and that medium is known as a language. Many different languages are used across
…show more content…
3. High level language
These languages are used in modern times. These are simple enough so that a common man can easily understand them and can create a program. All the codes are written in English language here and a compiler is used to convert the program into machine language.
Translators
They are the softwares which are used to convert the programs written in human readable form to machine readable form that is machine language. Basically there are three translator softwares used in computer programming:
1. Assembler
Programs which are written in assembly language are converted into machine language with the help of assembler. It is a kind of software which convert the codes written in any text file into machine language and process them in CPU then CPU understand that code and return the desire result into human readable form i.e. English.
2. Compiler
It is used to convert the high level program codes into machine language. It converts the full source code into machine code at a time and shows all the errors combined.
3. Interpreter
It is also used to convert the high level program codes into machine language but it converts the code line by line and if it found error in any line then it stop further conversion and shows the error.
C at a Glance
C is a general-purpose computer
| Allows users to organize data in rows and columns and perform calculations and recalculate when data changes.
First let us take a look at computer programming. This element takes on different program designs created by engineers and uses one of several different programming languages to write executable code that computers can read. Programming is the source for
This is a microprocessor that allows the computer to boot up. It also allows data manigment between the operating system.
4) The two mechanisms which used to translate a program written in a high-level language into a machine language are:
In our recent negotiation, my partner Dave and I assumed the roles of Alan Hacker, a computer software developer, and Alan Hacker’s lawyer. Being the lawyer in the negotiation my objective was to avoid litigation with my client’s partner Stanley Star and to aid in the continuation of my client’s co-owned company HackerStar. In addition, I would assist Hacker in coming to an agreement that would be satisfying for him both personally and financially. I felt that Dave and I presented a reasonable argument on Hacker’s behalf and, since I was able to apply some of our class readings during the process, I was overall pleased with the outcome.
It converts the functions for the application layer data. It compresses the data allowing it to be encrypted and more secure. It represents the data in graphical formats such as in JPEG, BMP, MPEG etc. as well as characterising the characters into text or ASCII.
A: The machine code is the language which the computer hardware understands and executes. It is preferable to write programs in a high level language such as C ++ because it is much easier to understand and learn this machine language.
Each programming language uses a piece of software, called a compiler or an interpreter, to translate your program code into machine language. Machine language is also called binary language, and is represented as a series of 0s and 1s. The compiler or interpreter that translates your code tells you if any programming language component has been used incorrectly. Syntax errors are relatively easy to locate and correct because the compiler or interpreter you use highlights every syntax error. If you write a computer program using a language such as C++ but spell one of its words incorrectly or reverse the proper order of two words, the software lets you know that it found a mistake by displaying an error message as soon as you try to translate the program.
Assembly language is converted into executable machine code by a utility program referred to as an assembler; the conversion process is referred to as assembly, or assembling the code.
as it written in a low level language it isn’t as efficient as others that many use high-level languages.
Java is not only a programming language, but also it provides an environment for executing programs written in java language. The java compiler translates java source code into instructions that are interpreted by the runtime Java Virtual Machine, unlike traditional compilers, which converts source code into machine level instructions.
Procedural programing is the standard approach used in traditional computer languages. Procedural programing is a term used to denote the way in which a computer programmer writes program. It creates a step by step program the guides the application through a sequence of instructions. It focuses on processes, data and functions are stored in a separate memory location.
It is used to perform data flow functions like reading, validating, refining, transforming, writing data to data sources.
We can also generate codes in various languages using UML diagrams. UML has relation with object oriented analysis and design later it becomes an object management group. UML diagrams are used to model
In First-generation programming language computer (was and still) converting information given by a programmer into a binary numbers which is a combinations of 0s and 1s as there was no translator used to compile or assemble the information given. The advantage of programming is that, the code could run very and efficiently precise as the information are executed directly by the CPU.