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

Fundamentals of C Programming: Program Structure, Selection, and Repetition Control Constructs

Rating
-
Sold
-
Pages
49
Uploaded on
05-12-2025
Written in
2025/2026

This document provides a comprehensive introduction to the C programming language, covering its history, structure, essential syntax, and the major control structures used in programming. It begins with the historical development of C, explains how C programs are written and executed, and introduces key concepts such as memory usage, variables, and arithmetic operations.

Show more Read less
Institution
Course

Content preview

COMPUTER
PROGRAMMING
Introduction to C

,Objectives
• To discuss:
• 1. The Historical Background of C
• 2. The C program format
2.1 Memory concepts
2.2 Arithmetic in C
• 3. Control Structures
3.1 if selection statement
3.2 if-else selection statement
3.3 Switch multiple selection statement
3.4 While repetition statement
• 4. Assignment Operators

,1. THE HISTORICAL BACKGROUND
OF C
• C evolved from two previous languages, BCPL and B.
• BCPL was developed in 1967 by Martin Richards as a language for
writing operating systems and compilers.
• Ken Thompson modeled many features in his B language after the
counterparts in BCPL.
• In 1970, Thompson used B to create early versions of the UNIX
operating system at Bell Laboratories.
• The C language evolved from B by Dennis Ritchie at Bell Laboratori
and was originally implemented in 1972.

,• C initially became widely known as the development language of th
UNIX operating system.
• Many of today’s leading operating systems are written in C and/or
+.
• C is mostly hardware independent—with careful design, it’s possib
to write C programs that are portable to most computers.
• C is widely used to develop systems that demand performance, suc
as operating systems, embedded systems, real-time systems, and
communications systems

,• By the late 1970s, C had evolved into what’s now referred to as “tradition
C.”
• The publication in 1978 of Kernighan and Ritchie’s book, The C Programm
Language, drew wide attention to the language.
• This became one of the most successful computer science books of all tim
• Standardization The rapid expansion of C over various types of computer
(sometimes called hardware platforms) led to many variations that were
similar but often incompatible.
• This was a serious problem for programmers who needed to develop cod
that would run on several platforms.

, • It became clear that a standard version of C was needed.
• In 1983, the X3J11 technical committee was created under the American
National Standards Committee on Computers and Information Processing
to “provide an unambiguous and machine-independent definition of the
language.”
• In 1989, the standard was approved as ANSI X3.159-1989 through the
American National Standards Institute (ANSI), then worldwide through the
International Standards Organization (ISO). We call this simply Standard C.
• This standard was updated in 1999.
• We also introduce the new C standard (referred to as C11), which was
approved as this book went to publication around 2012.

Written for

Institution
Course

Document information

Uploaded on
December 5, 2025
Number of pages
49
Written in
2025/2026
Type
Class notes
Professor(s)
Mr.bakari
Contains
All classes

Subjects

$12.99
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
dawncurry

Get to know the seller

Seller avatar
dawncurry Technical University of Mombasa
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
5 months
Number of followers
0
Documents
2
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