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.

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
A Level Computer Science revision resources

Share this article

James Woodhouse

Reviewer: James Woodhouse

Expertise: Computer Science & English Subject Lead

James graduated from the University of Sunderland with a degree in ICT and Computing education. He has over 14 years of experience both teaching and leading in Computer Science, specialising in teaching GCSE and A-level. James has held various leadership roles, including Head of Computer Science and coordinator positions for Key Stage 3 and Key Stage 4. James has a keen interest in networking security and technologies aimed at preventing security breaches.

The examiner written revision resources that improve your grades 2x.

Join now