# ALEX Classroom Resource

## Computer Science Fundamentals Unit 7 Course F Lesson 12: Functions With Minecraft (2018)

Classroom Resource Information

Title:

Computer Science Fundamentals Unit 7 Course F Lesson 12: Functions With Minecraft (2018)

URL:

https://curriculum.code.org/csf-18/coursef/12/

Content Source:

Code.org
Type: Lesson/Unit Plan

Overview:

Students will begin to understand how functions can be helpful in this fun and interactive Minecraft adventure!

Students will discover the versatility of programming by practicing functions in different environments. Students will recognize reusable patterns and be able to incorporate named blocks to call pre-defined functions.

Students will be able to:
- use functions to simplify complex programs.
- use pre-determined functions to complete commonly repeated tasks.

Note: You will need to create a free account on code.org before you can view this resource.

Content Standard(s):
 Digital Literacy and Computer Science DLIT (2018) Grade: 5 2) Create an algorithm to solve a problem while detecting and debugging logical errors within the algorithm. Examples: Program the movement of a character, robot, or person through a maze. Define a variable that can be changed or updated. Unpacked Content Evidence Of Student Attainment:Students will: create an algorithm to solve a problem. detect and debug logical errors within an algorithm.Teacher Vocabulary:algorithm debug detect logical errorsKnowledge:Students know: an algorithm is a logical set of steps to solve a problem. detecting and debugging logical errors within an algorithm will ensure the algorithm serves to solve a problem successfully.Skills:Students are able to: create an algorithm to solve a problem while detecting and debugging logical errors within the algorithm.Understanding:Students understand that: debugging an algorithm is searching for logical errors within the algorithm. an algorithm is a set of steps to solve a problem. how to create an algorithm to solve a problem while detecting and debugging logical errors within the algorithm. Digital Literacy and Computer Science DLIT (2018) Grade: 5 3) Create an algorithm that is defined by simple pseudocode. Unpacked Content Evidence Of Student Attainment:Students will: create set of steps that is written in simple pseudocode.Teacher Vocabulary:algorithm pseudocodeKnowledge:Students know: simple pseudocode resembles language used to communicate with computers.Skills:Students are able to: create an algorithm that is written in simple pseudocode.Understanding:Students understand that: an algorithm that is written in simple pseudocode is similar to an algorithm written using a programming language. Digital Literacy and Computer Science DLIT (2018) Grade: 5 6) Create a working program in a block-based visual programming environment using arithmetic operators, conditionals, and repetition in programs. Unpacked Content Evidence Of Student Attainment:Students will: create a working program in a blockbased visual programming environment. create a program in a blockbased visual programming environment using arithmetic operators such as AND, OR, and NOT. create a program in a blockbased visual programming environment using conditionals such as IF, THEN, and/or ELSE. create a program in a blockbased visual programming environment using repetition or loops.Teacher Vocabulary:program block-based visual programming environment arithmetic operators conditionals repetitionKnowledge:Students know: how to create a working program in a block-based visual programming environment. reasons for using arithmetic operators, conditionals, and repetition in programs.Skills:Students are able to: create a working program in a block-based visual programming environment using arithmetic operators, conditionals, and repetition in programs.Understanding:Students understand that: arithmetic operators, conditionals, and repetition in programs make more operations possible and can reduce the complexity or length of code.
Tags: algorithm, functions, Minecraft, patterns