Coding Basics 2
Coding Basics 2
Coding Basics 2
BASICS 2
Meziane Dahou
Goals
● What is coding ?
● What is algorithm ?
● A program components .
● Types of programming languages .
● How programs work ?
● Coding fields .
● Work as programmers .
Programming
Programming is the process of creating
software, applications, and websites using
programming languages. These languages
allow developers to communicate with
computers and machines, telling them
what to do and how to do it.
Program
It is a set of instructions or commands that perform a
specific task that is operated by computer machine
Example
● Computer game .
● Calculator .
● Program reading credit card of the ATM .
● Program of controlling the Air conditioner .
Programming language
Automation Innovation
Stay up-to-date on
Network and
the latest
opportunities
technologies
Coding community from 2021
What is a
programming language ?
Functio
ns Comments
c C o n d itions
et i
Arithm
Loop
s
Algorithm
Program
components
Program
Inputs Outputs
Loo
Algorithm ps
Variable
It is an address stored in memory and is linked to a specific
name and contains a specific value that may be simple
(number, letter, text) or complex.
example :
a=12
The variable a holds the number 12.
Variable
We use a variable and perform several operations on it,
with or without the need to know the value it holds
Example
a<=12
b<=1
c<=a+b
Here we have combined the values of variables a and b into
variable c, meaning the value of c is currently 13.
Instructions
It is a command that is presented to the processor to perform a
specific operation, whether mathematical or logical...
Example :
print(“Hello world”);
Calculator program:
● Inputs : buttons (digital or mechanical ) .
● Outputs : screen .
Example
Example :
sum=(Note_Maths+Note_Physic)/2+Note_bac*2;
moy=sum/3;
print(moy);
Conditions
Condition
False True
Instructions A Instructions B
Conditions
Monitor
RAM
What is a good program ?
Program 1 : Program 2 :
- 50 line . - 100 line .
memory memory
● Automation tests .
● Ui tests .
● Functional tests .
● Debugging .
4-Performance
اﻟﻌﻤﻞ ﻛﻤﱪﻣﺞ
3B $ offered by
facebook in 2013
$50 billion in
October 2020
1B $ selt to
facebook in 2012
1 Trillion dollars
CS
Fields
Artificial
intelligence
AI focuses on creating
intelligent agents or systems
that can mimic human
cognitive functions, such as
learning, problem-solving, and
decision-making.
Software
development
Cybersecurity focuses on
protecting computer systems,
networks, and data from
unauthorized access, attacks,
and breaches. It includes threat
analysis, encryption, network
security, and ethical hacking.
Data
Science
THANK YOU