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

programming language

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

class notes for everyone

Institution
Course

Content preview

Introduction to Programming and C Language
In this course, we will be discussing programming in C language.
we will cover some basic 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 only 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 computers to perform specific tasks.

Programming Languages
Since computers can only understand instructions in binary language,
we need programming languages that can translate human-readable code to computer-
readable code.
Programming languages have their own set of rules, syntaxes, and characters, which
we need to learn before writing programs. High-level languages 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 language that is widely used in system programming,
embedded systems, and operating systems.
C language 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 purpose 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
operating 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 code.
The CPU runs the program after the linker and loader have converted it into an
executable file.

Written for

Course

Document information

Uploaded on
May 12, 2023
Number of pages
1
Written in
2022/2023
Type
Class notes
Professor(s)
Computer science
Contains
All classes

Subjects

$5.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
hakamsingh

Get to know the seller

Seller avatar
hakamsingh punjabi universty jaito
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