Introduction to Programming
Agenda
HOW DOES COMPUTING HAPPEN?
Computing - Under the Hood
It is all binary!
But….
Humans do not speak BINARY!
HIGH-LEVEL PROGRAMMING LANGUAGES
High Level Languages (HLL)
Some Popular High Level Languages
Classes of Languages
LIFE CYCLE OF A C PROGRAM
Life Cycle of a C Program
HLL Instructions
Compile
Link
Execute
Programmer
Compiler
Linker
Operating System
Compilation
Syntax checking
Conversion to object file
Compiler
Linking
Re-use
Writing a program that is self-contained for doing EVERYTHING is tedious
Programmers use pre-created “libraries” for implementing routing tasks
Linking
Linking is the process of integrating external programs that provide these reusable functions
A LINKER takes a set of object files as input and produces an executable as output
Execution
The operating system can now execute the “executable file”
Summary
Life Cycle
HLL Instructions
Compile
Link
Execute
Programmer
Compiler
Linker
Operating System
WHAT WE WILL EXPLORE
About the C Language
Very Powerful Features