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

DLCS18.8.3

Create an algorithm using a programming language that includes the use of sequencing, selections, or iterations.

COS Examples

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

Unpacked Content

Knowledge

Students know:
  • how to use a programming language to create algorithms that make use of sequencing, selections, or iterations.

Skills

Students are able to:
  • create programs to make use of sequencing, selections, or iterations.

Understanding

Students understand that:
  • each programming language has a unique way of making use of sequencing, selections, and iterations in algorithms.

Vocabulary

  • algorithm
  • sequence
  • selection
  • iteration
ALSDE LOGO