• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 18 pages
Exam (elaborations)

OCR A Level Computer Science Paper 2

Document preview thumbnail
Preview 3 out of 18 pages

OCR A Level Computer Science Paper 2 OCR A Level Computer Science Paper 2 OCR A Level Computer Science Paper 2

Content preview

OCR A Level Computer Science Paper 2
Abstraction - ANS the process of removing any excessive details from a problem, arriving at a
representation of said problem that consists only of its key features.



Representional Abstraction - ANS Analysing what is relevant to a given scenario and simplifying a
problem based on this information



Abstraction by Generalisation - ANS Grouping together similarities within a problem to identify what
kind of problem it is. This allows different problems to be categorised as being a particular type, and
solved using a common solution.



Data Abstraction - ANS Details about how data is being stored are hidden. Therefore programmers can
make use of abstract data structures such as stacks and queues without worrying about how they are
implemented.



Procedural Abstraction - ANS Programmers can perform functions (such as pushing and popping items
to and from stacks) without having any knowledge about the code used to implement this.



Abstraction Levels - ANS Higher levels are closer to the user (e.g. providing a UI for them) whereas the
lowest levels are further away (e.g. execution of machine code)



What is the purpose of abstraction in systems and models? - ANS It allows non-experts to utilize
systems/models by hiding complex or irrelevant information.



How does abstraction contribute to efficient software design? - ANS It enables programmers to focus on
essential elements, reducing project time by eliminating unnecessary details.



What are low-level programming languages? - ANS Languages like machine code that directly interact
with computers but are harder to write due to specific binary codes.

,What are high-level programming languages known for? - ANS Providing an abstraction for machine
code, making development easier with syntax similar to natural language.



What is the TCP/IP model's purpose? - ANS It serves as an abstraction for network functions, divided
into four layers to simplify understanding and communication.



Why is compatibility between layers crucial in the TCP/IP model? - ANS To ensure smooth
communication, standards are necessary to allow each layer to function independently while hiding
details of other layers.



What is a standard in the context of hardware or software? - ANS A set of specifications agreed upon by
academic and industry communities to ensure compatibility and functionality.



Abstraction vs Reality - ANS Real-world entities can be represented using computational structures, such
as tables and databases. Real-world values will often be stored as variables.



Thinking Ahead - ANS allows developers to consider problems or difficulties that may arise when the
software is used.



How is Thinking Ahead Used? - ANS consideration of what outputs are required of the solution, and
identify the inputs required and how these need to be processed to achieve the outputs after.



Satisfied Preconditions - ANS a subroutine can safely expect the arguments passed to meet certain
criteria.



Preconditions in Documentation - ANS For example, the factorial function, which can only be used with
positive numbers. Rather than checking the arguments, the documentation accompanying this function
will specify this.

, Caching - ANS the process of storing instructions or values in cache memory after they have been used,
as they may be used again.



Prefetching - ANS more advanced version of caching that involves algorithms predicting which
instructions are likely to be fetched soon. The instructions and data are then loaded and stored in cache
before they can be fetched



Limitations of Prefetching - ANS the accuracy of the algorithms used, as they can only provide an
informed prediction as to the instructions which are likely to be used. There is no guarantee that this will
be right.



Why are reusable program concepts important? - ANS They save time, money, and resources by
allowing components to be reused in multiple places.



What are examples of reusable components in software development? - ANS Implementations of
abstract data structures, classes, subroutines.



What is the advantage of using reusable components over newly-coded ones? - ANS Reusable
components are more reliable as they have been tested for bugs.



What is a potential drawback of integrating existing components developed by third parties? - ANS
Compatibility issues with the rest of the software may require costly modifications.



Thinking Procedurally - Decomposition - ANS involves taking the problem defined by the user and
breaking it down into its component parts.



Stepwise Refinement - ANS Higher levels provide a more brief overview of the problem, whereas lower
levels provide an increasingly more in-depth coverage.

Document information

Uploaded on
October 24, 2024
Number of pages
18
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$13.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
lectjoseph
3.5
(10)
Sold
81
Followers
23
Items
5457
Last sold
1 month ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions