B1.1 Approaches to Computational Thinking Study Guide

Constructing a Problem Specification (B1.1.1)

  • Definition of Problem Specification: This is a short, clear explanation of an issue that requires a solution. It serves as the foundational document for understanding the scope and requirements of a project.

  • Component 1: Problem Statement: A clear, specific description of the issue that needs solving. It identifies the gap between the current state and the desired state.

  • Component 2: Constraints and Limitations: These are restrictions that impact the possible solutions. They are often categorized as:

    • Resources: Includes limits on time, budget, and materials.

    • Technology: Technical limitations or specific platforms that must be used.

    • External Factors: Legal, environmental, or logistical factors outside the immediate control of the developer.

  • Component 3: Objectives and Goals: These define the desired outcomes of the project:

    • Objectives: These are broad statements of intent.

    • Goals: These are specific, measurable targets used to track progress toward the objectives.

  • Component 4: Input Specifications: This defines the data the system will use, including:

    • The type of data (e.g., integer, string, boolean).

    • The format of the data.

    • The characteristics or ranges of the data.

  • Component 5: Output Specifications: This defines the result of the system, focusing on:

    • The format of the solution (e.g., file type, screen display).

    • The content included in the output.

    • The presentation of the solution to the user.

  • Component 6: Evaluation Criteria: These are the benchmarks used to measure whether the solution is successful. They determine if the goals and objectives have been met effectively.

Core Processes of Computational Thinking (B1.1.2)

  • Definition of Computational Thinking: This involves formulating problems and expressing their solutions in a format that can be effectively carried out by a computer.

  • Decomposition: The process of breaking down a complex problem into smaller, more manageable components. By solving these smaller parts, the overall complex problem becomes easier to address.

  • Pattern Recognition: The process of identifying similarities, trends, or recurring elements within data or problems. Recognizing patterns allows for the application of known solutions to new, similar problems.

  • Abstraction: The process of focusing on essential details while ignoring irrelevant or redundant details. This helps in building a general model of the problem.

  • Algorithm Design: Developing step-by-step instructions or rules to solve a problem. These instructions must be logical and sequential so a machine can execute them.

Applying Computational Thinking to Fundamental Concepts (B1.1.3)

  • Software Development Application:

    • Decomposition: Breaking the system down into individual functional components or modules.

    • Pattern Recognition: Identifying reusable code patterns or design patterns to increase efficiency.

    • Abstraction: Using Object-Oriented Programming (OOP) principles to represent real-world entities as simplified objects.

    • Algorithm Design: Developing the specific logic needed for business processes and data manipulation.

  • Machine Learning Application:

    • Decomposition: Breaking the workflow into distinct stages: features, the model, training processes, and testing phases.

    • Pattern Recognition: Identifying recurring structures or correlations within vast datasets.

    • Abstraction: Selecting only relevant features for the model while discarding noise or non-predictive data.

    • Algorithm Design: Applying specific mathematical algorithms, such as decision trees or regression analysis, to train the model.

  • Game Development Application:

    • Decomposition: Dividing the game into separate systems like input handling, physics engines, and scoring mechanisms.

    • Pattern Recognition: Recognizing standard game mechanics or player behaviors that occur across different levels or genres.

    • Abstraction: Building object models for game elements (e.g., characters, items) to simplify their interactions.

    • Algorithm Design: Creating specific logic for events, collision detection, and score calculation.

Tracing Flowcharts for Programming Algorithms (B1.1.4)

  • Purpose of Flowcharts: Flowcharts are visual representations used to map out processes, decisions, and the control flow within an algorithm.

  • Tracing Execution: Tracing is the process of following an algorithm or flowchart step-by-step. This is done to:

    • Determine the final outputs given specific inputs.

    • Identify logical errors or "bugs" in the flow of the algorithm.

  • Standard Flowchart Symbols:

    • Start/End: Represented by an oval (terminator), indicating the beginning or conclusion of the process.

    • Arrows: Denote the direction of the flow (the sequence of steps).

    • Input/Output: Represented by a parallelogram, used when the system receives data or returns a result.

    • Process: Represented by a rectangle, used for instructions, calculations, or data manipulations.

    • Decision (Conditionals): Represented by a diamond, used where a choice must be made (usually "yes/no" or "true/false") which determines the subsequent path taken in the flowchart.