You are on page 1of 17

Assignment Brief

BTEC Level 4-5 HNC/HND Diploma (QCF)

To be filled by the Student


Name of the Student : Edexcel No :

Registration No : Batch No :

Unit Assessment Information

Qualification : Higher National Diploma in Computing and Systems Development

Unit Code & Title : Unit 31 – Knowledge Based Systems (KBS – 16 – 001)

Assessment Title & No’s : A Knowledge Based System for the analysis of systems

LO 01: Understand knowledge-based systems


Learning Outcomes LO 1.1

LO 02: Be able to design knowledge-based applications


Learning Outcomes LO 2.1 LO 2.2 LO 2.3

LO 03: 3 Be able to develop knowledge-based applications


Learning Outcomes LO 3.1 LO 3.2 LO 3.3 LO 3.4 LO 3 .5

Merit and Distinction Descriptor


M1 M2 M3 D1 D2 D3

Date Issued : Date Due :

Date of Submission:

Assessor : Date Assessed:

Internal Verifier (IV): Date of IV:

All rights reserved ©ESOFT Metro Campus, Sri Lanka Page 1 of 17


Statement of Originality and Student Declaration

I hereby, declare that I know what plagiarism entails, namely to use another’s work and to present it as
my own without attributing the sources in the correct way. I further understand what it means to copy
another’s work.

1. I know that plagiarism is a punishable offence because it constitutes theft.


2. I understand the plagiarism and copying policy of the Edexcel UK.
3. I know what the consequences will be if I plagiaries or copy another’s work in any of the
assignments for this program.
4. I declare therefore that all work presented by me for every aspects of my program, will be my
own, and where I have made use of another’s work, I will attribute the source in the correct way.
5. I acknowledge that the attachment of this document signed or not, constitutes a binding
agreement between myself and Edexcel UK.
6. I understand that my assignment will not be considered as submitted if this document is not
attached to the attached.

Student’s Signature: …………………………… Date:.………………

All rights reserved ©ESOFT Metro Campus, Sri Lanka Page 2 of 17


Task 1

Imagine a knowledge base system for finding a fault in a car. A dialogue between the computer and the
user might proceed as follows:

Computer: Does the engine turn when you engage the ignition?

User: No.

Computer: When you put the lights on do they go dim?

User: Yes

Computer: When you turn the ignition is there a clicking sound?

User: Yes.

Computer: The starter motor in your car has jammed

1.1. What are the knowledge base components (Data, rules and structures) related to the above
motor car faulty diagnosis system (LO1.1 Part i)?
1.2. Describe how such computer systems perform inferencing. How to use Forward & Backward
chaining inferencing mechanisms for the knowledge management. Describe related to the
above motor car faulty diagnosis system. (L0 1.1 Part ii)
1.3. Do you agree that computers with artificial intelligence technologies (Expert systems in fault
diagnosis) exhibit intelligence? Explain the reasons.
Do you think that someday Humans can be replaced with AI based systems? Why or Why not?
(LO.1.1 part iii)
1.4. What are the major benefits of Expert Systems compared to manual systems in a fault
diagnosis system. (LO1.1 part iv)

All rights reserved ©ESOFT Metro Campus, Sri Lanka Page 3 of 17


Task 2

Consider the decision-making situation defined by the following rules:

 If I go to college and attend lectures, then I will learn something.


 If I go to college and not attend lectures, then I will miss the lessons.
 If I attend lectures and study hard then I will pass the exams.
 If I learn something then I will be knowledgeable.
 If I miss the lesson then I can’t complete my assignments.
 If I pass the exams, then I will graduate.
 If I am an IT Professional and hardworking, then I will earn more money.
 If I earn more money, then I will go on a trip.
 If I graduate or go on a trip, then I will be happy.

2.1. Follow the rules for the following situations (what do you conclude for each one?):

 If I go to college and attend lectures.


 If I go to college and not attend lectures.
 If I attend lectures and Study hard.
 If I am an IT professional and hard working.

Are there any other combinations that are valid? Explain.


What needs to happen for you to “be graduate” in this knowledge universe? Start with the
conclusion “be graduate” and identify the rules used (backward) to get to the needed facts.
(LO.2.1)

2.2. Encode the knowledge into a graphical diagram (Inference network). Write a prolog program. Use
IF- THEN (ELSE) statements in your implementation. (LO.2.3)

2.3. Design a simple user interface to enter the facts and rules for the above system. (LO.2.2, M 1.2)

Task 3

All vehicles need Fuel. Car is a type of vehicle. Boat is one type while Airplane is another type. Cars travel
on Land and Airplanes fly on the air. Cars and Airplanes have wheels. Boats do not have wheels. Electric
cars do not need fuel, they move on with electric charge on the battery. Leaf is a electric car with zero-
emission. Hybrid cars moves with fuel and battery charge. Aqua is a hybrid car with low emission. Sail
boat is a kind of boat and it moves by wind power. Jet is a kind of Airplane which is very fast.

3.1. Represent the above facts and rules in First Order Logic expressions.

All rights reserved ©ESOFT Metro Campus, Sri Lanka Page 4 of 17


Write a prolog program or other third-generation language program and knowledge base to execute
this knowledge. (LO.3.1)

3.2. Validate the user inputs and provide error messages for invalid inputs. (LO 3.2, M 1.2)

3.3. Identify and implement opportunities for error handlings. (LO.3.3)

3.4. Test the above system using well designed test cases and provide all the test documents (LO 3.4)
Hint: -Using your program answer the following questions
 Can jets fly?
 Do jets have wheels?
 What is the zero-emission car?
 Can sail boats fly?
 Are sail boats need fuel?

3.5. Prepare a user document to illustrate how to work with your implemented system. (LO.3.5)

All rights reserved ©ESOFT Metro Campus, Sri Lanka Page 5 of 17


Table of Contents
Table of Figures
Table of tables
KBS – 16 – 001 1
References

KBS – 16 – 001 2
Gantt chart

KBS – 16 – 001 3
Observation Sheet

Activity Activity Learning Date Feedback


No Outcome (LO) (Pass/ Redo)
1 design knowledge base, rules and structure Task 3.2
of the application
Task 2.4
2 Insert sample facts to the knowledgebase Task 3.2
3 Write, Run and test the programs in Task Task 2.4
2.4 and 3.2 Task 3.2
4 Run and test all rules written in Task 3.2 Task 3.4

5 Answer the question given in task 3.3 by Task 2.1


using the program Task 2.2
Task 3.3

Comments:

Assessor Name :…………………………………………….

Assessor Signature :…………………………………………….

All rights reserved ©ESOFT Metro Campus, Sri Lanka Page 4 of 17


Possible
Outcomes/Criteria for PASS Page Feedback
evidence
LO1- Understand knowledge-based systems
1.1 Analyse a real-world knowledge-based system, detailing:
I. data, rules and structure Task 1.1 –
II. how the knowledge is managed 1.4
III. how artificial intelligence traits are incorporated into
the system
IV. how an expert system is created from utilizing the
knowledge base and including AI traits

LO2 - Be able to design knowledge- based applications


2.1 plan the design of an application using an AI development language Task 2.1

2.2 identify the screen components and data and file structures Task 2.3
required to implement a given design

2.3 design knowledge base, rules and structure of the application Task 2.2
LO3 - Be able to develop knowledge based applications
3.1 implement the application Task 3.1

3.2 implement data validation for inputs Task 3.2

3.3 identify and implement opportunities for error handling and Task 3.3
reporting.
3.4 design and implement a test strategy Task 3.4

3.5 create documentation to support users Task 3.5

Grade Descriptor for MERIT Possible evidence Feedback


M1 Identify and apply strategies to find appropriate
solutions Solutions given in Task 2.4, Task
3.2
M1.2 complex problems with more than one variable have
been
Explored
M2 Select / design appropriate methods / techniques
Proper use of Harvard referencing.
M2.3 a range of sources of information has been used At least of five appropriate
references needed.
M3 Present and communicate appropriate findings Documentation is well structured
and according to the formatting
M3.3 A range of methods of presentation have been used and guidelines with non-overlapping
technical language has been accurately used facts.
Grade Descriptor for DISTINCTION Possible evidence Feedback
D1 Use critical reflection to evaluate own work and
justify valid conclusions Report: shown in the self-
reflection section
D1.3 Self-criticism of approach has taken place
Good conclusion with
D1.4 Realistic improvements have been proposed against suggestions for further
defined characteristics for subject improvement

D2 Take responsibility for managing and organising


activities Gantt chart must be provided at
the appendix section and
D2.3 Activities have been managed submit the work on time.

D3 Demonstrate convergent / lateral / creative


thinking
Create simple GUIs for task 2
D3.5 Innovation and creative thoughts have been applied and task 3
Innovative solutions for the Task
2 and Task 3
Strengths: Weaknesses:

Future Improvements & Assessor Comment:

Assessor: Signature: Date:


____/____/______

Internal Verifier’s Comments:

Internal Verifier: Signature: Date:


____/____/______