Computational Thinking

Cards (24)

  • What is the purpose of abstraction in computational thinking?
    To remove unnecessary elements
  • How does abstraction increase the chance of program success?
    By focusing on core aspects of the program
  • What is a consequence of too much abstraction in a game?
    It may become too simplistic or unrealistic
  • What is caching in computing?
    Storing frequently used data for quick access
  • Why is caching beneficial for data retrieval?
    It allows faster access for future use
  • What must Kamran consider when using caching?
    The feasibility based on item search frequency
  • What is a reusable component in programming?
    A piece of code used multiple times
  • What is the benefit of using subroutines?
    They allow code to be reused efficiently
  • Why are library routines advantageous in programming?
    They perform common tasks and are error-free
  • How do reusable components save time in programming?
    They do not need to be rewritten
  • What is problem recognition in computational thinking?
    Identifying that there is a problem to solve
  • What does problem decomposition involve?
    Splitting a problem into smaller parts
  • Why is decomposition important in programming?
    It allows manageable sections to be solved
  • What is a subprogram?
    A self-contained piece of code called from others
  • How does decomposition increase productivity in programming?

    Different teams can work on modules simultaneously
  • What is the risk of parallel processing in decomposition?
    Recombining parts into a single solution may be difficult
  • What is the purpose of the Divide and Conquer strategy?
    To solve smaller sections of a problem individually
  • What is concurrent programming?
    Processes happening simultaneously or overlapping
  • What is a limitation of concurrent processing in searching data?
    It is limited by bottlenecks like storage access
  • What is the benefit of caching?
    It speeds up retrieval of previously used data
  • What is the advantage of concurrent processing?
    It allows multiple processes to solve problems
  • What does branching in programming do?
    Decides which code is executed
  • What is iteration in programming?
    Repeatedly runs the same code in sequence
  • What is sequence in programming?
    A series of instructions performed in order