SlideShare a Scribd company logo
1 of 9
LESSON PLAN: TIME AND COMPUTERS
DATE: the 9th of November, 2016
GRADE: the 11th
TEACHERS: Francisco Pérez García
THEME: Time and computers
Crosscurricular activity involving communication in a foreign language (English),
computer sciences and art
COMPETENCES:
- Design by using HTML5, CSS and Javascript libraries in order to create time related
objects.
- Understand the diferent types of calendar (Julian, Gregorian, Islamic, Hebrew) and the
role of ISO 8601.
- Understand the possibilities of programming in art object with a time component (e.g.
p5.js javascript library)
- Understand the drawing possibilities of programming with a canvas element (e.g. canvas
in HTML5)
- Understand the style possibilites of programming with CSS (Cascade Style Sheet)
- Understand the role of random numbers and variables in the generation of an art objects
- Learn to program clocks by using mathematical funcions and coding
- Learn how to use conditional statements to tell the current date and time in natural
English by using real time javascript functions
TYPE OF LESSON: Combined lesson
TYPES OF INTERACTION: teacher – student, student – student, computer-student
TEACHING TOOLS: the blackboard, the projector and a computer room with software:
Sublime text code editor and the web w3schools.com to learn coding.
TIME: 4 lessons of 50 minutes
WARMER
They are asked to review their mobiles and the internet to find this information, specially
to practice coding online at w3schools.com in order to improve their coding skills by
using another code editor as Sublime Text or Visual Studio Code
LEARNING STRATEGY
Create codes using as a code editor Sublime Text or Visual Studio Code in order to create
art object related to art.
FORMULATION OF THE SUBJECT
Students will be informed that during this lesson they will learn some English instructions
in Javascript, HTML5 and CSS to create objects to express time.
COMMUNICATION OF KNOWLEDGE
Activity 1- Programming a clock
Part I - Create the Canvas
The clock needs an HTML container. Create an HTML canvas:
Canvas for the clock
Part II - Draw a Clock Face
The clock needs a clock face. Create a JavaScript function to draw a clock face:
Clock face
Part III - Draw Clock Numbers
The clock needs numbers. Create a JavaScript function to draw clock numbers:
Clock numbers
Part IV - Draw Clock Hands
The clock needs hands. Create a JavaScript function to draw clock hands:
Clock hands
Part V - Start the Clock
To start the clock, call the drawClock function at intervals:
Clock start
Example at http://arteducation.eu/clock
Activity 2. Explore the calendar converter at http://arteducation.eu/calendars and
propose codes to interconvert calendars
Date formats: There are many formats and many calendars. These are examples for the
Gregorian calendar
Date format Example
ISO Date "2016-09-11" (The International Standard)
Short Date "11/09/2016"
Long Date “Nov 09 2016" or "09 Nov 2016"
Full Date "Wednesday November 9 2016"
ISO 8601
International Standard
Organization rule 8601
YYYY-MM-DD or YYYYMMDD
It is easer to order everything!
Date Get Methods
Get methods are used for getting a part of a date. Here are the most common
(alphabetically):
Method Description
getDate() Get the day as a number (1-31)
getDay() Get the weekday as a number (0-6)
getFullYear() Get the four digit year (yyyy)
getHours() Get the hour (0-23)
getMilliseconds() Get the milliseconds (0-999)
getMinutes() Get the minutes (0-59)
getMonth() Get the month (0-11)
getSeconds() Get the seconds (0-59)
getTime() Get the time (milliseconds since January 1, 1970)
Date Set Methods
Set methods are used for setting a part of a date. Here are the most common
(alphabetically):
Method Description
setDate() Set the day as a number (1-31)
setFullYear() Set the year (optionally month and day)
setHours() Set the hour (0-23)
setMilliseconds() Set the milliseconds (0-999)
setMinutes() Set the minutes (0-59)
setMonth() Set the month (0-11)
setSeconds() Set the seconds (0-59)
setTime() Set the time (milliseconds since January 1, 1970)
Compare Dates
Dates can easily be compared.
The following example compares today's date with January 14, 2100:
Code example
Activity 3. Understandthe time zones creatingan Erasmus clock
Create an art clock
Change the functions previously explained in order to create an art clock

More Related Content

Viewers also liked

Lesson plan environment 2
Lesson plan   environment 2Lesson plan   environment 2
Lesson plan environment 2Francisco Perez
 
Lesson plan numbers leu alex dear
Lesson plan numbers leu alex dearLesson plan numbers leu alex dear
Lesson plan numbers leu alex dearFrancisco Perez
 
Numbers in the compositional structure
Numbers in the compositional structureNumbers in the compositional structure
Numbers in the compositional structureFrancisco Perez
 
Lesson leu alex numbers_highschool_lvl
Lesson leu alex numbers_highschool_lvlLesson leu alex numbers_highschool_lvl
Lesson leu alex numbers_highschool_lvlFrancisco Perez
 
Erasmus environment - dragons den advert
Erasmus   environment - dragons den advertErasmus   environment - dragons den advert
Erasmus environment - dragons den advertFrancisco Perez
 
Developing english-through-art-oriented-activities-1 final(1)
Developing english-through-art-oriented-activities-1   final(1)Developing english-through-art-oriented-activities-1   final(1)
Developing english-through-art-oriented-activities-1 final(1)Francisco Perez
 
Erasmus the human body - lesson 1
Erasmus   the human body - lesson 1Erasmus   the human body - lesson 1
Erasmus the human body - lesson 1Francisco Perez
 
Erasmus the human body - lesson 2 youtube
Erasmus   the human body - lesson 2 youtubeErasmus   the human body - lesson 2 youtube
Erasmus the human body - lesson 2 youtubeFrancisco Perez
 
Erasmus the human body - lesson 3
Erasmus    the human body -  lesson 3Erasmus    the human body -  lesson 3
Erasmus the human body - lesson 3Francisco Perez
 
Erasmus the human body - lesson 4
Erasmus    the human body - lesson 4Erasmus    the human body - lesson 4
Erasmus the human body - lesson 4Francisco Perez
 
Erasmus environment - trash to treasure
Erasmus  environment - trash to treasureErasmus  environment - trash to treasure
Erasmus environment - trash to treasureFrancisco Perez
 
Annex 5 conceptual maps in english
Annex 5  conceptual maps in englishAnnex 5  conceptual maps in english
Annex 5 conceptual maps in englishFrancisco Perez
 
Lesson plan Iulia Ionescu
Lesson plan Iulia IonescuLesson plan Iulia Ionescu
Lesson plan Iulia IonescuFrancisco Perez
 
Annex 2 matching exercise
Annex 2  matching exerciseAnnex 2  matching exercise
Annex 2 matching exerciseFrancisco Perez
 

Viewers also liked (20)

Feelings and computers
Feelings and computersFeelings and computers
Feelings and computers
 
Feelings and molecules
Feelings and moleculesFeelings and molecules
Feelings and molecules
 
Lesson plan environment 2
Lesson plan   environment 2Lesson plan   environment 2
Lesson plan environment 2
 
Lesson plan insects
Lesson plan   insectsLesson plan   insects
Lesson plan insects
 
Lesson plan numbers leu alex dear
Lesson plan numbers leu alex dearLesson plan numbers leu alex dear
Lesson plan numbers leu alex dear
 
Numbers in the compositional structure
Numbers in the compositional structureNumbers in the compositional structure
Numbers in the compositional structure
 
Lesson leu alex numbers_highschool_lvl
Lesson leu alex numbers_highschool_lvlLesson leu alex numbers_highschool_lvl
Lesson leu alex numbers_highschool_lvl
 
Erasmus environment - dragons den advert
Erasmus   environment - dragons den advertErasmus   environment - dragons den advert
Erasmus environment - dragons den advert
 
Developing english-through-art-oriented-activities-1 final(1)
Developing english-through-art-oriented-activities-1   final(1)Developing english-through-art-oriented-activities-1   final(1)
Developing english-through-art-oriented-activities-1 final(1)
 
Erasmus the human body - lesson 1
Erasmus   the human body - lesson 1Erasmus   the human body - lesson 1
Erasmus the human body - lesson 1
 
Erasmus the human body - lesson 2 youtube
Erasmus   the human body - lesson 2 youtubeErasmus   the human body - lesson 2 youtube
Erasmus the human body - lesson 2 youtube
 
Erasmus the human body - lesson 3
Erasmus    the human body -  lesson 3Erasmus    the human body -  lesson 3
Erasmus the human body - lesson 3
 
Erasmus the human body - lesson 4
Erasmus    the human body - lesson 4Erasmus    the human body - lesson 4
Erasmus the human body - lesson 4
 
Erasmus environment - trash to treasure
Erasmus  environment - trash to treasureErasmus  environment - trash to treasure
Erasmus environment - trash to treasure
 
Annex 9 body sculpture
Annex 9   body sculptureAnnex 9   body sculpture
Annex 9 body sculpture
 
Annex 5 conceptual maps in english
Annex 5  conceptual maps in englishAnnex 5  conceptual maps in english
Annex 5 conceptual maps in english
 
Lesson plan Iulia Ionescu
Lesson plan Iulia IonescuLesson plan Iulia Ionescu
Lesson plan Iulia Ionescu
 
Portraits puzzle
Portraits puzzlePortraits puzzle
Portraits puzzle
 
Annex 2 matching exercise
Annex 2  matching exerciseAnnex 2  matching exercise
Annex 2 matching exercise
 
Lectie feelings
Lectie feelingsLectie feelings
Lectie feelings
 

Similar to Time and computers

SessionSeven_WorkingWithDatesandTime
SessionSeven_WorkingWithDatesandTimeSessionSeven_WorkingWithDatesandTime
SessionSeven_WorkingWithDatesandTimeHellen Gakuruh
 
Php date & time functions
Php date & time functionsPhp date & time functions
Php date & time functionsProgrammer Blog
 
Waukesha One Coding Presentation
Waukesha One Coding PresentationWaukesha One Coding Presentation
Waukesha One Coding PresentationAJ Raebel
 
9781305078444 ppt ch07
9781305078444 ppt ch079781305078444 ppt ch07
9781305078444 ppt ch07Terry Yoast
 
FYBSC IT Web Programming Unit III Core Javascript
FYBSC IT Web Programming Unit III  Core JavascriptFYBSC IT Web Programming Unit III  Core Javascript
FYBSC IT Web Programming Unit III Core JavascriptArti Parab Academics
 
Jianjun(Winston)'s Resume
Jianjun(Winston)'s ResumeJianjun(Winston)'s Resume
Jianjun(Winston)'s ResumeJianjun Liu
 
Object oriented programming in r
Object oriented programming in r Object oriented programming in r
Object oriented programming in r Ashwini Mathur
 
Current Toolbox and Pedagogies - October 09
Current Toolbox and Pedagogies - October 09Current Toolbox and Pedagogies - October 09
Current Toolbox and Pedagogies - October 09point2five
 
2.5 clock, desktop, and dictionary objects
2.5   clock, desktop, and dictionary objects2.5   clock, desktop, and dictionary objects
2.5 clock, desktop, and dictionary objectsallenbailey
 
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting <b>...</b>
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting <b>...</b>The Art Institute of Atlanta IMD 210 Fundamentals of Scripting <b>...</b>
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting <b>...</b>tutorialsruby
 
<img src="../i/r_14.png" />
<img src="../i/r_14.png" /><img src="../i/r_14.png" />
<img src="../i/r_14.png" />tutorialsruby
 
TypeScript and SharePoint Framework
TypeScript and SharePoint FrameworkTypeScript and SharePoint Framework
TypeScript and SharePoint FrameworkBob German
 
Dates and Times in Java 7 and Java 8
Dates and Times in Java 7 and Java 8Dates and Times in Java 7 and Java 8
Dates and Times in Java 7 and Java 8Fulvio Corno
 
Ex11 lesson plan
Ex11 lesson planEx11 lesson plan
Ex11 lesson plankatienipp93
 
Quadratics Querry
Quadratics QuerryQuadratics Querry
Quadratics Querrymanastas
 
Quardratics Querry Pbl!
Quardratics Querry  Pbl!Quardratics Querry  Pbl!
Quardratics Querry Pbl!manastas
 
Dmitriy Elisov CV v2.1
Dmitriy Elisov CV v2.1Dmitriy Elisov CV v2.1
Dmitriy Elisov CV v2.1Dmitry Elisov
 

Similar to Time and computers (20)

SessionSeven_WorkingWithDatesandTime
SessionSeven_WorkingWithDatesandTimeSessionSeven_WorkingWithDatesandTime
SessionSeven_WorkingWithDatesandTime
 
Php date & time functions
Php date & time functionsPhp date & time functions
Php date & time functions
 
Ddpz2613 topic9 java
Ddpz2613 topic9 javaDdpz2613 topic9 java
Ddpz2613 topic9 java
 
Waukesha One Coding Presentation
Waukesha One Coding PresentationWaukesha One Coding Presentation
Waukesha One Coding Presentation
 
9781305078444 ppt ch07
9781305078444 ppt ch079781305078444 ppt ch07
9781305078444 ppt ch07
 
FYBSC IT Web Programming Unit III Core Javascript
FYBSC IT Web Programming Unit III  Core JavascriptFYBSC IT Web Programming Unit III  Core Javascript
FYBSC IT Web Programming Unit III Core Javascript
 
Jianjun(Winston)'s Resume
Jianjun(Winston)'s ResumeJianjun(Winston)'s Resume
Jianjun(Winston)'s Resume
 
Object oriented programming in r
Object oriented programming in r Object oriented programming in r
Object oriented programming in r
 
Java lab 2
Java lab 2Java lab 2
Java lab 2
 
Current Toolbox and Pedagogies - October 09
Current Toolbox and Pedagogies - October 09Current Toolbox and Pedagogies - October 09
Current Toolbox and Pedagogies - October 09
 
2.5 clock, desktop, and dictionary objects
2.5   clock, desktop, and dictionary objects2.5   clock, desktop, and dictionary objects
2.5 clock, desktop, and dictionary objects
 
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting <b>...</b>
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting <b>...</b>The Art Institute of Atlanta IMD 210 Fundamentals of Scripting <b>...</b>
The Art Institute of Atlanta IMD 210 Fundamentals of Scripting <b>...</b>
 
<img src="../i/r_14.png" />
<img src="../i/r_14.png" /><img src="../i/r_14.png" />
<img src="../i/r_14.png" />
 
TypeScript and SharePoint Framework
TypeScript and SharePoint FrameworkTypeScript and SharePoint Framework
TypeScript and SharePoint Framework
 
Dates and Times in Java 7 and Java 8
Dates and Times in Java 7 and Java 8Dates and Times in Java 7 and Java 8
Dates and Times in Java 7 and Java 8
 
Ex11 lesson plan
Ex11 lesson planEx11 lesson plan
Ex11 lesson plan
 
Quadratics Querry
Quadratics QuerryQuadratics Querry
Quadratics Querry
 
Quardratics Querry Pbl!
Quardratics Querry  Pbl!Quardratics Querry  Pbl!
Quardratics Querry Pbl!
 
Ad507
Ad507Ad507
Ad507
 
Dmitriy Elisov CV v2.1
Dmitriy Elisov CV v2.1Dmitriy Elisov CV v2.1
Dmitriy Elisov CV v2.1
 

More from Francisco Perez

More from Francisco Perez (20)

Coding tools
Coding toolsCoding tools
Coding tools
 
Analysing the Universe
Analysing the UniverseAnalysing the Universe
Analysing the Universe
 
Contaminants
ContaminantsContaminants
Contaminants
 
Docking 1
Docking 1Docking 1
Docking 1
 
Campus Ítaca UAB
Campus Ítaca UABCampus Ítaca UAB
Campus Ítaca UAB
 
Vivid library powerpoint
Vivid library powerpointVivid library powerpoint
Vivid library powerpoint
 
Multicultural theatres
Multicultural theatresMulticultural theatres
Multicultural theatres
 
D'ESO a CF 2019
D'ESO a CF 2019D'ESO a CF 2019
D'ESO a CF 2019
 
Debating in Latvia
Debating in LatviaDebating in Latvia
Debating in Latvia
 
Projecte amb institut xinès
Projecte amb institut xinèsProjecte amb institut xinès
Projecte amb institut xinès
 
Projecte Erasmus+
Projecte Erasmus+Projecte Erasmus+
Projecte Erasmus+
 
Visit Jeonbuk High School (Corea)
Visit Jeonbuk High School (Corea)Visit Jeonbuk High School (Corea)
Visit Jeonbuk High School (Corea)
 
Guia pràctica per fer un bon tr btx 20 consells
Guia pràctica per fer un bon tr btx 20 consellsGuia pràctica per fer un bon tr btx 20 consells
Guia pràctica per fer un bon tr btx 20 consells
 
Essay
EssayEssay
Essay
 
Presentation for Portugal
Presentation for PortugalPresentation for Portugal
Presentation for Portugal
 
Sant Jordi 2018
Sant Jordi 2018Sant Jordi 2018
Sant Jordi 2018
 
Ponderacions catalunya pau 2018
Ponderacions catalunya pau 2018Ponderacions catalunya pau 2018
Ponderacions catalunya pau 2018
 
Des d'ESO a CCFF 2018
Des d'ESO a CCFF 2018Des d'ESO a CCFF 2018
Des d'ESO a CCFF 2018
 
Class lists
Class listsClass lists
Class lists
 
Families are reading the world classic novels
Families are reading  the world classic novelsFamilies are reading  the world classic novels
Families are reading the world classic novels
 

Recently uploaded

SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answersdalebeck957
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsNbelano25
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 

Recently uploaded (20)

SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 

Time and computers

  • 1. LESSON PLAN: TIME AND COMPUTERS DATE: the 9th of November, 2016 GRADE: the 11th TEACHERS: Francisco Pérez García THEME: Time and computers Crosscurricular activity involving communication in a foreign language (English), computer sciences and art COMPETENCES: - Design by using HTML5, CSS and Javascript libraries in order to create time related objects. - Understand the diferent types of calendar (Julian, Gregorian, Islamic, Hebrew) and the role of ISO 8601. - Understand the possibilities of programming in art object with a time component (e.g. p5.js javascript library) - Understand the drawing possibilities of programming with a canvas element (e.g. canvas in HTML5) - Understand the style possibilites of programming with CSS (Cascade Style Sheet) - Understand the role of random numbers and variables in the generation of an art objects - Learn to program clocks by using mathematical funcions and coding - Learn how to use conditional statements to tell the current date and time in natural English by using real time javascript functions TYPE OF LESSON: Combined lesson TYPES OF INTERACTION: teacher – student, student – student, computer-student TEACHING TOOLS: the blackboard, the projector and a computer room with software: Sublime text code editor and the web w3schools.com to learn coding. TIME: 4 lessons of 50 minutes WARMER They are asked to review their mobiles and the internet to find this information, specially to practice coding online at w3schools.com in order to improve their coding skills by using another code editor as Sublime Text or Visual Studio Code LEARNING STRATEGY Create codes using as a code editor Sublime Text or Visual Studio Code in order to create art object related to art. FORMULATION OF THE SUBJECT Students will be informed that during this lesson they will learn some English instructions in Javascript, HTML5 and CSS to create objects to express time.
  • 2. COMMUNICATION OF KNOWLEDGE Activity 1- Programming a clock Part I - Create the Canvas The clock needs an HTML container. Create an HTML canvas: Canvas for the clock Part II - Draw a Clock Face The clock needs a clock face. Create a JavaScript function to draw a clock face:
  • 3. Clock face Part III - Draw Clock Numbers The clock needs numbers. Create a JavaScript function to draw clock numbers:
  • 4. Clock numbers Part IV - Draw Clock Hands The clock needs hands. Create a JavaScript function to draw clock hands:
  • 5. Clock hands Part V - Start the Clock To start the clock, call the drawClock function at intervals:
  • 6. Clock start Example at http://arteducation.eu/clock Activity 2. Explore the calendar converter at http://arteducation.eu/calendars and propose codes to interconvert calendars Date formats: There are many formats and many calendars. These are examples for the Gregorian calendar Date format Example ISO Date "2016-09-11" (The International Standard) Short Date "11/09/2016" Long Date “Nov 09 2016" or "09 Nov 2016" Full Date "Wednesday November 9 2016" ISO 8601 International Standard Organization rule 8601 YYYY-MM-DD or YYYYMMDD It is easer to order everything! Date Get Methods Get methods are used for getting a part of a date. Here are the most common (alphabetically):
  • 7. Method Description getDate() Get the day as a number (1-31) getDay() Get the weekday as a number (0-6) getFullYear() Get the four digit year (yyyy) getHours() Get the hour (0-23) getMilliseconds() Get the milliseconds (0-999) getMinutes() Get the minutes (0-59) getMonth() Get the month (0-11) getSeconds() Get the seconds (0-59) getTime() Get the time (milliseconds since January 1, 1970) Date Set Methods Set methods are used for setting a part of a date. Here are the most common (alphabetically): Method Description setDate() Set the day as a number (1-31) setFullYear() Set the year (optionally month and day) setHours() Set the hour (0-23) setMilliseconds() Set the milliseconds (0-999) setMinutes() Set the minutes (0-59) setMonth() Set the month (0-11) setSeconds() Set the seconds (0-59) setTime() Set the time (milliseconds since January 1, 1970) Compare Dates Dates can easily be compared.
  • 8. The following example compares today's date with January 14, 2100: Code example Activity 3. Understandthe time zones creatingan Erasmus clock
  • 9. Create an art clock Change the functions previously explained in order to create an art clock