Professional Documents
Culture Documents
Fundamentals
Lecture # 1
books+make groups
Problem Solving
Problem?...obstacle, difficultyneeds to be solved
P.solving is process of finding a best solution for it.
P.solving is a skill that can be developed
we solve different problems every day..easy and difficult(more
time and attention)
different strategies, techniques and tools are used to solve a
problem
computers are used as tools to solve complex problems by
developing programs
program contain diffrent instructions for computer
Programmer writes instructions and computer executes theses to
solve prob..
A good problem solver can be a good programmer
Program
Set of instructions that tells a computer what to do is called a
program
program
Algorithms and pseudocode
An algorithm is a step-by-step procedure to solve a problem
algorithm makes problem simpler and easier
It is better to write an algorithm before writing an actual
computer program
properties
given problem should be broken down into simple+meaningful steps
Steps should be numbered sequentially
Steps should be descriptive and written in simple english
Pseudo code
algorithms are written in a language that is similar to simple english
called psuedo code
Examples of algorithms.
Programming Languages
A set of words, symbols and codes used to write programs is
Types
Low-Level Languages
High-Level Languages
Low-Level Languages
Near to computer hardware and far from human languages
Machine Languages
Assembly Language
Machine Language
Instructions are written in binary form
subtrctn)
BASIC
COBOL
PASCAL
C
Object Oriented Languages
C++
Summary