By the end of this chapter, you will be able to:
Mastering these skills will help you build powerful, flexible databases that meet real-world needs in today’s technology-driven workplaces.
Database systems are fundamental to modern computer science, especially in Kenya's growing technology sector where managing complex data efficiently is crucial. As software development increasingly embraces object-oriented programming, the design of object-oriented databases (OODBs) becomes essential for professionals aiming to handle data that naturally fits into object models. This chapter explores the principles behind object-oriented databases and compares them with traditional database models, equipping students with advanced skills to design databases that support complex applications such as enterprise resource planning systems, simulation software, and multimedia databases commonly used in Kenyan universities and tech firms.
Kenyan computer scientists and software developers require a deep understanding of object-oriented databases to build scalable, flexible systems that integrate seamlessly with object-oriented programming languages like Java and C#. This topic introduces the concept of object-oriented databases, explaining their core characteristics and how they differ from relational and hierarchical databases widely used in sectors such as banking and government agencies.
Object-oriented databases represent a paradigm in database management that aligns closely with object-oriented programming principles. Unlike traditional databases that store data in tables, object-oriented databases store data as objects, similar to how objects are defined in programming languages. Each object encapsulates both data (attributes) and behavior (methods), allowing for more natural modeling of real-world entities.
In Kenya, where software projects often involve complex data interactions such as in e-government platforms or mobile banking apps developed by institutions like Equity Bank, object-oriented databases facilitate the creation of systems that mirror application logic. This reduces impedance mismatch between the database and application layers, improving efficiency and maintainability.
Understanding how object-oriented databases compare with other database models is crucial for selecting the right system based on application requirements. This section examines the distinctions between object-oriented databases and relational, hierarchical, and network databases, highlighting the strengths and limitations of each approach.
Relational databases dominate in Kenyan financial institutions like KCB due to their robustness and maturity. However, object-oriented databases are gaining traction in sectors requiring complex data handling, such as multimedia management in universities or integrated hospital information systems at Kenyatta National Hospital, where the data objects represent patients, treatments, and medical records with embedded behaviors.
Create a free account to open more of this chapter.
Free: practical guides, quick cards, workplace scenarios and more.
Create a free accountThis chapter explored the design of object-oriented databases, beginning with a clear definition of what constitutes an object-oriented database and how it differs from other database types such as relational and hierarchical databases. The core concepts of object-oriented databases were examined, including the roles of classes as blueprints for objects, the individual objects themselves, the attributes that define object properties, and the mechanism of inheritance that allows classes to derive characteristics from parent classes. The chapter then detailed the process of implementing these object-oriented database concepts based on a given set of requirements, emphasizing the translation of theoretical models into practical database structures. Additionally, the creation of views was discussed as a way to present tailored subsets of data, while triggers were introduced as automated procedures that respond to specific database events. This comprehensive coverage provided a foundation for understanding how object-oriented principles enhance database design and functionality in complex data environments.
Type: Individual
| Tools & Equipment | Materials |
|---|---|
| Functional computer installed with word processing software | Plain A4 writing paper |
| Pen |
| S/N | Item | Quantity |
|---|---|---|
| 1 | Functional computer installed with word processing software | 1 Pc per Candidate |
| 2 | Plain A4 writing paper | 2 Sheets per Candidate |
| 3 | Pen | 1 Pc per Candidate |
| Items to be Evaluated | Marks Available | Marks Obtained | Comments |
|---|---|---|---|
| TASK 1: Explanation and Definition of Object-Oriented Database | |||
| Observed computer laboratory rules during task execution (Award 2 marks or zero) | 2 | ||
| Researched and identified key concepts of object-oriented database (Award 1 mark for each correct concept identified, max 5) | 5 | ||
| Wrote a clear and correct definition of object-oriented database (Award 5 marks for a precise and accurate definition) | 5 | ||
| Explained the main features of object-oriented databases such as encapsulation, inheritance, and polymorphism (Award 2 marks for each feature correctly explained) | 6 | ||
| Provided examples of object-oriented database systems (Award 1 mark per correct example, max 3) | 3 | ||
| Used correct technical terminology and coherent structure in the write-up (Award up to 4 marks for clarity, terminology, and presentation) | 4 | ||
| Sub-Total | 25 | ||
| PRODUCT CHECKLIST | |||
| Written explanation and definition meets minimum 300 words, is legible or properly typed, and contains accurate information (Award 5 marks if all conditions met, else zero) | 5 | ||
| Sub-Total | 5 | ||
| GRAND TOTAL | 30 | ||
Type: Individual
| Tools & Equipment | Materials |
|---|---|
| Functional computer with internet access | Plain A4 paper |
| Pen |
| S/N | Item | Quantity |
|---|---|---|
| 1 | Functional computer with internet access | 1 Pc per Candidate |
| 2 | Plain A4 paper | 3 Sheets per Candidate |
| 3 | Pen | 1 Pc per Candidate |
| Items to be Evaluated | Marks Available | Marks Obtained | Comments |
|---|---|---|---|
| TASK 1: Preparation and Research | |||
| Observed computer laboratory rules throughout the assessment (Award 2 marks or zero) | 2 | ||
| Effectively used internet and other resources to research object-oriented and other database types (Award 4 marks for thorough and relevant research, else zero) | 4 | ||
| Identified and listed at least three other database types for comparison (Award 3 marks for correct identification, else zero) | 3 | ||
| Sub-Total | 9 | ||
| TASK 2: Report Writing | |||
| Structured the report with clear sections including introduction, comparison criteria, and conclusion (Award 3 marks for logical structure, else zero) | 3 | ||
| Included detailed comparison on data modeling approaches of object-oriented vs other databases (Award 4 marks for accuracy and depth, else zero) | 4 | ||
| Discussed query languages and capabilities differences (Award 3 marks for coverage, else zero) | 3 | ||
| Provided practical use case examples for each database type compared (Award 3 marks for relevant examples, else zero) | 3 | ||
| Presented findings in clear, grammatically correct language using appropriate technical terms (Award 3 marks for clarity and technical accuracy, else zero) | 3 | ||
| Sub-Total | 16 | ||
| TASK 3: Submission and Presentation | |||
| Formatted the report professionally and printed or saved as PDF (Award 2 marks for professional presentation, else zero) | 2 | ||
| Submitted the report on time as per instructions (Award 2 marks for timely submission, else zero) | 2 | ||
| Sub-Total | 4 | ||
| PRODUCT CHECKLIST | |||
| Report clearly compares object-oriented database with at least three other types covering data modeling, querying, and use cases (Award up to 10 marks for completeness and accuracy of content) | 10 | ||
| Report is well-structured, professionally formatted, and free from spelling or grammatical errors (Award up to 5 marks for presentation quality) | 5 | ||
| Sub-Total | 15 | ||
| GRAND TOTAL | 44 | ||
At the start of this chapter we promised you would be able to:
Tick each one you can genuinely do.
So, are you there yet?
You're competent when you can confidently do 50% or more of what this chapter promised.
Sign in to record how you're doing.