0% found this document useful (0 votes)
16 views

Intro To C P

This document introduces programming languages and differentiates between low-level and high-level languages. It discusses that low-level languages like machine code correspond directly to binary, while high-level languages are written by programmers and compiled into machine code. C is presented as a basic but widely used high-level programming language, originally developed in 1972 and based on an earlier language called B.

Uploaded by

aini212
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Intro To C P

This document introduces programming languages and differentiates between low-level and high-level languages. It discusses that low-level languages like machine code correspond directly to binary, while high-level languages are written by programmers and compiled into machine code. C is presented as a basic but widely used high-level programming language, originally developed in 1972 and based on an earlier language called B.

Uploaded by

aini212
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Introduction to C Programming

To differentiate level of language for machine application. To introduce programming language.

What is this?

.... and this?

What are the different?

Low-level Language High-level Language

Low-level Language
A machine language which corresponds to machine codes binary numbers. To give instruction to the machine.

High-level Language
A programming language / compiler language which is written by programmer. The program is written and translated by a compiler to the equivalent machine codes.

Machine Language VS Programming Language


Using machine code directly very easy to make mistakes. Interaction between human and machine less mistakes.

Machine Language VS Programming Language


Applied in general purpose equipments toaster, coffee maker, iron. Applied in dedicated purpose machines ATM machine, parking ticket dispenser (interactive machine / kiosk)

What is a program?
A set of instructions to instruct a machine to perform specific tasks A program is written in a programming language program codes.

Programming Language
Example: C++, Java, Pascal, etc. Basic programming language C Language.

C Language
Developed by Dennis Ritchie at Bell Laboratories in 1972. Based on a programming language called B. Widely used to develop many type of application software and system.

Using Terms
Low-level language High-level language Program C Language

Next - Using Terms


Variable Data type Variable name Data specifier

You might also like