Lec 1 Week 1
Lec 1 Week 1
FUNDAMENTALS
LAB
Umer Ahmad..
Lecture 1
Week 1
Recommended books
books
links https://faculty.ksu.edu.sa/sites/default/files/ObjectOrientedPro
gramminginC4thEdition.pdf
https://bukharibooks.com/product/c-how-to-program-8th-deitel/
Course Content
• Introduction
• Arithmetic operators
• Logical operators
• Conditional operators
• Conditional statements
• If
• If else
• If else if
• Switch
• Loops
• Types of loops
Arrays
Types of arrays
1 d array
Importance of Course
•Acomputer is a device that can perform computations and make
logical decisions faster than human beings can.
What is Computer?
What is Computer Program?
•A program is a set of instruction in proper
sequence, that causes a computer to
perform a particular task.
• Theseprograms guide the computer
through orderly sets of actions specified by
people called computer programmers.
• The programs that run on a computer are
referred to as software.
Computer Program (software)
Software Development
Why Programming?
Most
Our civilization engineering
Programming is
runs on activities
important are:
software: involve
software.
Machine Dependent
Assembly Languages
Use Naturally
It is a low level understandable Example: Load
language. symbols called 3, Load 4, Add
“Mnemonics”
It works
Assemblers are
directly with
used as
microprocessor
interpreter.
.
• Assemblylanguage is intermediate
between high level language and
machine code.
High Level Languages
Use naturally understand Compilers are used as IDE’s are used for rapid
language. interpreter development like C++, .NET
environment, Visual Basic and
Visual C++
Procedura
Procedural programming is a list or set
of instructions telling a computer what
to do step by step and how to perform
• Application Software
Features of C++
Huge
Case Object Function Modularit
Simple Sensitive Oriented Library y Powerful