Line Drawing

Learning Resource Type

Classroom Resource

Subject Area

Digital Literacy and Computer Science

Grade(s)

7, 8, 9, 10, 11, 12

Overview

Computers draw lines and circles during many common tasks, such as using an image editor. But how does a computer know which pixels to darken to make a line?

Students will discover two common algorithms used to draw a line between two points and a circle of a given radius. 

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

DLCS18.7.3

Create algorithms that demonstrate sequencing, selection or iteration.

UP:DLCS18.7.3

Vocabulary

  • algorithm
  • sequence
  • selection
  • iteration

Knowledge

Students know:
  • how to use the programming structures to create algorithms and how many algorithms make use of all three programming structures.

Skills

Students are able to:
  • create and recognize various programming structures found in algorithms.

Understanding

Students understand that:
  • each structure sequencing, selections, and iterations have a purpose.
Digital Literacy and Computer Science (2018) Grade(s): 7

DLCS18.7.6

Create and organize algorithms in order to automate a process efficiently.

UP:DLCS18.7.6

Vocabulary

  • algorithm

Knowledge

Students know:
  • algorithms can be used to automate a process efficiently.

Skills

Students are able to:
  • use search and sort algorithms to automate organizing a set.

Understanding

Students understand that:
  • algorithms organized and applied to the appropriate task can significant increase proficiency.
Digital Literacy and Computer Science (2018) Grade(s): 8

DLCS18.8.5

Discuss the efficiency of an algorithm or technology used to solve complex problems.

UP:DLCS18.8.5

Knowledge

Students know:
  • that many solutions exist to solve a problem.

Skills

Students are able to:
  • communicate their opinion on the efficiency of problem solving methods.

Understanding

Students understand that:
  • while many solutions exist for a problem, some are better suited to meet specific needs, such as efficiency.
Digital Literacy and Computer Science (2018) Grade(s): 09-12

DLCS18.HS.4

Use and adapt classic algorithms to solve computational problems.

UP:DLCS18.HS.4

Knowledge

Students know:
  • classic algorithms exist that can be used and adapted to meet one's needs.
  • that it can be easier to alter code than to create it from scratch.

Skills

Students are able to:
  • use and adapt classic algorithms to solve computational problems.

Understanding

Students understand that:
  • algorithms can be altered to fit another use than originally designed for.

CR Resource Type

Learning Activity

Resource Provider

CS Unplugged

License Type

Attribution Non-Commercial Share Alike

Resource Provider other

CS Unplugged

Accessibility

Text Resources: Content is organized under headings and subheadings
ALSDE LOGO