Please enable JavaScript.
Coggle requires JavaScript to display documents.
Computational Thinking - Coggle Diagram
Computational Thinking
Computational Thinking allows us to take a complex problem, understand what the problem is a develop possible solutions. We can present these solutions in a way that a computer or/and a human can understand.
Thinking Abstractly
Representational Abstraction - Remove excessive details to present a problem with only the key features.
Data Abstraction - Details about how data is stored is hidden, programmers can use data structures with knowing.
Layers of Abstraction - The large complex problems will be split into layers. Each layer will have a different role. The highest layer will be close to the user, usually that will be the interface. With the lowest layer performing tasks with amchine components.
Abstraction by generalisation - Group together similarities within a problem to identify it, problems will be categorised as being part of a particular type.
Procedural abstraction - Programmer will be able to utilise the functions without knwoing how they're implemented. This is used in decompositiona nd manipulating data structures.
-
-
-
Thinking Ahead
-
Preconditions
-
Specifying the preconditions means that a subroutine expects the arguments passed to it to meet criteria.
Advantage: Reduces the length and complexity of the program and saves time spent on debugging and maintenance.
-
-
Caching
-
Advantages: Saves time retrieving instructions from secondary storage again. Frequently accessed web pages are cached so content can be quickly loaded up. This frees up bandwidth for other tasks on a network.
-
-