Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

Computer Programming

CS 101

Dr. Daya Sagar Gupta

Department of CSE, RGIPT Jais

DS Gupta (RGIPT Jais) Computer Programming 1/6


Lecture No. - 3

DS Gupta (RGIPT Jais) Computer Programming 2/6


Computer Programming

Linux

Linux is an open source operating system (OS).


An operating system is the software that directly manages a system’s hardware
and resources, like CPU, memory, and storage.
The OS sits between applications and hardware and makes the connections
between all of your software and the physical resources that do the work.
Linux was designed to be similar to UNIX, but has evolved to run on a wide
variety of hardware from phones to supercomputers.
Every Linux-based OS involves the Linux kernel—which manages hardware re-
sources—and a set of software packages that make up the rest of the operating
system.
Linux distributions: LINUX MINT, MANJARO, DEBIAN, UBUNTU, AN-
TERGOS, SOLUS, FEDORA, ELEMENTARY OS, OPENSUSE

DS Gupta (RGIPT Jais) Computer Programming 3/6


Computer Programming

Linux

Linux is an open source operating system (OS).


An operating system is the software that directly manages a system’s hardware
and resources, like CPU, memory, and storage.
The OS sits between applications and hardware and makes the connections
between all of your software and the physical resources that do the work.
Linux was designed to be similar to UNIX, but has evolved to run on a wide
variety of hardware from phones to supercomputers.
Every Linux-based OS involves the Linux kernel—which manages hardware re-
sources—and a set of software packages that make up the rest of the operating
system.
Linux distributions: LINUX MINT, MANJARO, DEBIAN, UBUNTU, AN-
TERGOS, SOLUS, FEDORA, ELEMENTARY OS, OPENSUSE

DS Gupta (RGIPT Jais) Computer Programming 3/6


Computer Programming

Linux

Linux is an open source operating system (OS).


An operating system is the software that directly manages a system’s hardware
and resources, like CPU, memory, and storage.
The OS sits between applications and hardware and makes the connections
between all of your software and the physical resources that do the work.
Linux was designed to be similar to UNIX, but has evolved to run on a wide
variety of hardware from phones to supercomputers.
Every Linux-based OS involves the Linux kernel—which manages hardware re-
sources—and a set of software packages that make up the rest of the operating
system.
Linux distributions: LINUX MINT, MANJARO, DEBIAN, UBUNTU, AN-
TERGOS, SOLUS, FEDORA, ELEMENTARY OS, OPENSUSE

DS Gupta (RGIPT Jais) Computer Programming 3/6


Computer Programming

Linux

Linux is an open source operating system (OS).


An operating system is the software that directly manages a system’s hardware
and resources, like CPU, memory, and storage.
The OS sits between applications and hardware and makes the connections
between all of your software and the physical resources that do the work.
Linux was designed to be similar to UNIX, but has evolved to run on a wide
variety of hardware from phones to supercomputers.
Every Linux-based OS involves the Linux kernel—which manages hardware re-
sources—and a set of software packages that make up the rest of the operating
system.
Linux distributions: LINUX MINT, MANJARO, DEBIAN, UBUNTU, AN-
TERGOS, SOLUS, FEDORA, ELEMENTARY OS, OPENSUSE

DS Gupta (RGIPT Jais) Computer Programming 3/6


Computer Programming

Linux

Linux is an open source operating system (OS).


An operating system is the software that directly manages a system’s hardware
and resources, like CPU, memory, and storage.
The OS sits between applications and hardware and makes the connections
between all of your software and the physical resources that do the work.
Linux was designed to be similar to UNIX, but has evolved to run on a wide
variety of hardware from phones to supercomputers.
Every Linux-based OS involves the Linux kernel—which manages hardware re-
sources—and a set of software packages that make up the rest of the operating
system.
Linux distributions: LINUX MINT, MANJARO, DEBIAN, UBUNTU, AN-
TERGOS, SOLUS, FEDORA, ELEMENTARY OS, OPENSUSE

DS Gupta (RGIPT Jais) Computer Programming 3/6


Computer Programming

Integrated Development Environment (IDE)

An integrated development environment (IDE) is a software application that


provides comprehensive facilities to computer programmers for software devel-
opment.
An IDE normally consists of at least a source code editor, build automation
tools and a debugger.
Some IDEs are CodeBlock, NetBeans, Eclipse, SharpDevelop and Lazarus.

DS Gupta (RGIPT Jais) Computer Programming 4/6


Computer Programming

Integrated Development Environment (IDE)

An integrated development environment (IDE) is a software application that


provides comprehensive facilities to computer programmers for software devel-
opment.
An IDE normally consists of at least a source code editor, build automation
tools and a debugger.
Some IDEs are CodeBlock, NetBeans, Eclipse, SharpDevelop and Lazarus.

DS Gupta (RGIPT Jais) Computer Programming 4/6


Computer Programming

Integrated Development Environment (IDE)

An integrated development environment (IDE) is a software application that


provides comprehensive facilities to computer programmers for software devel-
opment.
An IDE normally consists of at least a source code editor, build automation
tools and a debugger.
Some IDEs are CodeBlock, NetBeans, Eclipse, SharpDevelop and Lazarus.

DS Gupta (RGIPT Jais) Computer Programming 4/6


Computer Programming

Programming language C

C is a programming language developed at AT & T’s Bell Laboratories of USA


in 1972.
It was designed and written by a man named Dennis Ritchie.
C seems so popular is because it is reliable, simple and easy to use.

DS Gupta (RGIPT Jais) Computer Programming 5/6


Computer Programming

Programming language C

C is a programming language developed at AT & T’s Bell Laboratories of USA


in 1972.
It was designed and written by a man named Dennis Ritchie.
C seems so popular is because it is reliable, simple and easy to use.

DS Gupta (RGIPT Jais) Computer Programming 5/6


Computer Programming

Why to learn C over C++, C#, Java? I

You would need a good hold over the language elements of C and the basic
programming skills. So it makes more sense to first learn C and then migrate
to C++, C# and Java.
Major parts of popular operating systems like Windows, UNIX, Linux and An-
droid are written in C. This is because even today when it comes to performance
(speed of execution) nothing beats C. Moreover, if one is to extend the operat-
ing system to work with new devices one needs to write device driver programs.
These programs are exclusively written in C.
Mobile devices like Smartphones and Tablets have become rage of today. Also,
common consumer devices like microwave ovens, washing machines and digital
cameras are getting smarter by the day. This smartness comes from a micro-
processor, an operating system and a program embedded in these devices.
These programs not only have to run fast but also have to work in limited
amount of memory. No wonder that such programs are written in C. With
these constraints on time and space, C is the language of choice while building
such operating systems and programs.

DS Gupta (RGIPT Jais) Computer Programming 6/6


Computer Programming

Why to learn C over C++, C#, Java? II

At times one is required to very closely interact with the hardware devices.
Since C provides several language elements that make this interaction feasible
without compromising the performance, it is the preferred choice of the pro-
grammer.

DS Gupta (RGIPT Jais) Computer Programming 7/6

You might also like