Computer Science  ·  Level 6
Artificial Intelligence Concepts
Chapter 1: Fundamentals of Artificial Intelligence
📚 6 Topics
⚑ What you will be able to do

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

  • Apply the fundamental concepts of artificial intelligence correctly in your work.
  • Explain the history of Artificial Intelligence and use it to inform your practice.
  • Use the foundational principles of Artificial Intelligence accurately in different tasks.
  • Implement Artificial Intelligence applications following the correct procedures step-by-step.
  • Apply the concepts of intelligent agents effectively to solve problems.
  • Use Artificial Intelligence applications safely and correctly in real-life situations.

These skills will help you confidently work with AI technologies, making you a valuable asset in the growing field of artificial intelligence.

Artificial Intelligence (AI) has become a cornerstone of modern computing, transforming industries across Kenya and the world. From automating banking services at Equity Bank to enhancing patient diagnostics at Kenyatta National Hospital, AI technologies enable smarter decision-making and operational efficiency. Understanding the fundamentals and historical evolution of AI equips computer science professionals with the context necessary to innovate responsibly and effectively in Kenya’s rapidly digitizing economy.

1.1 Fundamentals of Artificial Intelligence

The study of Artificial Intelligence is essential for computer science professionals seeking to develop systems that simulate human intelligence. In Kenya’s tech ecosystem, AI applications range from chatbots improving customer service in retail to predictive analytics optimizing agricultural yields. Grasping AI’s foundational concepts enables practitioners to design, implement, and maintain intelligent systems that align with local needs and global standards.

1.1.1 Defining Artificial Intelligence

Artificial Intelligence refers to the branch of computer science focused on creating machines capable of performing tasks that typically require human intelligence. These tasks include reasoning, learning, problem-solving, perception, and language understanding. AI systems employ algorithms that allow them to interpret data, adapt to new inputs, and improve performance over time without explicit programming for each scenario. For example, a Kenyan e-commerce platform might use AI-powered recommendation engines to personalize product suggestions based on customer behavior.

Characteristics of Artificial Intelligence

  • Autonomy: AI systems operate independently to perform tasks without continuous human intervention, such as automated fraud detection in mobile money platforms.
  • Adaptability: They learn from data patterns, enabling continuous improvement, as seen in Kenyan weather forecasting models that refine predictions using AI.
  • Reasoning: AI can analyze information and make logical decisions, exemplified by loan approval algorithms in microfinance institutions.
  • Perception: The ability to interpret sensory data, like image recognition used in automated quality control in Kenyan manufacturing.
  • Natural Language Processing: Understanding and generating human language, crucial for chatbots deployed by Kenyan customer service centers.

1.1.2 Branches and Types of Artificial Intelligence

AI is broadly categorized into various types based on capabilities and functionalities. Understanding these distinctions is vital for professionals to select appropriate AI solutions in Kenyan contexts such as healthcare diagnostics or traffic management.

Categories of AI

  • Narrow AI (Weak AI): Designed to perform specific tasks, such as voice assistants used in Kenyan call centers.
  • General AI (Strong AI): Hypothetical systems with human-like cognitive abilities, still under research globally.
  • Superintelligent AI: AI surpassing human intelligence, a theoretical concept prompting ethical debates.

Functional Classifications

  • Reactive Machines: Systems that respond to inputs without memory, like basic spam filters in Kenyan corporate emails.
  • Limited Memory: AI that uses past data to inform decisions, for instance, credit scoring algorithms used by SACCOs.
  • Theory of Mind: Experimental AI that can understand emotions and intentions, an emerging area in human-computer interaction.
  • Self-aware AI: A speculative type possessing consciousness, currently beyond practical application.

1.1.3 Core Techniques and Algorithms in AI

AI relies on diverse techniques to simulate intelligent behavior, critical for Kenyan developers designing solutions for sectors like finance, education, and agriculture.

Key AI Techniques

  • Machine Learning: Algorithms that enable systems to learn from data, used in Kenyan mobile apps for disease outbreak prediction.
  • Deep Learning: A subset of machine learning utilizing neural networks for complex pattern recognition, such as voice recognition in local language assistants.
  • Expert Systems: Rule-based AI that mimics decision-making of human experts, applied in diagnostic tools at private clinics.
  • Natural Language Processing (NLP): Techniques for understanding and generating human language, vital for Kiswahili language chatbots.
  • Computer Vision: Enabling machines to interpret visual information, used in automated inspection systems in Kenyan manufacturing plants.

1.1.4 Applications of Artificial Intelligence in Kenya

AI’s transformative potential is evident across multiple Kenyan sectors, where it enhances efficiency, accuracy, and user experience.

Examples of AI Applications

  • Healthcare: AI-driven diagnostic tools at Nairobi Hospital assist in early detection of diseases using medical imaging.
  • Agriculture: Predictive analytics help farmers in Rift Valley optimize planting schedules based on weather forecasts.
  • Finance: Fraud detection algorithms protect customers of mobile banking platforms like M-Pesa.
  • Education: Adaptive learning platforms tailor content delivery for students in Kenyan universities.
  • Public Service: AI-powered chatbots improve citizen engagement in county government offices.
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 History of Artificial Intelligence

Understanding AI’s history provides computer science professionals with insights into its development milestones, challenges, and evolving paradigms. In Kenya, awareness of this historical context aids in appreciating local AI adoption trends and anticipating…

🔒1.3 Foundations of Artificial Intelligence

Artificial Intelligence (AI) is an interdisciplinary field that draws from multiple foundational domains to create systems that emulate human intelligence. In Kenya's emerging tech ecosystem, AI applications in financial services, agriculture, healthcare, and…

🔒1.4 Applications of Artificial Intelligence

Artificial Intelligence (AI) has become a transformative force in Kenya's technology landscape, influencing various sectors such as finance, healthcare, education, and public administration. In computer science, understanding AI applications is crucial for dev…

🔒1.5 Intelligence Agents

In the Kenyan computer science landscape, understanding intelligent agents is fundamental for developing AI systems that interact effectively with users and environments. Intelligent agents are autonomous entities that perceive their environment through sensor…

🔒1.6 Recognising Artificial Intelligence Applications in Real Life

Artificial Intelligence is increasingly embedded in everyday technologies across Kenya, transforming industries and enhancing service delivery. Recognising AI applications helps computer science professionals identify opportunities for innovation and integrati…

Chapter Summary

This chapter introduced the fundamental concepts of artificial intelligence, providing a clear understanding of what AI entails and its core objectives. It traced the historical development of AI, highlighting key milestones that have shaped its evolution over time. The foundations of AI were explored through various disciplines including mathematics, economics, decision theory, neurology, engineering, psychology, and computer networking, each contributing essential principles and techniques. The chapter examined diverse applications of AI such as expert systems, machine learning, natural language processing, gaming, artificial neural networks, and computer vision, showcasing the breadth of AI’s impact across different sectors. The concept of intelligent agents was discussed, explaining how they perceive and act within environments to achieve specific goals. Finally, the chapter emphasized how to recognise AI applications in everyday life, enabling a practical appreciation of AI’s role in transforming industries and services.

Self-Assessment

🔒 PDFDownload this self-assessment, with answers

A. Written Assessment

  1. Define Artificial Intelligence and explain its significance in modern computer science. (4 marks)
  2. Identify the pioneer of Artificial Intelligence and state the year when the term "Artificial Intelligence" was first coined. (2 marks)
🔒20 more in this section.

Chapter Examination Questions

🔒 PDFDownload these examination questions, with worked answers

SECTION A (40 Marks) - Answer ALL Questions

  1. Explain the concept of Artificial Intelligence and describe one way it can improve service delivery at a Kenyan bank such as KCB. (4 marks)
  2. Outline three significant milestones in the history of Artificial Intelligence and their impact on modern computing. (4 marks)
🔒18 more in this section.

Chapter Practical Activities

Practical 1: Prepare a Timeline and Presentation on AI Fundamentals and History

Computer Science · Level 6
Artificial Intelligence Concepts
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)

Type: Individual

INSTRUCTIONS TO CANDIDATE:
1.  You are required to perform the following task:
i.  Prepare a digital timeline poster of AI milestones spanning 1950 to 2020 with at least 10 key events and a 5-slide presentation explaining AI fundamentals and history.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
Working Computer
Presentation Software
Internet Access
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1Working Computer1 Pc per Candidate
2Presentation Software (e.g., Microsoft PowerPoint or LibreOffice Impress)1 License per Candidate
3Internet Access1 Connection per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Timeline Preparation
Started the computer and presentation software correctly
(Award 3 marks if software opens without errors, else 0)
3
Researched AI history events from 1950 to 2020 using credible sources
(Award 7 marks for using at least 3 credible sources, else 0)
7
Included at least 10 key AI milestones in the timeline
(Award 10 marks if 10 or more milestones included, else 0)
10
Arranged timeline events in correct chronological order
(Award 5 marks if order is correct, else 0)
5
Used clear and legible fonts and colors for timeline readability
(Award 5 marks if timeline is clear and readable, else 0)
5
Sub-Total30
TASK 2: Presentation Development
Created a 5-slide presentation covering AI fundamentals and history
(Award 10 marks if 5 slides completed correctly, else 0)
10
Included clear explanations of at least 3 basic AI concepts (e.g., machine learning, neural networks, natural language processing)
(Award 10 marks if 3 concepts explained clearly, else 0)
10
Used relevant images or diagrams in the slides
(Award 5 marks if images/diagrams included and relevant, else 0)
5
Included a slide summarizing AI historical milestones
(Award 5 marks if summary slide present, else 0)
5
Checked spelling and grammar for correctness
(Award 5 marks if no spelling or grammar errors, else 0)
5
Sub-Total35
TASK 3: Presentation Delivery
Displayed the presentation slides on the computer screen
(Award 5 marks if slides displayed properly, else 0)
5
Explained each slide content clearly and confidently
(Award 10 marks if explanation is clear and confident, else 0)
10
Answered questions related to AI fundamentals and history when asked
(Award 10 marks if answered questions accurately, else 0)
10
Sub-Total25
PRODUCT CHECKLIST
Timeline poster includes 10 key AI milestones dated from 1950 to 2020, arranged chronologically, with clear text and visuals
(Award 20 marks if timeline meets all criteria, else 0)
20
Presentation contains 5 slides with clear AI fundamentals, relevant images, and no spelling or grammar errors
(Award 20 marks if presentation meets all criteria, else 0)
20
Sub-Total40
GRAND TOTAL130
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)

Practical 2: Analyze and Solve AI Algorithm Mathematical Foundations

Computer Science · Level 6
Artificial Intelligence Concepts
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)

Type: Individual

INSTRUCTIONS TO CANDIDATE:
1.  You are required to perform the following task:
i.  Solve mathematical problems involving probability and linear algebra for AI algorithms and explain foundational AI principles with practical examples in a written report of 1500 words.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
Scientific CalculatorAI Algorithms Reference Sheet
Computer with Python IDE installed
Notebook and Pen
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1Scientific Calculator1 Pc per Candidate
2Computer with Python IDE installed1 Pc per Candidate
3Notebook and Pen1 Set per Candidate
4AI Algorithms Reference Sheet1 Pc per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Mathematical Problem Solving for AI Foundations
Started Python IDE correctly and opened a new script file
(Award 5 marks if Python IDE is opened and ready, else 0)
5
Correctly defined variables and constants for probability calculations
(Award 2 marks each for defining 5 correct variables, else 0)
10
Implemented calculation of conditional probability using Bayes' theorem
(Award full 15 marks if Bayes' theorem formula is correctly implemented and calculated)
15
Performed matrix multiplication for a 3x3 matrix representing AI data transformation
(Award full 20 marks if matrix multiplication is correctly coded and output matches expected)
20
Explained foundational AI principles such as learning, reasoning, and perception with practical Kenyan examples in report
(Award 20 marks if explanation is clear, complete, and examples relevant)
20
Presented the final report with clear formatting, including problem statements, solutions, and conclusions
(Award 10 marks if report is well structured and complete)
10
Sub-Total80
PRODUCT CHECKLIST
Mathematical solutions are accurate and verified (probabilities and matrix results)
(Award 40 marks if all mathematical results are correct and verified)
40
Written report demonstrates understanding of AI foundations with precise examples and clarity
(Award 30 marks if report is logically presented, detailed, and free of errors)
30
Sub-Total70
GRAND TOTAL150
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)
🔒

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

Create a free account
🔒Model a decision-making scenario using economic principles and decision theory in AIPractical 3
🔒Modeling Neurological and Psychological Concepts in Artificial Intelligence SystemsPractical 4
🔒Assemble a Basic AI Hardware Prototype for Image RecognitionPractical 5
🔒Configure a Basic Local Area Network for AI System CommunicationPractical 6
🔒Develop a rule-based expert system for medical diagnosisPractical 7
🔒Train and Evaluate a Machine Learning Model for Student Performance PredictionPractical 8
🔒Develop and Test a Text Sentiment Analysis ApplicationPractical 9
🔒Develop an AI agent to play and improve in a simple Tic-Tac-Toe gamePractical 10
🔒Design and Train a Simple Artificial Neural Network for Iris ClassificationPractical 11
🔒Develop a Computer Vision Application for Object Detection and ClassificationPractical 12
🔒Develop an Intelligent Agent for Autonomous Navigation in a Grid EnvironmentPractical 13
🔒Identify and Report AI Applications in Everyday EnvironmentsPractical 14
🔒Develop an AI-based Customer Support Chatbot Integrating Multiple AI TechniquesPractical 15
Flashcards 20 cards Study deck ▾
Question
1

↻ Tap card to reveal answer
🔒

18 more in this section.

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

15 more in this section.

Create a free account
Am I competent?

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

  • Apply the fundamental concepts of artificial intelligence correctly in your work.
  • Explain the history of Artificial Intelligence and use it to inform your practice.
  • Use the foundational principles of Artificial Intelligence accurately in different tasks.
  • Implement Artificial Intelligence applications following the correct procedures step-by-step.
  • Apply the concepts of intelligent agents effectively to solve problems.
  • Use Artificial Intelligence applications safely and correctly in real-life situations.

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.