2.1.1 thinking abstractly Flashcards
basically abstraction LOL
what is representational abstraction?
a technique in which excessive details are removed to arrive at a representation of a problem that only consists of the key features
what is abstraction by generalisation?
it involves grouping together similarities within a problem to identify what kind of problem it is
what is data abstraction?
details about how the data is being stored are hidden
what are the advantages of using abstraction for software development?
easier for programmers to focus on core elements
reduces the time needed to be spent on the project
prevents the program from getting unnecessarily large
what are the advantages of using abstraction in programming languages?
easier to remember syntax in high level as it is closer to natural language
coding becomes accessible to beginners
how is abstraction used in object oriented programming?
objects are an abstraction for real world entities
attributes are an abstraction for the characteristics of an object
methods are an abstraction for the actions a real world object is able to perform
what is the difference between abstraction and reality?
abstraction is the simplified version of reality
what is procedural abstraction?
it models what a subroutine does without considering how its done
what is functional abstraction?
simplifying a problem by breaking it down into a series of reusable functions which disregard the particular computational method