Attribute - A Level Computer Science Definition
Reviewed by: James Woodhouse
Last updated
What is an attribute?
In A Level Computer Science, an attribute is a characteristic or property of an object in programming and databases. It defines specific details about an entity, such as a user's name in a database or the colour of an object in object-oriented programming.
Attributes in databases vs. programming
Databases: Attributes correspond to columns in a table.
OOP: Attributes (also called fields or properties) store object-specific data.
Revision resources to ace your exams
Explore attributes in more detail and master other key related terms such as classes, methods, and objects in our revision note pages here:
Attributes (OOP) (OCR A Level Computer Science)
Challenge yourself with our expertly crafted topic questions and strengthen your understanding with our engaging past papers.
Examiner-written A Level Computer Science revision resources that improve your grades 2x
- Written by expert teachers and examiners
- Aligned to exam specifications
- Everything you need to know, and nothing you don’t

Share this article