CAT scratch
Hello , Everybody
catazine
Introduction
We Are Not Nerds
what client thinks i dowhat my mom thinks i do
what i really dowhat society thinks i do
what my friends thinks i do
what i thinks i do
احنا منعرفش مني اللى زار بروفيلك !!!
The Ugly Truth
self learning skill
63% of the people around you have no experiacne
17%
20%63%
Zero Exp. Little Exp. Good Exp.
VIDEO
Computers are all around us ..
Computers Are Not Just PCs
Computers vs Humans
Computer Science
NOT JUST PROGRAMMING
Binary
ASCII
let’s make our first word
ASCII Table
Algorithms
We want to find the word CAT
Dictionary
time
to so
lve
Size of the problem
n
time
to so
lve
Size of the problem
n n/2
time
to so
lve
Size of the problem
n n/2
log n
An Algoritm
1. stand up and think of the number 1
2. pair off with someone standing, add your numbers together, and adopt the sum as your new number
3. one of you should sit down; the other should go back to step 2
On Foot Bicycle Bus Taxi
Cost none low medium high
Time high medium low very low
10 MIN BREAK
We Hope You Come Back :D
What Is Programming ?
What Is Programming !
How We Can Communicate !
010100101010101100101001001
What Is Programming !
How We Can Communicate !
Arabic, English ,or any
other language
010100101010101100101001001
What Is Programming !
How We Can Communicate !
Arabic, English ,or any
other language
010100101010101100101001001
?
What Is Programming !
How We Can Communicate !
010100101010101100101001001
Arabic, English ,or any
other language
Programming Language
What Is Programming !
How We Can Communicate !
010100101010101100101001001
Arabic, English ,or any
other language
Programming Language
any Language
What Is Programming !
Programming is not about the Syntax (syntax attempts
to describe languages in terms of rules) .
Programming is how to think and find away to solve a problem , It involves activities such as analysis, understanding, and generically solving such problems resulting in an ”Algorithm” .
Why programming
Who can relate to this ?
Not very big or complex program but useful
Who can relate to this ?
Not very big or complex program but also useful
Computers are stupid
You must think like him
Pseudo Code
Code Sandwich
Who is hungry !?
Scratch
Scratch is just a puzzle game
you just add puzzle parts together .
Statements
Want to say (print) something ! just use “say” statement .
add your text here !(paramater)
Statements
“Wait” statement is used to pause your program.
You can also play sounds, just use “play sound” statement .
Statements
Boolean Expressions
Boolean Expressions used to ask a simple “ yes or no ” question .
Boolean Expressions
Boolean Expressions used to ask a simple “ yes or no ” question .
Boolean Expressions used to ask a simple “ yes or no ” question .
Boolean Expressions
Conditions ( If )
“if ” used to specify a block of code to be executed, if a specified condition is True .
condition “boolean”
code to be executedif the condition is True
Conditions ( If else )
“else” used to specify a block of code to be executed, if the same condition is False .
condition “boolean”
code to be executedif the condition is True
code to be executedif the condition is False
Conditions ( Nested If )
Nested if is just an if inside another if
( first if )
code to be executedif the first condition is True
code to be executedif the first condition is False
( second if ) { code to be executedif the second condition is True
code to be executedif the second condition is False
loops
loops are used to run the same code over and over
the code you want to run again and again
number of loops
loops (infinite loop)
forever loop (infinite loop) used to run the same code over and over forever
the code you want to run again and again
Game
Important links
www.edx.org
www.coursera.org
www.udemy.com
www.ocw.mit.edu
www.edraak.org
www.tutsplus.com
www.lynda.com
Join Our Community
Registration is open, be one of us and Register Now !
Introduction To Computer ScienceUsing Python
Stay Tuned !!
Choose the book you need !
CAT Library
Thank You
THE END
Top Related