Computer Science Discoveries Unit 3 Chapter 1 Lesson 4: Shapes and Randomization (18-19)

  Classroom Resource Information  

Title:

Computer Science Discoveries Unit 3 Chapter 1 Lesson 4: Shapes and Randomization (18-19)

URL:

https://studio.code.org/s/csd3-2018/stage/4/puzzle/1

Content Source:

Code.org
Type: Lesson/Unit Plan

Overview:

This lesson extends the drawing skills to include width and height and introduces the concept of random number generation. The class learns to draw with versions of the ellipse() and rect() that include width and height parameters and to use the background() block to fill the screen with color. At the end of the progression, the class is introduced to the randomNumber() block and uses the new blocks to draw a randomized rainbow snake.

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: 6
R6) Produce, review, and revise authentic artifacts that include multimedia using appropriate digital tools.

Digital Literacy and Computer Science
DLIT (2018)
Grade: 6
2) Define a process as a function.

Example: Functions or sets of steps combined to produce a process: turning off your alarm + getting out of bed + brushing your teeth + getting dressed = morning routine.

Digital Literacy and Computer Science
DLIT (2018)
Grade: 6
6) Identify steps in developing solutions to complex problems using computational thinking.

Digital Literacy and Computer Science
DLIT (2018)
Grade: 7
R5) Locate and curate information from digital sources to answer research questions.

Digital Literacy and Computer Science
DLIT (2018)
Grade: 7
5) Solve a complex problem using computational thinking.

Digital Literacy and Computer Science
DLIT (2018)
Grade: 8
R6) Produce, review, and revise authentic artifacts that include multimedia using appropriate digital tools.

Digital Literacy and Computer Science
DLIT (2018)
Grade: 8
2) Explain how abstraction is used in a given function.

Example: Examine a set of block-based code and explain how abstraction was used.

Digital Literacy and Computer Science
DLIT (2018)
Grade: 8
3) Create an algorithm using a programming language that includes the use of sequencing, selections, or iterations.

Example: Use a block-based or script programming language
Step 1: Start
Step 2: Declare variables a, b and c.
Step 3: Read variables a, b and c.
Step 4: If a>b
      If a>c
         Display a is the largest number.
     Else
         Display c is the largest number.
   Else
      If b>c
         Display b is the largest number.
      Else
         Display c is the greatest number.
Step 5: Stop

Tags: algorithm, background, debug, ellipse, order, parameter, problem solving, random, rectangle
License Type: Custom Permission Type
See Terms: https://code.org/tos
For full descriptions of license types and a guide to usage, visit :
https://creativecommons.org/licenses
Accessibility
Comments
  This resource provided by:  
Author: Aimee Bates