Computer Science  ·  Level 6
Database Management
Chapter 1: Database fundamentals
📚 12 Topics
⚑ What you will be able to do

By the end of this chapter, you will be able to:

  • Create a database correctly by following a given design plan.
  • Apply the key properties of an MS SQL Server database accurately.
  • Use a Relational Database Management System (RDBMS) effectively for managing data.
  • Implement database security by following proper safety and security procedures.
  • Use database terminology correctly and understand the fundamental concepts behind them.
  • Explain and apply the benefits of using databases in real-world scenarios.
  • Apply the relational database model and key concepts in relational modelling accurately.
  • Use the properties of tables or relations effectively to organize data.
  • Select and install the appropriate RDBMS products, like MS SQL Server, following the correct procedures.
  • Navigate and use the MS SQL Server interface with confidence.

Mastering these skills will help you manage data efficiently and securely, which is essential in today’s technology-driven workplaces.

Database technology forms the backbone of modern computing systems, enabling efficient storage, retrieval, and management of vast amounts of data. For computer science professionals in Kenya, understanding database fundamentals is essential to design, implement, and maintain robust information systems across diverse sectors such as banking, healthcare, education, and government services. Mastery of these basics ensures data integrity, security, and accessibility, which are critical for decision-making and operational efficiency. This chapter dives into the foundational concepts that underpin database management, providing a solid platform for advanced study and practical application.

1.1 Definition of Database Fundamentals

In the realm of computer science, especially within Kenya’s dynamic IT landscape, database fundamentals represent the essential principles and components that define how data is organized, stored, and manipulated. A database is not merely a collection of data but an organized repository that supports efficient data operations and enforces rules to maintain data quality. Understanding these fundamentals is crucial for professionals who develop applications that rely on structured data, such as school management systems or mobile banking platforms.

1.1.1 Concept of a Database

A database is a systematically organized collection of data that is electronically stored and managed to facilitate easy access, modification, and administration. Unlike simple file storage, databases allow for complex querying and reporting, which are vital in environments like county government offices where large volumes of records must be handled efficiently. The organization of data within a database follows specific models, predominantly the relational model, which arranges data into tables linked by relationships.

1.1.2 Role of Database Management Systems (DBMS)

A Database Management System (DBMS) is the software layer that enables users to create, read, update, and delete data within a database. It serves as an intermediary between the end-users and the physical data storage, ensuring data consistency, security, and integrity. In Kenyan financial institutions like SACCOs, DBMSs manage transactional data, supporting concurrent access while preventing conflicts and data loss.

1.1.3 Importance of Data Integrity and Security

Data integrity ensures that the information stored in a database remains accurate, consistent, and reliable over its lifecycle. Security mechanisms protect sensitive data from unauthorized access, which is particularly critical in healthcare institutions such as Kenyatta National Hospital, where patient confidentiality must be safeguarded. Database fundamentals incorporate constraints, access controls, and backup procedures to uphold these principles.

1.1.4 Application of Database Fundamentals in Kenyan IT Sector

In Kenya’s IT sector, database fundamentals underpin the development of systems for diverse applications, from inventory management in retail businesses to electronic records in universities. A thorough grasp of these basics enables professionals to optimize system performance and scalability, ensuring that applications can handle growing data volumes and user demands effectively.

Practice Questions

  1. Define a database and explain its importance in managing data within Kenyan public institutions. (6 marks)
  2. Discuss the role of a Database Management System and how it benefits banking applications. (8 marks)
  3. Explain why data integrity and security are critical in database management, with examples from the healthcare sector. (6 marks)
The rest of this chapter
🔒

Create a free account to open more of this chapter.

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒1.2 Database Terminologies

Grasping the key terminologies associated with databases is fundamental for any computer science professional involved in database design or administration. These terms form the vocabulary that supports clear communication and precise understanding of database…

🔒1.3 Reasons of Using Databases

In the Kenyan computer science profession, understanding why databases are preferred over traditional file systems is crucial for designing efficient information systems. Organizations such as banks, universities, and government agencies deal with vast amounts…

🔒1.4 Definition of Relational Model

The relational model is the foundation of modern database systems widely adopted in Kenyan IT environments due to its simplicity and powerful data organization capabilities. This model represents data as collections of tables, facilitating easy data manipulati…

🔒1.5 Relational Modelling Concepts

Relational modelling forms the foundation of modern database design and management, especially in computer science fields across Kenya where data integrity and accessibility are critical. Whether developing a database for a county government office managing ci…

🔒1.6 Properties of a Relation/Table

In database management, a relation or table serves as the fundamental structure for organizing data. In Kenyan IT environments, especially within institutions such as universities or financial firms, understanding the properties of a relation is vital for desi…

🔒1.7 Comparison of RDBMS Products

Relational Database Management Systems (RDBMS) are essential tools for managing structured data in Kenyan IT sectors such as finance, healthcare, and education. Choosing the right RDBMS depends on factors like scalability, cost, platform compatibility, and spe…

🔒1.8 Installation of MS SQL Server

The installation of Microsoft SQL Server is a foundational task for database professionals in Kenya's IT sector, especially those working in software development firms, financial institutions, and government ICT departments. Proper installation ensures robust…

🔒1.9 MS SQL Server Interface

The MS SQL Server interface is the primary environment where database administrators and developers interact with the SQL Server engine. Mastery of this interface enhances productivity in designing, querying, and managing databases. Kenyan professionals workin…

🔒1.10 Properties of MS SQL Server Database

Microsoft SQL Server is a widely used relational database management system (RDBMS) in Kenya’s IT industry, supporting diverse applications from banking to government data management. Understanding its core properties is essential for database professionals to…

🔒1.11 Prescribe RDBMS Product for a Simulated Environment

Selecting the appropriate RDBMS product for a simulated environment involves analyzing the specific requirements, workload, and constraints of the scenario. This decision is critical for computer science professionals designing solutions in Kenya’s diverse sec…

🔒1.12 Database security

Database security is a critical concern for Computer Science professionals in Kenya, particularly as organizations increasingly rely on data-driven decision-making and digital services. Protecting database systems from unauthorized access, data breaches, and c…

Chapter Summary

This chapter introduced the fundamentals of databases, beginning with a clear definition of database concepts and essential terminologies such as tables, database engines, records, and fields. It explained the importance of using databases for efficient data management and storage. The relational model was defined, followed by an exploration of its core concepts including relations or tables, attributes or columns, domains, tuples or rows, primary keys, and foreign keys. The chapter described the properties that define a valid relation or table. A comparison of popular relational database management system products such as Oracle, MS SQL Server, MySQL, and MS Access was provided to highlight their features and suitability. Practical guidance on the installation and interface of MS SQL Server was included alongside a discussion on its database properties. The chapter concluded with considerations for selecting an appropriate RDBMS for simulated environments and covered critical aspects of database security, including access control, authentication, integrity control, and backup procedures.

Self-Assessment

🔒 PDFDownload this self-assessment, with answers

A. Written Assessment

  1. What is a database engine and why is it critical in database management? (3 marks)
  2. Identify and explain the difference between a primary key and a foreign key in a relational database. (4 marks)
🔒20 more in this section.

Chapter Examination Questions

🔒 PDFDownload these examination questions, with worked answers

SECTION A (40 Marks) - Answer ALL Questions

  1. Define the term database and explain its importance in managing data at a county government office in Kenya. (4 marks)
  2. Differentiate between a record and a field in a database table. (4 marks)
🔒18 more in this section.

Chapter Practical Activities

Practical 1: Identify and Explain Database Fundamentals and Terminologies

Computer Science · Level 6
Database Management
PRACTICAL ASSESSMENT
TIME: 3 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)

Type: Individual

INSTRUCTIONS TO CANDIDATE:
1.  You are required to perform the following task:
i.  Classify and explain at least 10 basic database terms with examples on A4 paper sized 210mm x 297mm.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
Flashcards with database terms and definitionsPlain A4 paper
Pens
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1Flashcards with database terms and definitions1 set per Candidate
2Plain A4 paper2 sheets per Candidate
3Pens2 pcs per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Identification and Explanation of Database Fundamentals
Observed use of correct PPE and laboratory rules
(Award 2 marks for correct PPE use and adherence to lab rules, otherwise zero)
2
Selected correct flashcards representing database fundamentals
(Award 1 mark for each correctly selected flashcard x 3 = 3 marks)
3
Classified database terms into categories such as tables, fields, records, keys, etc.
(Award 1 mark for each correctly classified term x 4 = 4 marks)
4
Provided clear and accurate explanations of each database term with relevant examples
(Award 1 mark for each accurate explanation x 6 = 6 marks)
6
Outlined at least three reasons for using databases in organizations
(Award 1 mark for each valid reason x 5 = 5 marks)
5
Sub-Total20
PRODUCT CHECKLIST
A neat, legible classification chart or list on A4 paper with at least 10 database terms correctly identified and explained
(Award up to 10 marks based on clarity, completeness, and correctness of the written explanations)
10
Sub-Total10
GRAND TOTAL30
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)

Practical 2: Create and manipulate a student records database table

Computer Science · Level 6
Database Management
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)

Type: Individual

INSTRUCTIONS TO CANDIDATE:
1.  You are required to perform the following task:
i.  Create a student database table named stDetails with fields StudentID, FullName, Gender, DateOfBirth, and Class, then insert at least 5 records and add a calculated Age field based on DateOfBirth.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
Functional computer installed with MS Access or equivalentPlain A4 paper
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1Functional computer installed with MS Access or equivalent1 Pc per Candidate
2Plain A4 paper2 Sheets per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Database and Table Creation
Observed computer laboratory rules
(Award 2 marks or zero)
2
Launched MS Access or equivalent database software correctly
(Award 2 marks or zero)
2
Created a database named 'StudentRecords'
(Award 3 marks or zero)
3
Created table 'stDetails' with fields StudentID, FullName, Gender, DateOfBirth, and Class with appropriate data types
(Award 1 mark per correct field and data type)
5
Sub-Total12
TASK 2: Record Insertion and Field Manipulation
Inserted at least 5 accurate records into 'stDetails' table
(Award 1 mark per correct record)
4
Added a new field named 'Age' with appropriate data type
(Award 3 marks or zero)
3
Calculated and updated 'Age' field based on DateOfBirth for all records
(Award 1 mark per correctly calculated and updated record)
5
Sub-Total12
PRODUCT CHECKLIST
Database table 'stDetails' exists with correct field names and data types
(Award 3 marks or zero)
3
At least 5 records correctly inserted with accurate data
(Award 3 marks or zero)
3
Age field correctly added and calculated for all records
(Award 5 marks or zero)
5
Sub-Total11
GRAND TOTAL35
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)
🔒

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒Demonstrate Database Engine Operations Using SQL ServerPractical 3
🔒Design relational tables for a university student databasePractical 4
🔒Define and assign primary keys in a student databasePractical 5
🔒Define and establish foreign keys to create relationships between database tablesPractical 6
🔒Analyze and Verify Properties of Relations in a Student DatabasePractical 7
🔒Comparison of Features of Popular RDBMS ProductsPractical 8
🔒Installation of MS SQL Server 2019 Standard EditionPractical 9
🔒Create and manage a database using MS SQL Server Management StudioPractical 10
🔒Configure and modify properties of MS SQL Server databasePractical 11
🔒Select and justify appropriate RDBMS for a retail business environmentPractical 12
🔒Implement database security through user access control and authenticationPractical 13
🔒Enforce Data Integrity Rules in a Student DatabasePractical 14
🔒Perform database backup and restore operations on an MS SQL Server databasePractical 15
Flashcards 20 cards Study deck ▾
Question
1

↻ Tap card to reveal answer
🔒

18 more in this section.

Create a free account
Test Yourself 14 questions Start quiz ▾
0%
0 / 2
🔒

12 more in this section.

Create a free account
Am I competent?

At the start of this chapter we promised you would be able to:

  • Create a database correctly by following a given design plan.
  • Apply the key properties of an MS SQL Server database accurately.
  • Use a Relational Database Management System (RDBMS) effectively for managing data.
  • Implement database security by following proper safety and security procedures.
  • Use database terminology correctly and understand the fundamental concepts behind them.
  • Explain and apply the benefits of using databases in real-world scenarios.
  • Apply the relational database model and key concepts in relational modelling accurately.
  • Use the properties of tables or relations effectively to organize data.
  • Select and install the appropriate RDBMS products, like MS SQL Server, following the correct procedures.
  • Navigate and use the MS SQL Server interface with confidence.

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.