SlideShare a Scribd company logo
1 of 5
Download to read offline
Teaching coding:
What is a faded
example?
Like fill-in-the-blank, but with code
• Start with a nearly completed block and ask student
to fill in the blanks
• As the exercise progresses, include more and more
blanks until the student is basically coding
independently
• Non-blank code is known as “scaffolding”
Benefits of faded examples
• Students learn by example
• Students learn progressively more as they advance
• It’s more interactive than a blank page
Faded example, example
# Faded example
# Print the first six rows of iris
head(___)
# Assign the number of rows of iris
# to the variable iris_rowcount
iris_rowcount <- ___(iris)
# Assign the number of columns of iris
# to the variable iris_columncount
___ <- ___
# Does the number of rows in iris equal
# the number of columns?
___
# Faded example solution
# Print the first six rows of iris
head(iris)
# Assign the number of rows of iris
# to the variable iris_rowcount
iris_rowcount <- nrow(iris)
# Assign the number of columns of iris
# to the variable iris_columncount
iris_colcount <- ncol(iris)
# Does the number of rows in iris equal
# the number of columns?
nrow(iris) == ncol(iris)
LET'S TALK
WEBSITE
stringfestanalytics.com
EMAIL ADDRESS
george@stringfestanalytics.com
LINKEDIN
linkedin.com/in/gjmount

More Related Content

More from George Mount

It’s time to open-source your data tools and processes
It’s time to open-source your data tools and processesIt’s time to open-source your data tools and processes
It’s time to open-source your data tools and processesGeorge Mount
 
Building the data academy: Measuring ROI
Building the data academy: Measuring ROIBuilding the data academy: Measuring ROI
Building the data academy: Measuring ROIGeorge Mount
 
Building your data academy: Assessing candidate skills
Building your data academy: Assessing candidate skillsBuilding your data academy: Assessing candidate skills
Building your data academy: Assessing candidate skillsGeorge Mount
 
YouTube is not a data upskilling strategy
YouTube is not a data upskilling strategyYouTube is not a data upskilling strategy
YouTube is not a data upskilling strategyGeorge Mount
 
Five myths about learning data analytics
Five myths about learning data analyticsFive myths about learning data analytics
Five myths about learning data analyticsGeorge Mount
 
Building your data academy
Building your data academyBuilding your data academy
Building your data academyGeorge Mount
 
Survey and Measure Development in R
Survey and Measure Development in RSurvey and Measure Development in R
Survey and Measure Development in RGeorge Mount
 
It's not what you know, it's how you show.
It's not what you know, it's how you show.It's not what you know, it's how you show.
It's not what you know, it's how you show.George Mount
 
Mediation in R's lavaan package
Mediation in R's lavaan packageMediation in R's lavaan package
Mediation in R's lavaan packageGeorge Mount
 
Qualitative Research Study Exercise: Reading Choices and Habits
Qualitative Research Study Exercise: Reading Choices and HabitsQualitative Research Study Exercise: Reading Choices and Habits
Qualitative Research Study Exercise: Reading Choices and HabitsGeorge Mount
 
Hey, Analyst! Learn Some Content Marketing
Hey, Analyst! Learn Some Content MarketingHey, Analyst! Learn Some Content Marketing
Hey, Analyst! Learn Some Content MarketingGeorge Mount
 
Why Be a Social Analyst?
Why Be a Social Analyst? Why Be a Social Analyst?
Why Be a Social Analyst? George Mount
 
Excel for Healthcare: Intro to Data Visualization
Excel for Healthcare: Intro to Data VisualizationExcel for Healthcare: Intro to Data Visualization
Excel for Healthcare: Intro to Data VisualizationGeorge Mount
 
Data and the Liberal Arts Edge
Data and the Liberal Arts EdgeData and the Liberal Arts Edge
Data and the Liberal Arts EdgeGeorge Mount
 
Is Data Science a Liberal Art?
Is Data Science a Liberal Art?Is Data Science a Liberal Art?
Is Data Science a Liberal Art?George Mount
 
From Shakespeare to Spreadsheets: What I Wish I'd Known
From Shakespeare to Spreadsheets: What I Wish I'd KnownFrom Shakespeare to Spreadsheets: What I Wish I'd Known
From Shakespeare to Spreadsheets: What I Wish I'd KnownGeorge Mount
 
From Chaucer to Clusters: Getting Liberal Arts Grads Started with Data
From Chaucer to Clusters:Getting Liberal Arts Grads Started with DataFrom Chaucer to Clusters:Getting Liberal Arts Grads Started with Data
From Chaucer to Clusters: Getting Liberal Arts Grads Started with DataGeorge Mount
 
CWRU Financial Literacy Day
CWRU Financial Literacy DayCWRU Financial Literacy Day
CWRU Financial Literacy DayGeorge Mount
 

More from George Mount (19)

It’s time to open-source your data tools and processes
It’s time to open-source your data tools and processesIt’s time to open-source your data tools and processes
It’s time to open-source your data tools and processes
 
Building the data academy: Measuring ROI
Building the data academy: Measuring ROIBuilding the data academy: Measuring ROI
Building the data academy: Measuring ROI
 
Building your data academy: Assessing candidate skills
Building your data academy: Assessing candidate skillsBuilding your data academy: Assessing candidate skills
Building your data academy: Assessing candidate skills
 
YouTube is not a data upskilling strategy
YouTube is not a data upskilling strategyYouTube is not a data upskilling strategy
YouTube is not a data upskilling strategy
 
Five myths about learning data analytics
Five myths about learning data analyticsFive myths about learning data analytics
Five myths about learning data analytics
 
Building your data academy
Building your data academyBuilding your data academy
Building your data academy
 
Survey and Measure Development in R
Survey and Measure Development in RSurvey and Measure Development in R
Survey and Measure Development in R
 
It's not what you know, it's how you show.
It's not what you know, it's how you show.It's not what you know, it's how you show.
It's not what you know, it's how you show.
 
Mediation in R's lavaan package
Mediation in R's lavaan packageMediation in R's lavaan package
Mediation in R's lavaan package
 
Qualitative Research Study Exercise: Reading Choices and Habits
Qualitative Research Study Exercise: Reading Choices and HabitsQualitative Research Study Exercise: Reading Choices and Habits
Qualitative Research Study Exercise: Reading Choices and Habits
 
Hey, Analyst! Learn Some Content Marketing
Hey, Analyst! Learn Some Content MarketingHey, Analyst! Learn Some Content Marketing
Hey, Analyst! Learn Some Content Marketing
 
Why Be a Social Analyst?
Why Be a Social Analyst? Why Be a Social Analyst?
Why Be a Social Analyst?
 
Excel for Healthcare: Intro to Data Visualization
Excel for Healthcare: Intro to Data VisualizationExcel for Healthcare: Intro to Data Visualization
Excel for Healthcare: Intro to Data Visualization
 
Data and the Liberal Arts Edge
Data and the Liberal Arts EdgeData and the Liberal Arts Edge
Data and the Liberal Arts Edge
 
Is Data Science a Liberal Art?
Is Data Science a Liberal Art?Is Data Science a Liberal Art?
Is Data Science a Liberal Art?
 
From Shakespeare to Spreadsheets: What I Wish I'd Known
From Shakespeare to Spreadsheets: What I Wish I'd KnownFrom Shakespeare to Spreadsheets: What I Wish I'd Known
From Shakespeare to Spreadsheets: What I Wish I'd Known
 
From Chaucer to Clusters: Getting Liberal Arts Grads Started with Data
From Chaucer to Clusters:Getting Liberal Arts Grads Started with DataFrom Chaucer to Clusters:Getting Liberal Arts Grads Started with Data
From Chaucer to Clusters: Getting Liberal Arts Grads Started with Data
 
CWRU Financial Literacy Day
CWRU Financial Literacy DayCWRU Financial Literacy Day
CWRU Financial Literacy Day
 
About Me
About MeAbout Me
About Me
 

Recently uploaded

Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Researchmichael115558
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...amitlee9823
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...amitlee9823
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightDelhi Call girls
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...shivangimorya083
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...shambhavirathore45
 

Recently uploaded (20)

Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 

Teaching coding: What is a faded example?

  • 1. Teaching coding: What is a faded example?
  • 2. Like fill-in-the-blank, but with code • Start with a nearly completed block and ask student to fill in the blanks • As the exercise progresses, include more and more blanks until the student is basically coding independently • Non-blank code is known as “scaffolding”
  • 3. Benefits of faded examples • Students learn by example • Students learn progressively more as they advance • It’s more interactive than a blank page
  • 4. Faded example, example # Faded example # Print the first six rows of iris head(___) # Assign the number of rows of iris # to the variable iris_rowcount iris_rowcount <- ___(iris) # Assign the number of columns of iris # to the variable iris_columncount ___ <- ___ # Does the number of rows in iris equal # the number of columns? ___ # Faded example solution # Print the first six rows of iris head(iris) # Assign the number of rows of iris # to the variable iris_rowcount iris_rowcount <- nrow(iris) # Assign the number of columns of iris # to the variable iris_columncount iris_colcount <- ncol(iris) # Does the number of rows in iris equal # the number of columns? nrow(iris) == ncol(iris)