Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 14 pages
Exam (elaborations)

OCR A Level Computer Science Paper 2 Practice Questions and Answers

Document preview thumbnail
Preview 2 out of 14 pages

Abstraction a way of separating logical and physical parts of a problem e.g. the london underground map. You get rid of unnecessary details Problem abstraction where you keep removing details until the problem reduces to one that has already been solved Modelling and Simulation Building a model of a real world object can be used to solve a particular problem such as Aircraft simulation, Climate change models Precondition is the logic part of a statement statement that has to be true for the processing part of the algorithm before it can function Specifiying a precondition before creating an algorithm ensures The data is ok to process e.g. if it was empty it could cause the program to crash. The function is reusable It reduces unnecessary checks It makes programs easier to debug and maintain It makes programs clearer and shorter Progamming standards that make programs easy to resuse include Documenting inputs, outputs and preconditions Variables should use camelCase or PascalCase All variables should be local to that module The documentation should contain information such as who made it, what it does and when it was written. The code should be annotated where necessary The module should not be greater than one page of code Caching the temporary storage of data instructions so that the information can be achieved quicker than performing a calculation e.g. frequently accessed web pages can be stored locally The advantages pf caching It's faster to access information that is cached This saves the cost of bandwidth It also reduces the load on web services in a client-server environment Disadvantages of caching There is slower performance if the result is not found in the cache


Document information

Uploaded on
June 4, 2024
Number of pages
14
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$9.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
Salano
3.0
(1)
Sold
6
Followers
3
Items
1053
Last sold
1 year 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

Whoops! We can’t load your doc right now. Try again or contact support.