Decomposition and Abstraction

Cards (9)

  • Decomposition is the process of breaking down complex problems into smaller and more manageable parts.
  • Abstraction involves removing unnecessary details to focus on important details of a problem or system.
  • What can computers be used to solve?
    Problems
  • What does computational thinking enable us to do?
     It allows us to take a complex problem, understand what the problem is and develop possible solutions.
  • What is logical reasoning?
    Programmers being able to work out exactly what to tell the computer to do.
  • How might you decompose the complex problem of how to create an app?
    Think about:
    • what your app will look like
    • who are the target audience for your app
    • how will you sell your app
    • how will you promote the app
  • What are subprograms?

    small programs that are written within a larger, main program designed to carry out a specific task
  • What are the two types of subprograms/subroutines?
    Functions and Procedures
  • Benefits of subprograms?

     easy to write and debug
    able to be used repeatedly throughout main program
    only need to be written once