SlideShare a Scribd company logo
A Practical
Introduction to Coding
Events in Libraries
Karin Dalziel - kdalziel@unl.edu
Elizabeth Lorang - llorang2@unl.edu
Jennifer L. Thoegersen - jthoegersen2@unl.edu
October 15, 2015
http://go.unl.edu/coding
•Why code, and why should
libraries host coding events?
•Programming concepts
•Blockly demo
•How?
•Resources
•Play time!
Agenda
?
?Coding is the creation of
instructions to make a
computer perform specific
tasks.
What is Coding? ?
?
?Why?
??
?
?
An algorithm is a set of instructions,
like a recipe, which will generate an
outcome when followed.
001: Measure out 4 cups of flour
002: Measure out 1 tablespoon of yeast
003: Measure out 1 teaspoon of salt
004: Add items from 001-003 to bowl
005: Measure out 4 cups of water
006: Add item from 005 to bowl
007: Mix all ingredients
Programming Concepts
Algorithms
A loop is a way to repeat an
instruction until a
condition is reached. You
could iterate through a list
(for each pet in list A) or
count down the number of
times (while x is less than
10).
Programming Concepts
Loop
Conditionals follow an if/
then/else structure and help
break down complicated
structures into manageable
chunks.
for each pet in pets
if pet is dog
then let outside
else keep inside
end
Programming Concepts
Conditionals
max_weight = 0
heaviest_pet = NULL
for each {pet_name, pet_weight} in
pets
    if pet_weight > max_weight
         max_weight = pet_weight
         heaviest_pet = pet_name
    end
 end
print "The heaviest pet is " +
heaviest_pet + " at " + max_weight +
" pounds!"
Programming Concepts
All Together
pets = {
"Pye" => 10,
"Corwin" => 15,
"Zipper" => 14,
"Oogie" => 75,
"Nemo" => 8,
"Koda" => 50
}
Blockly Demo
https://blockly-games.appspot.com/maze?lang=en&level=1&skin=2
?How?
??
?
?
Don’t panic! There are
organizations and
individuals as well as
existing activities to
help you.
Resources
Play time!
A Practical
Introduction to Coding
Events in Libraries
Karin Dalziel - kdalziel@unl.edu
Elizabeth Lorang - llorang2@unl.edu
Jennifer L. Thoegersen - jthoegersen2@unl.edu
October 15, 2015
http://go.unl.edu/coding

More Related Content

More from karindalziel

Alternative Searching
Alternative SearchingAlternative Searching
Alternative Searchingkarindalziel
 
Boxes
BoxesBoxes
Zotero Presentation for UNO History Dept.
Zotero Presentation for UNO History Dept.Zotero Presentation for UNO History Dept.
Zotero Presentation for UNO History Dept.karindalziel
 
One Laptop Per Child presentation - 2/1/08 @ Nebraska Library Commission
One Laptop Per Child presentation - 2/1/08 @ Nebraska Library CommissionOne Laptop Per Child presentation - 2/1/08 @ Nebraska Library Commission
One Laptop Per Child presentation - 2/1/08 @ Nebraska Library Commission
karindalziel
 
Zotero And Refworks
Zotero And RefworksZotero And Refworks
Zotero And Refworks
karindalziel
 
Light - just for fun
Light - just for funLight - just for fun
Light - just for funkarindalziel
 
Portable Applications
Portable ApplicationsPortable Applications
Portable Applicationskarindalziel
 
Open Access for Librarians
Open Access for LibrariansOpen Access for Librarians
Open Access for Librarians
karindalziel
 
@yourlibrary assignment
@yourlibrary assignment@yourlibrary assignment
@yourlibrary assignmentkarindalziel
 
portable apps
portable appsportable apps
portable apps
karindalziel
 

More from karindalziel (10)

Alternative Searching
Alternative SearchingAlternative Searching
Alternative Searching
 
Boxes
BoxesBoxes
Boxes
 
Zotero Presentation for UNO History Dept.
Zotero Presentation for UNO History Dept.Zotero Presentation for UNO History Dept.
Zotero Presentation for UNO History Dept.
 
One Laptop Per Child presentation - 2/1/08 @ Nebraska Library Commission
One Laptop Per Child presentation - 2/1/08 @ Nebraska Library CommissionOne Laptop Per Child presentation - 2/1/08 @ Nebraska Library Commission
One Laptop Per Child presentation - 2/1/08 @ Nebraska Library Commission
 
Zotero And Refworks
Zotero And RefworksZotero And Refworks
Zotero And Refworks
 
Light - just for fun
Light - just for funLight - just for fun
Light - just for fun
 
Portable Applications
Portable ApplicationsPortable Applications
Portable Applications
 
Open Access for Librarians
Open Access for LibrariansOpen Access for Librarians
Open Access for Librarians
 
@yourlibrary assignment
@yourlibrary assignment@yourlibrary assignment
@yourlibrary assignment
 
portable apps
portable appsportable apps
portable apps
 

Recently uploaded

CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
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
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
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
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
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
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
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
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
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
 
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
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
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
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 

Recently uploaded (20)

CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
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 Á...
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
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
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
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...
 
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
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
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
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 

A Practical Introduction to Coding Events in Libraries

  • 1. A Practical Introduction to Coding Events in Libraries Karin Dalziel - kdalziel@unl.edu Elizabeth Lorang - llorang2@unl.edu Jennifer L. Thoegersen - jthoegersen2@unl.edu October 15, 2015 http://go.unl.edu/coding
  • 2. •Why code, and why should libraries host coding events? •Programming concepts •Blockly demo •How? •Resources •Play time! Agenda
  • 3. ? ?Coding is the creation of instructions to make a computer perform specific tasks. What is Coding? ? ?
  • 5. An algorithm is a set of instructions, like a recipe, which will generate an outcome when followed. 001: Measure out 4 cups of flour 002: Measure out 1 tablespoon of yeast 003: Measure out 1 teaspoon of salt 004: Add items from 001-003 to bowl 005: Measure out 4 cups of water 006: Add item from 005 to bowl 007: Mix all ingredients Programming Concepts Algorithms
  • 6. A loop is a way to repeat an instruction until a condition is reached. You could iterate through a list (for each pet in list A) or count down the number of times (while x is less than 10). Programming Concepts Loop
  • 7. Conditionals follow an if/ then/else structure and help break down complicated structures into manageable chunks. for each pet in pets if pet is dog then let outside else keep inside end Programming Concepts Conditionals
  • 8. max_weight = 0 heaviest_pet = NULL for each {pet_name, pet_weight} in pets     if pet_weight > max_weight          max_weight = pet_weight          heaviest_pet = pet_name     end  end print "The heaviest pet is " + heaviest_pet + " at " + max_weight + " pounds!" Programming Concepts All Together pets = { "Pye" => 10, "Corwin" => 15, "Zipper" => 14, "Oogie" => 75, "Nemo" => 8, "Koda" => 50 }
  • 11. Don’t panic! There are organizations and individuals as well as existing activities to help you. Resources
  • 13. A Practical Introduction to Coding Events in Libraries Karin Dalziel - kdalziel@unl.edu Elizabeth Lorang - llorang2@unl.edu Jennifer L. Thoegersen - jthoegersen2@unl.edu October 15, 2015 http://go.unl.edu/coding