Computer Science Discoveries Unit 2 Chapter 1 Lesson 8: Clean Code and Debugging

Learning Resource Type

Classroom Resource

Subject Area

Digital Literacy and Computer Science

Grade(s)

6, 7

Overview

This lesson covers common issues that arise when designing web pages in HTML to include the use of intellectual property. The class will correct errors in a sequence of increasingly complex web pages found on Code Studio and learn the importance of comments (narratives), whitespace, and indentation as tools for making web pages easier to read.

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

Digital Literacy and Computer Science (2018) Grade(s): 6

DLCS18.6.10

Describe the causes and effects of illegal use of intellectual property as it relates to print and digital media, considering copyright, fair use, licensing, sharing, and attribution.

UP:DLCS18.6.10

Vocabulary

  • intellectual property
  • attribution

Knowledge

Students know:
    that intellectual property refers to creations such as inventions, literary and artistic works, designs, symbols, names, and images.
  • that illegal use of intellectual property can cause monetary damages to the property owner as well as fines and jail time for the property thief.

Skills

Students are able to:
  • use intellectual property in a manner allowed by copyright, fair use, licensing, sharing, and attribution.

Understanding

Students understand that:
  • misuse of intellectual property is illegal and will result in negative consequences.
Digital Literacy and Computer Science (2018) Grade(s): 7

DLCS18.7.8

Formulate a narrative for each step of a process and its intended result, given pseudocode or code.

UP:DLCS18.7.8

Vocabulary

  • narrative
  • pseudocode

Knowledge

Students know:
  • that a narrative is a spoken or written account of events.

Skills

Students are able to:
  • identify the intended process in a given code or pseudocode.
  • convert given code or pseudocode to a narrative of expected behavior.

Understanding

Students understand that:
  • every line of code has an intended behavior.

CR Resource Type

Lesson/Unit Plan

Resource Provider

Code.org

License Type

Custom
ALSDE LOGO