Starting with the basics, initially I would like to tell you about the programming languages, what are they, why they have been developed, what are their needs. See, since you all know how computer is important for us. Now a days, every field needs a computer to perform a work in a better way or to reduce man’s power and resources. Computer works according to human being’s requirements, it mean s people have to tell it what work has to done and most important how that work is to be done.
Since, the computer doesn’t know our language like Hindi or English. Yes, A question surely can come to your mind is that whatever we type in computer is totally in English but dear students, I would like to tell you that whatever you or I type is get converted into computer’s language since computer is only able to understand the 0’s and 1’s language. This language is technically known as Binary Language.
What is A software?
The software helps computer to understand what the work is to be performed and how that work is to be perform.The collection or series of instructions we give to the computer is known as software. E.g. of software are you people must be aware of it like ms office, Photoshop etc.
Now, learn few technical lines about the software is, a software is a set of instructions that are to be given to the computer to tell the exact definition of what work is to be done and how that work is to be done. It provides the interface between user and computer screen .
“A software is set of programs and programs are set of instructions given to computer to perform a specific set of tasks”.
So, we can also say that software is collection or combination of interrelated programs. And all programs contain the instructions.
Now, to make a software we need a language , since I told you a software is collection of programs so that you can say that language needed by the computer is also known as Programming language. Because we make programs in it.Many programming languages have been developed like ‘C’ , ‘C++’, Forton , Cobol , Java all follows the different approaches. Approaches can be structural or object oriented. (we will later discuss about it).
Introduction To ‘C’ Language/C programming:
It is general purpose programming language that was created by Dennis m . Ritchie in 1972 in circa. He developed this for purpose of writing an operating system so the first use of this was an operating system named UNIX .
It is an high level language. It means it permits the programmers to describe the task in form which is problem oriented it means it describes the problems .
What is a Statement?
The instructions that are written in these languages are called
“statements” same as sentences of human beings are called statements.
The high level languages are not dependent on computer architecture. It means programs written in one computer system can be run on another computer but that computer must have a language related compiler. Because compilers are machine dependent not the language in which we make a program.
What are Compilers?
Compilers are the general purpose program which translates a high level language program into computer under stable language i.e. machine language. It checks all errors , limits, ranges of the program that we are compiling.
Characteristics of C Language:
1. C language is very similar with English language their keyword an d functions are English term name s so they provide the easy interaction with user to work with.
2. C provides facility to work at register level. Registers are part or CPU. Registers provides direct operation performance. It increases processing.
3. C provides some predefined functions which makes work fast and easy.
4. C works on “divide and conquer “ approach , which makes a understandability and debugging of program easy.
5. It provides recursion, array, structure which helps us to work at higher level.