C Programming Introduction
C Programming Introduction
Introduction to C Programming
1. What are the basic skills you need in order to understand C Programming?
2. Make an outline for the facts that you have learned from this video.
- A computer will perform a task through write a sequence of instructions and give it
to computer and it's called Programs.
- If you write letters, computer will not understand because computer can understand
only 0 and 1.
• System Programs
• Application Programs/Softwares
• C Language
Interpreter - main task is to convert the program, high level program into object code
-- > computer will understand program, first that program must be converted to
machine code, 0 & 1 and CPU will execute task.
2. Make an outline for the facts that learned from this video.
1. Machine Language
- close to hardware
- it's machine oriented
- a broad knowledge of the configuration and architecture of computer system
and architecture of CPU is much needed to be able to write a program in machine
language
- CPU/Processor is responsible to do the task and then get the output
- architecture of CPU's are different.
- machine languag is dependent on computer architecture
- to write any programming machine code, the knowledge of specification and
architecture of process is required like writing instruction in 20 or 32 bites
2. Assembly Language
- can use numbers and symbols and it's called Nimonics
- to write “+”, just write “ADD”
- readable by humans
- strong binding with machine language
- for each instruction written in machine langu, it is 1 to 1 correspondence with
machine code
- there's a program (ADD, SUB, Move) written in assembly language, the first
task to be converted into machine code and It's converted by Assembler.
- Assembler will generate a machine code corresponding to this program
- dependent on machine or computer architecture
- every assemly language is designed specifically for a specific computer
architecture
- hardware --> machine language --> assembly language