100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Intro To Programming Week 1 $5.79   Add to cart

Class notes

Intro To Programming Week 1

 2 views  0 purchase
  • Course
  • BCSC 1102
  • Institution
  • BCSC 1102

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 Integrate...

[Show more]

Preview 2 out of 6  pages

  • October 15, 2024
  • 6
  • 2024/2025
  • Class notes
  • Dr. shem mbandu angolo, phd
  • All classes
  • BCSC 1102
  • BCSC 1102
avatar-seller
JOHNSON22
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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller JOHNSON22. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $5.79. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

77254 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$5.79
  • (0)
  Add to cart