Professional Documents
Culture Documents
Electromechanical Engineering Faculty of Engineering Somali National University Course Name: Elementary Programing Concept Course Code: EPC 2309
Electromechanical Engineering Faculty of Engineering Somali National University Course Name: Elementary Programing Concept Course Code: EPC 2309
Electromechanical Engineering Faculty of Engineering Somali National University Course Name: Elementary Programing Concept Course Code: EPC 2309
Faculty of Engineering
Somali National University
Abdikadir Yusuf
February 17, 2020
Lecturer Outline
OVERVIEW
What is Programming Language?
Types of Programming Languages
What is C?
History of C
Facts about C
Why Use C?
Why Mechanical & Electrical Engineering need programing
language?
What is Programming Language?
Program A set of coded instructions that a computer can understand to solve a problem or
produce a desired result.
Programming languages are mainly used to control the performance of a machine or to express
algorithms.
Types of Programming Languages
Procedural Programming Language
The procedural programming language is used to execute a sequence of statements
which lead to a result. Typically, this type of programming language uses multiple
variables, heavy loops and other elements.
These programming languages are often procedural and may comprise object-
oriented language elements, but they fall into their own category as they are
normally not full-fledged programming languages with support for development of
large systems.
These types of languages let programmers make declarative statements and then
allow the machine to reason about the consequences of those statements. In a sense,
this language doesn’t tell the computer how to do something, but employing
restrictions on what it must consider doing.
What is C?
C is a computer programming language. That means that you can use C to create lists of
instructions for a computer to follow. C is one of thousands of programming languages
currently in use.
History of C
C was originally designed for and implemented on the UNIX operating system on the DEC PDP-ll, by Dennis
Ritchie.
C is the result of a development process that started with an older language called BCPL. BCPL was developed by
Martin Richards, and it influenced a language called B, which was invented by Ken Thompson. B led to the
development of C in the 1970s.
In 1978, Brian Kernighan and Dennis Ritchie produced the first publicly available description of C.
Many of the ideas of C language were derived and taken from 'B' language.
Basic Combined Programming Language (BCPL) and Combined Programming Language (CPL) are previous
versions of 'B'
language.
• The language was formalized in 1988 by the American National Standard Institute
(ANSI).
• Today C is the most widely used and popular System Programming Language.
• Today's most popular Linux OS and RDBMS MySQL have been written in C.
Why Use C?
C was initially used for system development work, particularly the programs
that make-up the operating system.