AQA A-Level Computer Science Paper 1 Question & Answers
1. object-oriented OOP stands for...
programming
2. instantiation the process of creating an object with data from an existing class
3. constructor the subroutine used for initiation
4. polymorphism the concept of changing a method in a child class which has been inherited from
a parent class, in order to make it work for the data given to the child class
5. overriding process of doing polymorphism
6. class the blueprint on which an object will be initiated, containing attributes and
methods, but no data
7. name an overridden method has the same as a method in the parent class
8. object a class which has been initiated to include data; a specific instance of a class
9. child class a class which has inherited attributes and methods from a parent class
10. inheritance the concept of getting attributes and methods from another class
11. is-a inheritance is described as a relationship
12. aggregation type of association; classes make up other classes, without them being reliant on
each other
13. composition the concept of a class being made up from other classes
14. composition which type of association means classes making up another class being destroyed
means the higher level class ceases to exist?
15. method outlines what happens with the data given to the class
, 16. static a method which can be used without an object of the class being instantiated
17. virtual a method which is defined in the base class, but can be overridden by the method
in the subclass where it will be used
18. abstract a method which is not provided in the base class, so must be provided in the
subclass
19. attribute property of a class
20. parent class the class from which a child class will inherit
21. encapsulation the concept of keeping the attributes, methods and data in one place to prevent
errors
22. association a relationship between classes which isn't necessarily parent and child, but more
dependency-related
23. advantage of oop programs written in modules, meaning they're easy to amend, as only the attected
module needs amending
24. advantage of oop easy to add new functionality by adding a new module
25. advantage of oop most programs written by a team of programmers; modular approach means
programmers can work on one module each
26. advantage of oop objects can inherit attributes and methods, making code reusable throughout the
program
27. advantage of oop changes made usually only within an object; rest of program probably not attected
28. advantage of oop libraries can be created to make reuse of code easy
29. disadvantage of more complex; can be more diflcult to understand
oop
1. object-oriented OOP stands for...
programming
2. instantiation the process of creating an object with data from an existing class
3. constructor the subroutine used for initiation
4. polymorphism the concept of changing a method in a child class which has been inherited from
a parent class, in order to make it work for the data given to the child class
5. overriding process of doing polymorphism
6. class the blueprint on which an object will be initiated, containing attributes and
methods, but no data
7. name an overridden method has the same as a method in the parent class
8. object a class which has been initiated to include data; a specific instance of a class
9. child class a class which has inherited attributes and methods from a parent class
10. inheritance the concept of getting attributes and methods from another class
11. is-a inheritance is described as a relationship
12. aggregation type of association; classes make up other classes, without them being reliant on
each other
13. composition the concept of a class being made up from other classes
14. composition which type of association means classes making up another class being destroyed
means the higher level class ceases to exist?
15. method outlines what happens with the data given to the class
, 16. static a method which can be used without an object of the class being instantiated
17. virtual a method which is defined in the base class, but can be overridden by the method
in the subclass where it will be used
18. abstract a method which is not provided in the base class, so must be provided in the
subclass
19. attribute property of a class
20. parent class the class from which a child class will inherit
21. encapsulation the concept of keeping the attributes, methods and data in one place to prevent
errors
22. association a relationship between classes which isn't necessarily parent and child, but more
dependency-related
23. advantage of oop programs written in modules, meaning they're easy to amend, as only the attected
module needs amending
24. advantage of oop easy to add new functionality by adding a new module
25. advantage of oop most programs written by a team of programmers; modular approach means
programmers can work on one module each
26. advantage of oop objects can inherit attributes and methods, making code reusable throughout the
program
27. advantage of oop changes made usually only within an object; rest of program probably not attected
28. advantage of oop libraries can be created to make reuse of code easy
29. disadvantage of more complex; can be more diflcult to understand
oop