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
Document preview thumbnail
Preview 2 out of 6 pages
Class notes

Intro To Programming Week 1

Document preview thumbnail
Preview 2 out of 6 pages

Intro To Programming Week 1 Contents 1 History of C Programming Language 2 1.1 Origins and Development 2 1.2 Standardization 2 2 Overview of C Language Features and Applications 2 2.1 Key Features 2 2.2 Applications 3 3 Setting Up the Programming Environment (IDE, Compiler) 3 3.1 Integrated Development Environment (IDE) 3 3.2 Compilers 4 3.3 Setting Up 4 4 Writing and Running Your First C Program (Hello World) 5 4.1 Writing Your First Program 5 4.2 Compiling and Running 5

Content preview

BCSC 1102 : Intro To Programming Week 1
Dr. Shem Mbandu Angolo, PhD

The Co-operatetive University of Kenya
September - December 2024


Contents
1 History of C Programming Language 2
1.1 Origins and Development . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Standardization . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

2 Overview of C Language Features and Applications 2
2.1 Key Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2.2 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

3 Setting Up the Programming Environment (IDE, Compiler) 3
3.1 Integrated Development Environment (IDE) . . . . . . . . . . . . 3
3.2 Compilers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.3 Setting Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

4 Writing and Running Your First C Program (Hello World) 5
4.1 Writing Your First Program . . . . . . . . . . . . . . . . . . . . . 5
4.2 Compiling and Running . . . . . . . . . . . . . . . . . . . . . . . 5




1

, 1 History of C Programming Language
1.1 Origins and Development
• 1969-1973: C programming language was developed by Dennis Ritchie
at AT&T Bell Labs.
• Influence: Derived from the B language, which was influenced by BCPL
(Basic Combined Programming Language).
• Purpose: Initially created for system programming for the Unix operat-
ing system, allowing Unix to be ported to different computers.
• K&R C: The first edition of ”The C Programming Language” by Brian
Kernighan and Dennis Ritchie, published in 1978, became known as K&R
C.

1.2 Standardization
• 1983: ANSI (American National Standards Institute) established a com-
mittee to standardize C.
• 1989: The ANSI C standard, known as ANSI X3.159-1989 or C89.

• 1990: ISO (International Organization for Standardization) adopted it as
ISO/IEC 9899:1990, also known as C90.
• 1999: An updated version known as C99 introduced new features like
inline functions, variable-length arrays, and new data types.

• 2011: C11 standard introduced multi-threading support, improved Uni-
code support, and other enhancements.
• 2018: C18 (or C17) included minor revisions and bug fixes to C11.


2 Overview of C Language Features and Appli-
cations
2.1 Key Features
• Portability: C programs can run on different types of computers with
little or no modification.
• Efficiency: C provides low-level access to memory and system processes,
which allows for highly efficient programs.
• Flexibility: C supports both high-level and low-level programming, mak-
ing it suitable for a variety of applications.



2

Document information

Uploaded on
October 15, 2024
Number of pages
6
Written in
2024/2025
Type
Class notes
Professor(s)
Dr. shem mbandu angolo, phd
Contains
All classes
$6.29

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

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
JOHNSON22
3.0
(2)
Sold
16
Followers
10
Items
768
Last sold
1 year ago


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