100% tevredenheidsgarantie Direct beschikbaar na betaling Zowel online als in PDF Je zit nergens aan vast
logo-home
Summary A Level Computer Science revision notes - 2.1 Elements of computational thinking $5.84
In winkelwagen

Samenvatting

Summary A Level Computer Science revision notes - 2.1 Elements of computational thinking

 0 keer verkocht
  • Vak
  • Instelling

Revision notes for 2.1 Elements of computational thinking. Included in the content for OCR A Level Computer Science Paper 2. These notes were originally written in Markdown language and converted to a pdf.

Voorbeeld 2 van de 8  pagina's

  • 31 augustus 2024
  • 8
  • 2023/2024
  • Samenvatting
avatar-seller
2.1.1 Thinking abstractly
(a) The nature of abstraction.
Abstraction
• the removal of unnecessary details
• allows programmers to focus on core aspects and requirements of code
Representational abstraction
• simplifying a problem based on what is relevant to the given scenario
Abstraction by generalisation
• grouping together similarities to identify the type of problem
• categorising a problem as a particular type can allow it to be solved by a
common solution
• sections of a problem with similar underlying functionality can be solved with
code that can be reused
Data abstraction
• details about how data is represented are hidden
• allows programmers to use abstract data structures without knowing how they
are implemented (e.g. queues and stacks)
Procedural abstraction
• use of functions in programming without having knowledge of the code used to
implement this functionality
• also used in decomposition


(b) The need for abstraction.
The need for abstraction
• allows non-experts to use a range of systems and models by concealing
information that is too complex or irrelevant to its purpose
Complex problems
• large problems will require multiple levels of abstraction
• highest levels of abstraction are closer to user (e.g. providing an interface to
interact with hardware)

, • lowest levels are responsible for the execution of machine code to perform these
tasks
Software development
• abstraction is best used early on in a project
• removal of irrelevant details prevents programs from becoming unnecessarily
large
• design will be more efficient as only key features are focussed on
• reduces the time needed to be spent on the project
High level languages
• using machine code requires the programmer to know the functions of specific
binary codes to write programs
• as this interacts directly with the computer system
• high level languages provide an abstraction for the machine code that is
executed when the program is run
• syntax of high level languages is closer to natural language than low level
languages making it easier to learn
• this makes programming accessible to non-specialists
Layers of abstraction
• each abstracted layer can be used without having to understand how the other
layers work
Example: networking
• TCP/IP is an abstracted model of how a network functions
• it is split into four layers that each deal with a different part of the
communication process
• standards are used to ensure compatibility between each layer and allow each
layer to be dealt with individually


(c) The differences between an abstraction and reality.
The differences between an abstraction and reality
• abstraction aims to be a simplified representation of reality
• the use of computational structures to represent real-world entities

Voordelen van het kopen van samenvattingen bij Stuvia op een rij:

Verzekerd van kwaliteit door reviews

Verzekerd van kwaliteit door reviews

Stuvia-klanten hebben meer dan 700.000 samenvattingen beoordeeld. Zo weet je zeker dat je de beste documenten koopt!

Snel en makkelijk kopen

Snel en makkelijk kopen

Je betaalt supersnel en eenmalig met iDeal, creditcard of Stuvia-tegoed voor de samenvatting. Zonder lidmaatschap.

Focus op de essentie

Focus op de essentie

Samenvattingen worden geschreven voor en door anderen. Daarom zijn de samenvattingen altijd betrouwbaar en actueel. Zo kom je snel tot de kern!

Veelgestelde vragen

Wat krijg ik als ik dit document koop?

Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.

Tevredenheidsgarantie: hoe werkt dat?

Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.

Van wie koop ik deze samenvatting?

Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper alinat. Stuvia faciliteert de betaling aan de verkoper.

Zit ik meteen vast aan een abonnement?

Nee, je koopt alleen deze samenvatting voor $5.84. Je zit daarna nergens aan vast.

Is Stuvia te vertrouwen?

4,6 sterren op Google & Trustpilot (+1000 reviews)

Afgelopen 30 dagen zijn er 75341 samenvattingen verkocht

Opgericht in 2010, al 15 jaar dé plek om samenvattingen te kopen

Start met verkopen

Laatst bekeken door jou


$5.84
  • (0)
In winkelwagen
Toegevoegd