SlideShare a Scribd company logo
MAGIC CAMP/ Summer 2018/DAY 1 (Credit for Patrick Woessner)
Programming with
Scratch
Lesson 1: Intro to Programming
D
A
Y
1
1
Computer Programming?
● What is programming?

● The process of writing, testing, and maintaining the
source code of computer programs.
Telling the computer what to do
● Why learn to program?



Develops logic and problem-solving skills
Improves attention to detail
It’s fun!
D
A
Y
1
2
Anyone Can Program!
● New tools, like Scratch, allow ANYONE to create
computer programs without learning complicated
syntax.
D
A
Y
1
3
Programming with Scratch
START HERE
❑ Go to the Scratch website:
http://scratch.mit.edu
❑ Sign into your account.
❑ Click on the “Create” tab located at the
top left of the browser to start a new
project.
❑ Time to explore! Try clicking on
different parts of the Scratch interface
to see what happens.
❑ Play with different Scratch blocks!
Drag and drop Scratch blocks into the
scripting area. Experiment by clicking
on each block to see what they do or
try snapping blocks together.
D
A
Y
1
4
D
A
Y
1
5
In Class Assignment 1
● After introducing the Scheme of Scratch, students
will start with step-by-step projects on
https://scratch.mit.edu/projects/editor
● Students will try to experiment and explore a
dance video by the help of instructors and step-
by-step project guideline “Getting Started with
Scratch”.
D
A
Y
1
6
MAGIC CAMP/ Summer 2018/DAY 1 (Credit for Patrick Woessner)
Programming with
Scratch
Lesson 2: Scratch Syntax Part 1
D
A
Y
1
7
Statements
● In programming, a statement is simply a directive
that tells the computer to do something. Think of it
as a command or an instruction.
● In Scratch, any block whose label reads like a
command is a statement.
D
A
Y
1
8
Boolean Expressions
● Sometimes, you only want a statement to be
executed under certain conditions. Such
conditions are defined in terms of Boolean
expressions.
● In programming, a Boolean expression is an
expression that is either true or false. In Scratch,
any block shaped like an elongated diamond is a
Boolean expression.
D
A
Y
1
9
Boolean Expressions
● One such block is:
After all, it is either true that the mouse button is
down or it is false.
● Another such block is:
After all, it is either true that some number is less
than another number or it is false.
● With Boolean expressions can we construct
conditions.
D
A
Y
1
10
Conditions
● In programming, a condition is something that
must be true in order for something to happen.
● A condition is thus said to "evaluate to true" or
"evaluate to false."
● In Scratch, any block whose label says "if,"
"when," or "until" is a sort of conditional
construct.
D
A
Y
1
11
Conditions
● If Construct: Instruct a sprite to say hello only
if, say, the user has depressed the mouse
button:
● If-Else Construct: Instruct a sprite to say hello or
goodbye, depending on whether the user has
depressed the mouse button:
D
A
Y
1
12
Conditions (In Class Assignment)
● If-Else Construct: Write an instruction to instruct a
sprite to react when the spirit is touched by mouse
D
A
Y
1
13
Steps:
1 - Choose a sprite from the sprite library or upload your own sprite.
2-
Conditions
● When Construct: Instruct a sprite to do
something when an event occurs:
● When Construct: Instruct a sprite to wait to
do something until a condition is true:
D
A
Y
1
14
Loops
● In programming, a loop can induce multiple
executions of statements.
● In Scratch, any block whose label begins with
"forever" or "repeat" is a looping construct.
D
A
Y
1
15
Loops (In Class assignment)
D
A
Y
1
16
Follow me
MAGIC CAMP/ Summer 2018/DAY 1 (Credit for Patrick Woessner)
Programming with
Scratch
Lesson 3: Scratch Syntax Part 2
D
A
Y
1
17
Variables
● In programming, a variable is a placeholder
for some value, much like x and y are popular
variables in algebra.
● In Scratch, variables are represented with
blocks shaped like elongated circles,
uniquely labeled by you.
D
A
Y
1
18
Variables(In Class Assignment)
D
A
Y
1
19
2 - Change Count Sprit to count only in odd
numbers.
3 - Change Counter Sprit to count only in even
numbers.
Variables(In Class Assignment)
D
A
Y
1
20
4- This script alternates costumes and sounds.
Modify it so that it has a meow sound and
costume after odd numbers and a dog sound
and costume after even numbers.
Threads
● In programming, a thread is like a mini- program within
a program that can execute at the same time as other
threads.
● In Scratch, any block whose label begins with "when"
essentially marks the start of a thread.
D
A
Y
1
21
Events
● An event is a signal from one thread to
another.
● Blocks whose labels begin with "broadcast"
signal events whereas blocks whose labels begin
with "when" handle events.
D
A
Y
1
22
Copter Game Flight Code
D
A
Y
1
23
Copter Game—One Level
D
A
Y
1
24
Adding a Level
● Levels can be added using threads and
events.
D
A
Y
1
25
Homework
● Complete Your First Game Project
● You may wish to use the Copter Game and
Levels program as resources.
● Completed projects need to submitted to the
MAGIC CAMP website by the due date.
D
A
Y
1
26

More Related Content

What's hot

Scratch for intermediates course
Scratch for intermediates courseScratch for intermediates course
Scratch for intermediates course
Matthew Parry
 
Scratch Lesson 1
Scratch Lesson 1Scratch Lesson 1
Scratch Lesson 1
Vadim Axelrod
 
An introduction to Scratch
An introduction to ScratchAn introduction to Scratch
An introduction to Scratch
Piers Midwinter
 
Scratch: Programming for everyone
Scratch: Programming for everyoneScratch: Programming for everyone
Scratch: Programming for everyone
Akshar Desai
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
afsheenfaiq2
 
Scratch Animation
Scratch AnimationScratch Animation
Scratch Animation
Anjan Mahanta
 
Coding Basics with Scratch
Coding Basics with ScratchCoding Basics with Scratch
Coding Basics with Scratch
Nicole Baratta
 
Scratch Programming
Scratch ProgrammingScratch Programming
Scratch Programming
Bilal Hanbali
 
Coding with kids
Coding with kidsCoding with kids
Coding with kids
Azzurra Ragone
 
Scratch programming
Scratch programmingScratch programming
Scratch programming
YvonieDoria
 
3 conservación y mantenimiento de kit de robótica
3 conservación y mantenimiento de kit de robótica3 conservación y mantenimiento de kit de robótica
3 conservación y mantenimiento de kit de robótica
Gonzalo Bladimiro Soto Ramos
 
2DO PRIMARIA LIBRO COMPUTACION.pdf
2DO PRIMARIA LIBRO COMPUTACION.pdf2DO PRIMARIA LIBRO COMPUTACION.pdf
2DO PRIMARIA LIBRO COMPUTACION.pdf
JOSEMANUELGARCIA76
 
Scratch Lesson 6
Scratch Lesson 6Scratch Lesson 6
Scratch Lesson 6
Vadim Axelrod
 
Planif. de sesion scratch
Planif. de sesion scratchPlanif. de sesion scratch
Planif. de sesion scratch
LUZ ELENA VILLANUEVA
 
An introduction to coding
An introduction to codingAn introduction to coding
An introduction to coding
iain bruce
 
Manual de microsoft word 2016
Manual de microsoft word 2016Manual de microsoft word 2016
Manual de microsoft word 2016
OKMM
 
1 COMPUTACIÓN 1ER GRADO ALUMNOS.pdf
1 COMPUTACIÓN 1ER GRADO ALUMNOS.pdf1 COMPUTACIÓN 1ER GRADO ALUMNOS.pdf
1 COMPUTACIÓN 1ER GRADO ALUMNOS.pdf
guiselacolquepiscoma
 
Cuadernillo de-ejercicios-parte-1
Cuadernillo de-ejercicios-parte-1Cuadernillo de-ejercicios-parte-1
Cuadernillo de-ejercicios-parte-1
Tecnisistemas
 
Computacion-global-4.pdf
Computacion-global-4.pdfComputacion-global-4.pdf
Computacion-global-4.pdf
antoniovillanueva48
 

What's hot (20)

Scratch for intermediates course
Scratch for intermediates courseScratch for intermediates course
Scratch for intermediates course
 
Scratch Lesson 1
Scratch Lesson 1Scratch Lesson 1
Scratch Lesson 1
 
An introduction to Scratch
An introduction to ScratchAn introduction to Scratch
An introduction to Scratch
 
Scratch: Programming for everyone
Scratch: Programming for everyoneScratch: Programming for everyone
Scratch: Programming for everyone
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
Scratch Project
Scratch ProjectScratch Project
Scratch Project
 
Scratch Animation
Scratch AnimationScratch Animation
Scratch Animation
 
Coding Basics with Scratch
Coding Basics with ScratchCoding Basics with Scratch
Coding Basics with Scratch
 
Scratch Programming
Scratch ProgrammingScratch Programming
Scratch Programming
 
Coding with kids
Coding with kidsCoding with kids
Coding with kids
 
Scratch programming
Scratch programmingScratch programming
Scratch programming
 
3 conservación y mantenimiento de kit de robótica
3 conservación y mantenimiento de kit de robótica3 conservación y mantenimiento de kit de robótica
3 conservación y mantenimiento de kit de robótica
 
2DO PRIMARIA LIBRO COMPUTACION.pdf
2DO PRIMARIA LIBRO COMPUTACION.pdf2DO PRIMARIA LIBRO COMPUTACION.pdf
2DO PRIMARIA LIBRO COMPUTACION.pdf
 
Scratch Lesson 6
Scratch Lesson 6Scratch Lesson 6
Scratch Lesson 6
 
Planif. de sesion scratch
Planif. de sesion scratchPlanif. de sesion scratch
Planif. de sesion scratch
 
An introduction to coding
An introduction to codingAn introduction to coding
An introduction to coding
 
Manual de microsoft word 2016
Manual de microsoft word 2016Manual de microsoft word 2016
Manual de microsoft word 2016
 
1 COMPUTACIÓN 1ER GRADO ALUMNOS.pdf
1 COMPUTACIÓN 1ER GRADO ALUMNOS.pdf1 COMPUTACIÓN 1ER GRADO ALUMNOS.pdf
1 COMPUTACIÓN 1ER GRADO ALUMNOS.pdf
 
Cuadernillo de-ejercicios-parte-1
Cuadernillo de-ejercicios-parte-1Cuadernillo de-ejercicios-parte-1
Cuadernillo de-ejercicios-parte-1
 
Computacion-global-4.pdf
Computacion-global-4.pdfComputacion-global-4.pdf
Computacion-global-4.pdf
 

Similar to Day 1( magic camp)(1)

Mini Scratch Unit
Mini Scratch UnitMini Scratch Unit
Mini Scratch Unit
Patrick Woessner
 
introduction to programming using scratch.ppt
introduction to programming using scratch.pptintroduction to programming using scratch.ppt
introduction to programming using scratch.ppt
Lamini Harunah
 
Intro To Scratch
Intro To ScratchIntro To Scratch
Intro To Scratch
Patrick Woessner
 
1.Scratch 1.pptx
1.Scratch 1.pptx1.Scratch 1.pptx
1.Scratch 1.pptx
Kausar Bohra
 
Approaches to teaching primary computing
Approaches to teaching primary computingApproaches to teaching primary computing
Approaches to teaching primary computing
JEcomputing
 
Grade-5_Topic-5_Fun_With_Scratch(2024-25).pptx
Grade-5_Topic-5_Fun_With_Scratch(2024-25).pptxGrade-5_Topic-5_Fun_With_Scratch(2024-25).pptx
Grade-5_Topic-5_Fun_With_Scratch(2024-25).pptx
ParveshSachdev
 
Raspberry Pi and Physical Computing Workshop
Raspberry Pi and Physical Computing WorkshopRaspberry Pi and Physical Computing Workshop
Raspberry Pi and Physical Computing Workshop
Rachel Wang
 
Scratch2
Scratch2Scratch2
Scratch2
sidilatif
 
Design Patterns Illustrated
Design Patterns IllustratedDesign Patterns Illustrated
Design Patterns Illustrated
Herman Peeren
 
scratch-3-tutorial.pdf
scratch-3-tutorial.pdfscratch-3-tutorial.pdf
scratch-3-tutorial.pdf
zulfikarzulfikar40
 
Grade-5 Topic-5 Fun with Scratch_Master.pptx
Grade-5 Topic-5 Fun with Scratch_Master.pptxGrade-5 Topic-5 Fun with Scratch_Master.pptx
Grade-5 Topic-5 Fun with Scratch_Master.pptx
ParveshNarang1
 
7.Advanced Scripts in Scratch.pptx
7.Advanced Scripts in Scratch.pptx7.Advanced Scripts in Scratch.pptx
7.Advanced Scripts in Scratch.pptx
dipalishewale2
 
Progression in programming with Scratch
Progression in programming with Scratch Progression in programming with Scratch
Progression in programming with Scratch
JEcomputing
 
Beginning Coding Vocabulary for Elementary Students
Beginning Coding Vocabulary for Elementary StudentsBeginning Coding Vocabulary for Elementary Students
Beginning Coding Vocabulary for Elementary Students
Kimberly Bushman
 
Introduction of Tools for providing rich user experience in debugger
Introduction of Tools for providing rich user experience in debuggerIntroduction of Tools for providing rich user experience in debugger
Introduction of Tools for providing rich user experience in debugger
Naoto Ono
 
Blueprints: Introduction to Python programming
Blueprints: Introduction to Python programmingBlueprints: Introduction to Python programming
Blueprints: Introduction to Python programming
Bhalaji Nagarajan
 
Scratch To Flex Your Creativity Workshop
Scratch To Flex Your Creativity WorkshopScratch To Flex Your Creativity Workshop
Scratch To Flex Your Creativity Workshop
Karen VItek
 
Good code
Good codeGood code
Good code
Enzo Wang
 
Intro to Python for Non-Programmers
Intro to Python for Non-ProgrammersIntro to Python for Non-Programmers
Intro to Python for Non-Programmers
Ahmad Alhour
 
TDD in Python With Pytest
TDD in Python With PytestTDD in Python With Pytest
TDD in Python With Pytest
Eddy Reyes
 

Similar to Day 1( magic camp)(1) (20)

Mini Scratch Unit
Mini Scratch UnitMini Scratch Unit
Mini Scratch Unit
 
introduction to programming using scratch.ppt
introduction to programming using scratch.pptintroduction to programming using scratch.ppt
introduction to programming using scratch.ppt
 
Intro To Scratch
Intro To ScratchIntro To Scratch
Intro To Scratch
 
1.Scratch 1.pptx
1.Scratch 1.pptx1.Scratch 1.pptx
1.Scratch 1.pptx
 
Approaches to teaching primary computing
Approaches to teaching primary computingApproaches to teaching primary computing
Approaches to teaching primary computing
 
Grade-5_Topic-5_Fun_With_Scratch(2024-25).pptx
Grade-5_Topic-5_Fun_With_Scratch(2024-25).pptxGrade-5_Topic-5_Fun_With_Scratch(2024-25).pptx
Grade-5_Topic-5_Fun_With_Scratch(2024-25).pptx
 
Raspberry Pi and Physical Computing Workshop
Raspberry Pi and Physical Computing WorkshopRaspberry Pi and Physical Computing Workshop
Raspberry Pi and Physical Computing Workshop
 
Scratch2
Scratch2Scratch2
Scratch2
 
Design Patterns Illustrated
Design Patterns IllustratedDesign Patterns Illustrated
Design Patterns Illustrated
 
scratch-3-tutorial.pdf
scratch-3-tutorial.pdfscratch-3-tutorial.pdf
scratch-3-tutorial.pdf
 
Grade-5 Topic-5 Fun with Scratch_Master.pptx
Grade-5 Topic-5 Fun with Scratch_Master.pptxGrade-5 Topic-5 Fun with Scratch_Master.pptx
Grade-5 Topic-5 Fun with Scratch_Master.pptx
 
7.Advanced Scripts in Scratch.pptx
7.Advanced Scripts in Scratch.pptx7.Advanced Scripts in Scratch.pptx
7.Advanced Scripts in Scratch.pptx
 
Progression in programming with Scratch
Progression in programming with Scratch Progression in programming with Scratch
Progression in programming with Scratch
 
Beginning Coding Vocabulary for Elementary Students
Beginning Coding Vocabulary for Elementary StudentsBeginning Coding Vocabulary for Elementary Students
Beginning Coding Vocabulary for Elementary Students
 
Introduction of Tools for providing rich user experience in debugger
Introduction of Tools for providing rich user experience in debuggerIntroduction of Tools for providing rich user experience in debugger
Introduction of Tools for providing rich user experience in debugger
 
Blueprints: Introduction to Python programming
Blueprints: Introduction to Python programmingBlueprints: Introduction to Python programming
Blueprints: Introduction to Python programming
 
Scratch To Flex Your Creativity Workshop
Scratch To Flex Your Creativity WorkshopScratch To Flex Your Creativity Workshop
Scratch To Flex Your Creativity Workshop
 
Good code
Good codeGood code
Good code
 
Intro to Python for Non-Programmers
Intro to Python for Non-ProgrammersIntro to Python for Non-Programmers
Intro to Python for Non-Programmers
 
TDD in Python With Pytest
TDD in Python With PytestTDD in Python With Pytest
TDD in Python With Pytest
 

More from FatemehJamshidi5

Presentation
PresentationPresentation
Presentation
FatemehJamshidi5
 
Day 4( magic camp)
Day 4( magic camp)Day 4( magic camp)
Day 4( magic camp)
FatemehJamshidi5
 
Day 5( magic camp)
Day 5( magic camp)Day 5( magic camp)
Day 5( magic camp)
FatemehJamshidi5
 
Day 3( magic camp)
Day 3( magic camp)Day 3( magic camp)
Day 3( magic camp)
FatemehJamshidi5
 
Ear sketch(presentation)
Ear sketch(presentation) Ear sketch(presentation)
Ear sketch(presentation)
FatemehJamshidi5
 
Day 2( magic camp)
Day 2( magic camp)Day 2( magic camp)
Day 2( magic camp)
FatemehJamshidi5
 
Day 2( magic camp)1
Day 2( magic camp)1Day 2( magic camp)1
Day 2( magic camp)1
FatemehJamshidi5
 

More from FatemehJamshidi5 (7)

Presentation
PresentationPresentation
Presentation
 
Day 4( magic camp)
Day 4( magic camp)Day 4( magic camp)
Day 4( magic camp)
 
Day 5( magic camp)
Day 5( magic camp)Day 5( magic camp)
Day 5( magic camp)
 
Day 3( magic camp)
Day 3( magic camp)Day 3( magic camp)
Day 3( magic camp)
 
Ear sketch(presentation)
Ear sketch(presentation) Ear sketch(presentation)
Ear sketch(presentation)
 
Day 2( magic camp)
Day 2( magic camp)Day 2( magic camp)
Day 2( magic camp)
 
Day 2( magic camp)1
Day 2( magic camp)1Day 2( magic camp)1
Day 2( magic camp)1
 

Recently uploaded

Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 

Recently uploaded (20)

Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 

Day 1( magic camp)(1)

  • 1. MAGIC CAMP/ Summer 2018/DAY 1 (Credit for Patrick Woessner) Programming with Scratch Lesson 1: Intro to Programming D A Y 1 1
  • 2. Computer Programming? ● What is programming?  ● The process of writing, testing, and maintaining the source code of computer programs. Telling the computer what to do ● Why learn to program?    Develops logic and problem-solving skills Improves attention to detail It’s fun! D A Y 1 2
  • 3. Anyone Can Program! ● New tools, like Scratch, allow ANYONE to create computer programs without learning complicated syntax. D A Y 1 3
  • 4. Programming with Scratch START HERE ❑ Go to the Scratch website: http://scratch.mit.edu ❑ Sign into your account. ❑ Click on the “Create” tab located at the top left of the browser to start a new project. ❑ Time to explore! Try clicking on different parts of the Scratch interface to see what happens. ❑ Play with different Scratch blocks! Drag and drop Scratch blocks into the scripting area. Experiment by clicking on each block to see what they do or try snapping blocks together. D A Y 1 4
  • 6. In Class Assignment 1 ● After introducing the Scheme of Scratch, students will start with step-by-step projects on https://scratch.mit.edu/projects/editor ● Students will try to experiment and explore a dance video by the help of instructors and step- by-step project guideline “Getting Started with Scratch”. D A Y 1 6
  • 7. MAGIC CAMP/ Summer 2018/DAY 1 (Credit for Patrick Woessner) Programming with Scratch Lesson 2: Scratch Syntax Part 1 D A Y 1 7
  • 8. Statements ● In programming, a statement is simply a directive that tells the computer to do something. Think of it as a command or an instruction. ● In Scratch, any block whose label reads like a command is a statement. D A Y 1 8
  • 9. Boolean Expressions ● Sometimes, you only want a statement to be executed under certain conditions. Such conditions are defined in terms of Boolean expressions. ● In programming, a Boolean expression is an expression that is either true or false. In Scratch, any block shaped like an elongated diamond is a Boolean expression. D A Y 1 9
  • 10. Boolean Expressions ● One such block is: After all, it is either true that the mouse button is down or it is false. ● Another such block is: After all, it is either true that some number is less than another number or it is false. ● With Boolean expressions can we construct conditions. D A Y 1 10
  • 11. Conditions ● In programming, a condition is something that must be true in order for something to happen. ● A condition is thus said to "evaluate to true" or "evaluate to false." ● In Scratch, any block whose label says "if," "when," or "until" is a sort of conditional construct. D A Y 1 11
  • 12. Conditions ● If Construct: Instruct a sprite to say hello only if, say, the user has depressed the mouse button: ● If-Else Construct: Instruct a sprite to say hello or goodbye, depending on whether the user has depressed the mouse button: D A Y 1 12
  • 13. Conditions (In Class Assignment) ● If-Else Construct: Write an instruction to instruct a sprite to react when the spirit is touched by mouse D A Y 1 13 Steps: 1 - Choose a sprite from the sprite library or upload your own sprite. 2-
  • 14. Conditions ● When Construct: Instruct a sprite to do something when an event occurs: ● When Construct: Instruct a sprite to wait to do something until a condition is true: D A Y 1 14
  • 15. Loops ● In programming, a loop can induce multiple executions of statements. ● In Scratch, any block whose label begins with "forever" or "repeat" is a looping construct. D A Y 1 15
  • 16. Loops (In Class assignment) D A Y 1 16 Follow me
  • 17. MAGIC CAMP/ Summer 2018/DAY 1 (Credit for Patrick Woessner) Programming with Scratch Lesson 3: Scratch Syntax Part 2 D A Y 1 17
  • 18. Variables ● In programming, a variable is a placeholder for some value, much like x and y are popular variables in algebra. ● In Scratch, variables are represented with blocks shaped like elongated circles, uniquely labeled by you. D A Y 1 18
  • 19. Variables(In Class Assignment) D A Y 1 19 2 - Change Count Sprit to count only in odd numbers. 3 - Change Counter Sprit to count only in even numbers.
  • 20. Variables(In Class Assignment) D A Y 1 20 4- This script alternates costumes and sounds. Modify it so that it has a meow sound and costume after odd numbers and a dog sound and costume after even numbers.
  • 21. Threads ● In programming, a thread is like a mini- program within a program that can execute at the same time as other threads. ● In Scratch, any block whose label begins with "when" essentially marks the start of a thread. D A Y 1 21
  • 22. Events ● An event is a signal from one thread to another. ● Blocks whose labels begin with "broadcast" signal events whereas blocks whose labels begin with "when" handle events. D A Y 1 22
  • 23. Copter Game Flight Code D A Y 1 23
  • 25. Adding a Level ● Levels can be added using threads and events. D A Y 1 25
  • 26. Homework ● Complete Your First Game Project ● You may wish to use the Copter Game and Levels program as resources. ● Completed projects need to submitted to the MAGIC CAMP website by the due date. D A Y 1 26