Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

C programming Lecture 1

Rating
-
Sold
-
Pages
1
Uploaded on
16-05-2023
Written in
2022/2023

C programming course

Institution
Course

Content preview

In this course, we will be discussing programming in C language. In this first video, we will cover some ba
sic concepts such as the need for programming, programming languages, and how to write programs in C
language.

The Need for Programming
Computers are general-purpose machines that can perform any computational task. However, they can o
nly understand instructions in binary language, which is a combination of 0s and 1s. To communicate with
a computer, we need to write a sequence of instructions or a program. Programs are essential for compu
ters to perform specific tasks.

Programming Languages
Since computers can only understand instructions in binary language, we need programming languages t
hat can translate human-readable code to computer-readable code. Programming languages have their o
wn set of rules, syntaxes, and characters, which we need to learn before writing programs. High-level lan
guages such as C, C++, and Java are more understandable to humans than low-level languages such as
machine language and assembly language.

C Language
C language was developed by Dennis Ritchie in 1972 at Bell Laboratories. It is a high-level programming l
anguage that is widely used in system programming, embedded systems, and operating systems. C lang
uage allows for portability, which means that programs written in C can run on different machines without
modification.

The Development of C Language
C language is considered the successor of B language and was developed by Ken Thompson. Its main p
urpose was to write the kernel of the Unix operating system since the limitations of B language required a
more powerful language. C is a system programming language used in developing various software and o
perating systems such as Oracle, Android, web browsers, and device drivers. It became the most popular
programming language in the 1980s and was standardized by ANSI in 1989, hence the name ANSI C.

How C Language Works
Unlike machine-level language, C language needs to be converted into object code using a compiler. The
program is written with a .c extension and is converted into an object file which contains machine-level co
de. The CPU runs the program after the linker and loader have converted it into an executable file. The co
mplete process of execution is discussed in a separate video. C language can also be interpreted, but the
difference will be discussed in another video.

Written for

Course

Document information

Uploaded on
May 16, 2023
Number of pages
1
Written in
2022/2023
Type
Class notes
Professor(s)
Shubh dubey
Contains
All classes

Subjects

$3.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
shobhitdubey

Get to know the seller

Seller avatar
shobhitdubey own
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions