C is a middle-level programming language.And it is the best language for the beginners Because this is clear all basic concept of programm...

C Programming Language

/
6 Comments
C is a middle-level programming language.And it is the best language for the beginners Because this is clear all basic concept of programming for example without clearing 10th standard you cannot go in 11th. I recommend starting with C.


Why we need to learn about programming?

  • Ans is computer understand the binary language but we are not. So there is a middle language like c
  • works like translator .we write instruction in our language and then it is translated into computer language.
  • programming area really very dumb machine indeed because they do only what they are told to do, most computer systems perform their operation on a very primitive level.
  • for example, most computers are know how to add one to a number or how to test whether a number is equal to zero.the sophistication of this basic operation usually does not go much further than that. the basic operations of a computer system from what is known as the computer's instruction set.
  • To solve the problem using a computer you must express the solution to the problem in the terms of the instruction of the particular computer.A computer program is just a collection of instruction necessary to solve a specific problem.the approach or methods that are used to solve the problem is known as an algorithm.
What Is C?
  • C is a programming language. The C language was first developed in 1972 by Dennis Ritchie at AT&T Bell Labs. Ritchie called his newly developed language C simply because there was a B programming language already. (As a matter of fact, the B language led to the development of C).
  •  C is a middle-level programming language. In fact, C is one of the most popular general-purpose programming languages.

 Why C is called middle-level language? 

  • C is called middle-level language because Syntax and keywords of C are just like higher level language (English). It gives advantages of middle-level language through function, modular programming, and breakup. It gives access to the low-level memory through Pointers. Moreover,  it does support the Low-Level programming i.e., Assembly Language. We can develop application-specific programs in C and at the same time we can use features of assembly level language to give more speed and efficiency It is not hardware or system dependent. Hence portable programs can be written with C compiler.
  • Many languages are implemented in C because it's a ubiquitous language, and compiler-writing tools like lexer-parser generators (such as yacc and bison) are well-understood and almost as ubiquitous.
  • But C itself couldn't originally be developed in C when it was first created. It was, in fact, originally developed using the "B" language. Earlier languages (like Fortran) were usually bootstrapped using a native assembly language or even machine code long before C ever existed.
A Brief History of C:
  • C was invented and first implemented by Dennis Ritchie on a DEC PDP-11 that used the Unix operating system. C is the result of a development process that started with an older language called BCPL. BCPL was developed by Martin Richards, and it influenced a language called B, which was invented by Ken Thompson. B led to the development of C in the 1970s.
  • During the 1990s, the development of the C++ standard consumed most programmers' attention. However, work on C continued quietly along, with a new standard for C being developed. The end result was the 1999 standard for C, usually referred to as C99. In general, C99 retained nearly all of the features of C89. Thus, C is still C! The C99 standardization committee focused on two main areas: the addition of several numeric libraries and the development of some special-use, but highly innovative, new features, such as variable-length arrays and the restrict pointer qualifier. These innovations have once again put C at the forefront of computer language development.

Define Program:
  • A set of instruction in a logical order to perform a meaningful task is called program. 
Define Software:
  • A set of instruction in a logical order to perform a meaningful task is called program, the program is called software. the software is a collection of a set of program.In software are program is dependent on each other.

Define Assembler:

  • Assembler is system software which converts programs of assembly language to machine language.Assembly language is low-level language.

Define Compiler:

  • It translates programs of higher level language to machine language. It converts the whole program at a time.

Define Interpreter: 

  • It translates programs of higher level language to machine language. It converts program line by line.If there is an error occur on interpretation time then the interpreter will stop on that error.

Topics :


ForAny Kind of query, doubt, And Error live message in cybersquad App . You will get full-time support.I will reply back within an hour.

6 comments:

Cybercry 2018. Powered by Blogger.

Popular Posts