CS Grade 6-8

Computational Thinking: Decomposition and Abstraction

Breaking problems into parts and focusing on the important details

View Answer Key
Name:
Date:
Score: / 15

Breaking problems into parts and focusing on the important details

CS - Grade 6-8

Instructions: Read each problem carefully. Show your thinking in the space provided.
  1. 1
    A quiz app shown on a tablet connected to four puzzle-piece task icons.

    A student wants to build a simple quiz app. Break this project into at least four smaller tasks using decomposition.

  2. 2
    A school bus on a map with location, time, and seat icons, plus a faded color palette icon.

    Which details should be included in an abstraction for a school bus tracking app: bus number, current location, favorite color of the driver, estimated arrival time, and number of seats? Explain your choices.

  3. 3
    Five classroom cleaning steps shown as icons connected by arrows.

    A teacher says, "Make a plan for cleaning the classroom." Use decomposition to list five smaller steps.

  4. 4
    A video game character with callouts for important features and faded extra details.

    Look at this task: "Create a character for a video game." Name three important details to include in an abstraction and two details that could be ignored at first.

  5. 5
    A recipe search page broken into smaller feature parts with icons.

    A recipe website needs a search feature. Break the search feature into at least four smaller tasks.

  6. 6

    Explain the difference between decomposition and abstraction in your own words.

  7. 7
    A simplified map contrasted with a cluttered scene full of extra details.

    A map app uses a simplified map instead of showing every tree, bench, and mailbox. Is this an example of decomposition or abstraction? Explain.

  8. 8
    A lunch ordering system shown as a sequence of five connected icons.

    A school lunch ordering system has these parts: student login, menu display, order selection, payment, and order confirmation. Which computational thinking strategy is shown by this list? Explain.

  9. 9
    A library book surrounded by icons for catalog information.

    Create an abstraction for a book in a library catalog. List five details that should be stored for each book.

  10. 10
    A delivery robot follows arrows from an office area to a classroom door.

    A robot must deliver a package from the office to Room 204. Decompose the robot's job into six ordered steps.

  11. 11
    A weather app summarizes key information from many faded sensors.

    A weather app shows temperature, chance of rain, wind speed, and a short forecast. It does not show the exact reading from every weather sensor. Why is this an abstraction?

  12. 12
    Five students each connected to a different website-building task icon.

    A team is making a website for a school club. Assign each smaller task to one team member: writing text, choosing images, creating the layout, checking links, and publishing the site. How does decomposition help the team?

  13. 13
    A contact card with essential icons and faded nonessential icons beside it.

    You are designing a contact list app. Decide whether each detail is essential or not essential for a basic contact abstraction: name, phone number, email address, shoe size, home address, favorite movie.

  14. 14
    A brushing teeth flowchart with five icon steps connected by arrows.

    A flowchart for brushing teeth has these steps: get toothbrush, add toothpaste, brush teeth, rinse mouth, clean up. What larger task has been decomposed, and why is the flowchart useful?

  15. 15
    A simple game enemy model is shown evolving into a more detailed enemy design.

    A game designer first models an enemy as only position, health, speed, and attack strength. Later, the designer adds color, sound effects, and animation. Why is starting with the simpler model useful?

LivePhysics™.com CS - Grade 6-8

More CS Worksheets

See all CS worksheets

More Grade 6-8 Worksheets

See all Grade 6-8 worksheets