19-01-2023 1
Introduction to C
What is Language?
The system of sounds and writing that human beings use to express their thoughts, ideas and
feelings
What is Computer Language?
To communicate with the computers, we need some languages. These are computer
languages.
In technical language is a way of communicating with machine, also, in the form of sets of
instructions
There are mainly three different languages with the help of which we can develop computer
programs. And they are –
• Machine Level language – in the form binary form of 1 and 0s
• Assembly Level Language – in the form of mnemonics and symbols e.g. ADD A
• High Level Language - are like English-like language
What is C?
• C Programming is a powerful, high-level language used for developing computer
applications.
• C is a general-purpose, procedural programming language developed in 1972 by Dennis
Ritchie at Bell Labs.
• It is a procedural language, meaning it follows a set of instructions, and is also widely
used in professional settings.
• It is used to create software such as operating systems, web browsers, and games.
• C is a great language for beginners to learn, as it is relatively easy to understand and use.
• It is also highly portable, meaning it can be compiled and run on many different types of
computers.
Why C?
• C has a simple syntax that is easy to learn. It supports a wide range of data types and
uses variables, operators, and control statements. It also supports structures and
functions.
• C is a versatile language that allows developers to use standard libraries and
development tools to build applications.
• C is a popular language that has been used for decades. Its efficiency and speed make it
ideal for developing high-performance applications.
Why C Still Useful?
• C provides:
• Efficiency, high performance and high quality s/ws
• flexibility and power
• many high-level and low-level operations -Y middle level
• Stability and small size code
• Provide functionality through rich set of function libraries
• Gateway for other professional languages like C, C++, Java
• C is used:
• System software Compilers, Editors, embedded systems
• Data compression, graphics and computational geometry, utility programs
• Databases, operating systems, device drivers, system level routines there are zillions of
lines of C legacy code
• Also used in application programs
Who Uses C?
• Linux is in C
• MySQL, Apache, NGNIX
• Most of OS is in CPP
• Most of the Games are in C language
How many applications we can develop?
• Standalone Application
• Web Application
How many applications we can develop?
• Standalone Application
Standalone software may refer to:
1.Computer software that can work offline, i.e. does not necessarily require network
connection to function
2.A program that is run as a separate computer process, not an add-on of an existing process
3.Standalone program, a program that does not require operating system's services to run
E.g. Chrome, MS office, VLC, etc
• Web Application
• A Web application (Web app) is an application program that is stored on a remote server
and delivered over the Internet through a browser interface. Web apps don’t need to be
installed.
• IRCTC, Banking Websites, Amazon
What is Compiler?
• The compiler is software that converts a program written in a high-level language (Source
Language) to a low-level language (Object/Target/Machine Language/0’s, 1’s).
First C program?
First C program?
First C program?
First C program?
First C program?
THANK YOU

Day 1 - Introduction to C.pptx

  • 1.
  • 2.
    What is Language? Thesystem of sounds and writing that human beings use to express their thoughts, ideas and feelings
  • 3.
    What is ComputerLanguage? To communicate with the computers, we need some languages. These are computer languages. In technical language is a way of communicating with machine, also, in the form of sets of instructions There are mainly three different languages with the help of which we can develop computer programs. And they are – • Machine Level language – in the form binary form of 1 and 0s • Assembly Level Language – in the form of mnemonics and symbols e.g. ADD A • High Level Language - are like English-like language
  • 4.
    What is C? •C Programming is a powerful, high-level language used for developing computer applications. • C is a general-purpose, procedural programming language developed in 1972 by Dennis Ritchie at Bell Labs. • It is a procedural language, meaning it follows a set of instructions, and is also widely used in professional settings. • It is used to create software such as operating systems, web browsers, and games. • C is a great language for beginners to learn, as it is relatively easy to understand and use. • It is also highly portable, meaning it can be compiled and run on many different types of computers.
  • 5.
    Why C? • Chas a simple syntax that is easy to learn. It supports a wide range of data types and uses variables, operators, and control statements. It also supports structures and functions. • C is a versatile language that allows developers to use standard libraries and development tools to build applications. • C is a popular language that has been used for decades. Its efficiency and speed make it ideal for developing high-performance applications.
  • 6.
    Why C StillUseful? • C provides: • Efficiency, high performance and high quality s/ws • flexibility and power • many high-level and low-level operations -Y middle level • Stability and small size code • Provide functionality through rich set of function libraries • Gateway for other professional languages like C, C++, Java • C is used: • System software Compilers, Editors, embedded systems • Data compression, graphics and computational geometry, utility programs • Databases, operating systems, device drivers, system level routines there are zillions of lines of C legacy code • Also used in application programs
  • 7.
    Who Uses C? •Linux is in C • MySQL, Apache, NGNIX • Most of OS is in CPP • Most of the Games are in C language
  • 8.
    How many applicationswe can develop? • Standalone Application • Web Application
  • 9.
    How many applicationswe can develop? • Standalone Application Standalone software may refer to: 1.Computer software that can work offline, i.e. does not necessarily require network connection to function 2.A program that is run as a separate computer process, not an add-on of an existing process 3.Standalone program, a program that does not require operating system's services to run E.g. Chrome, MS office, VLC, etc • Web Application • A Web application (Web app) is an application program that is stored on a remote server and delivered over the Internet through a browser interface. Web apps don’t need to be installed. • IRCTC, Banking Websites, Amazon
  • 10.
    What is Compiler? •The compiler is software that converts a program written in a high-level language (Source Language) to a low-level language (Object/Target/Machine Language/0’s, 1’s).
  • 11.
  • 12.
  • 13.
  • 14.
  • 16.
  • 17.