Fundamentals of C (PPT-1)
Fundamentals of C (PPT-1)
(Fundamentals of C)
By :
Ms.Inderpreet Kaur
AP, BCA
1
Common Terms
Computer
Hardware
Software
Operating System
Language
Computer language
Computer language is the medium of communication between
man and the machine (computer).This communication is stored in
the form of programs written in a particular programming
language often called computer language.
Computer programming languages allow us to give instructions
to a computer in a language the computer understands.
What is a programming language?
A programming language is a vocabulary and set of grammatical
rules for instructing a computer to perform specific tasks. The
term programming language usually refers to high level languages,
such as BASIC, C, C++, JAVA,COBOL, ADA & PASCAL. Each
language has a unique set of keywords (words that it understands)
and a special syntax for organizing program instructions.
Why we need of programming language?
The programming language enables
us to write efficient programs and
develop online solutions such as- mobile
applications, web applications, and
games, etc
History of ‘C’
C language was first developed in 1972 by
Dennis Ritchie at bell laboratories of AT&T
(American Telephone & Telegraph), located in
the U.S.A. It was developed to overcome the
problems of previous languages such as B,
BCPL,
BCPL
etc.B
Founder
derived of C
6
What is C language??
C programming is considered as the base for
other programming languages, that is why it
is known as mother language.
It can be defined by the following
language in industry.
C is one of the most commonly used
programming languages in colleges and
universities.
C is the base for almost all popular programming
languages
5
Application of C Programming
List of Application
Operating Systems
Network Drivers
Compilers
Assemblers
Text Editors
Language Interpreters
Simulators
Embedded System
Which level is C language
belonging to ?
There are 3 types of languages:
1. High level languages
2. Middle level language //C is middle level language
3. Low level languages
A Low-level language is specific to one machine, i.e.,
machine dependent. It is machine dependent, fast to run. But
it is not easy to understand.
A High-Level language is not specific to one machine, i.e.,
1. Simple
2. Machine Independent or Portable
3. Mid-level programming language
4. structured programming language
5. Rich Library
6. Memory Management
7. Fast Speed
8. Pointers
9. Recursion
10. Extensible
Contd…(Features of C
Language)
1) Simple - C is a simple language in the sense that it provides
a structured approach (to break the problem into parts), the
rich set of library functions, data types, etc.