WJEC A-Level Computer Science 601-5345-3
Hardware: Architecture, Memory and Storage
Networks and Data Transmission
Logic Gates and Boolean Algebra
Data Representation and Data Types
Data Structures
Organisation of Data: Files and Records
Database Systems
The Operating System
Algorithms and Programs
Principles of Programming
Systems Analysis
Software Engineering and Program Construction
Types of Software System
Practical Programming
Data Security and Integrity
Computing, Society and the Law
Advanced Data Structures and Logic
Recursion, Sorting and Searching
Programming Paradigms and Translators
System Design and Human-Computer Interaction
Software Engineering Tools and Professional Practice
Advanced Architecture and Assembly Language
Communication Networks and File Organisation
Number Representation and Floating Point
Databases and Distributed Systems
Operating System Management
Software Systems and Applications
Data Security, Cryptography and Attack
Principles of Programming
Object-oriented programming: objects, classes and methods
- 3 things to know
- AS Unit 1
Overview
Object-oriented programming, relationship between a class and an object and attribute of an object.
What you need to know
Answer each one before you reveal it.
What is a class?
What is an object?
Questions from this subtopic
Each one with the model answer underneath.
- 1
What is object-oriented programming?
Model answer
Object-oriented programming builds a solution from objects, each holding its own data together with the operations that act on that data.
- 2
What is a class?
Model answer
A class is the definition or template for a kind of object, stating what data each object of that kind holds and what operations it can perform.
- 3
What is an object?
Model answer
An object is a single instance created from a class, with its own values stored in the attributes the class defines.
- 4
State the relationship between a class and an object.
Model answer
The class is the definition and the object is one thing created from it, so many objects can exist from a single class.
- 5
What is a method?
Model answer
A method is a subprogram defined inside a class that carries out an operation on the object it is called on.
- 6
What is an attribute of an object?
Model answer
An attribute is an item of data held inside an object, defined by its class and given its own value in each instance.
Other ways to work this
The same content, four other ways.
What is inside Levo
Six ways to work the same material.
Every question in Principles of Programming, on a schedule.
Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.