AI-assignment.docx

23
Artificial Intelligence (AI) – Cover Sheet ASSIGNMENT Instruction: Marks will be awarded for good presentation and thoroughness in your approach. Referencing Code: If you use some code, or ideas for code, which are taken or adapted from another source (book, magazine, internet, discussion forum, etc), then this must be cited and referenced using the Harvard Name convention within your source code. Failure to reference code properly is considered as plagiarism. Complete this cover sheet and attach it to your project. This project is to be attempted by a group of 3 students. Student declaration: I declare that: We understand what is meant by plagiarism The implication of plagiarism have been explained to us by our lecturer This project is all our work and we have acknowledged any use of the published or unpublished works of other people. Group Leader’s Signature: Date: 1

Transcript of AI-assignment.docx

Artificial Intelligence (AI) Cover SheetASSIGNMENT

Instruction:Marks will be awarded for good presentation and thoroughness in your approach.Referencing Code: If you use some code, or ideas for code, which are taken or adapted from another source (book, magazine, internet, discussion forum, etc), then this must be cited and referenced using the Harvard Name convention within your source code. Failure to reference code properly is considered as plagiarism.Complete this cover sheet and attach it to your project. This project is to be attempted by a group of 3 students.

Student declaration:

I declare that:

We understand what is meant by plagiarism The implication of plagiarism have been explained to us by our lecturer This project is all our work and we have acknowledged any use of the published or unpublished works of other people.

Group Leaders Signature:

Date:

Project Title:Visa AssistantIntake:UC1F1404SE

RoleNameSignature

Team LeaderSaad Naseem

KnowledgeEngineerDing Ling

ProgrammerMin Naing Soe

Content1. Abstract..22. Introduction.23. Proposal contents34. Problem Specification..4a) Aimb) Domain Expertc) Project Team5. Knowledge Acquisition..4a) Expert Interview/ Domain expert interviewb) Summary of the interview / findings6. Knowledge Representation6a) Semantic nets7. Implementation88. Conclusion159. References1510. Appendices..15a) Source Codeb) Work Load Matrix

1. AbstractThis program prepared for the international students who studying in Asia Pacific University, is focused on the three steps of apply, renewal and medical check-up of student visa. From the expert system, we want to show international students how to apply visa, what should prepare for applying, how to renewal visa, what are the requirements of renewal and how to take a medical check-up. Especially we want to build a more simple relationship between the students who need to a visa and the immigration office workers. 2. IntroductionAs we all know, international students from all the country instead of Singapore need to hold a student visa. In Asia Pacific University, there is an immigration counter mostly focus on dealing with the problem of students visa. This counter is in Ground floor, Enterprise 3, Technology Park Malaysia. This is the student visa like:

In the student visa, we can find the name, gender, passport number, nationality, condition, deadline date and date and place of issue. Most important is deadline date.3. Proposal contentsa) This project is implemented for:The Visa department of the Student Services International Office. It is implemented for the International Students to have easy access to information regarding their Visa, Renewal and Restrictions while the student lives in Malaysia.b) Is an expert system suitable for the problem area?Yes. As of the now the entire system is based on the availability and knowledge of a few Human expert. And their absence leads to the Customers or Users to wait for long period or even visit the Human experts on a different day.However, with the availability of such a system the User may access the information on the internet, or even when the Human Expert is unavailable.c) Is there a need for such a system? Justify.Yes there is a need for such a system, as there are numerous frequently asked questions with regard to the Visa.This is a very critical entity in an International Students life, as being uninformed or misinformed about the visa may lead to penalties such as Imprisonment or being blacklisted from the country.Malaysia has very strict rules concerning the validity of visa for the foreigners. Therefore, it is very important to build such a system and keep the students informed in an effective manner.d) This is a system for Novice level usersThis is because the system will not have any complex functions, for the novice level users to use, it will be very simple. The system will respond to the queries and statements made by the user and respond in a non-complex manner.4. Problem Specificationa) AimBy using the system, student can simply know what should do before going to the immigration counter and how to apply and renewal. Also immigration counter workers are able to show the changes of student visa or the processing of student visa.b) Domain ExpertMrs.Hasnita.c) Project TeamSaad NaseemTP032401Ding LingTP033295Min Naing SoeTP0353235. Knowledge Acquisitiona) Expert Interview/ Domain expert interview1) How to apply student visa?Through your institution that will submit the application and payment on your behalf to EMGS.2) Who can apply student visa?Any student who is offered by any Malaysian educational institution.3) How long does the visa processing take?4 to 6 weeks.4) What are the requirement for to apply student Visa?Passport copies of all pagesGenuine Academic DocumentsHealth check-up documents.5) Does every student have the same visa?Yes, every student has the same multi entry Visa.6) How long is the Visa valid?Student visa is valid up to 12 months.7) Is the Visa valid for East Malaysia as well?No, the Student Visa is valid only for West Malaysia.8) How does a student renew visa?Through Immigration counter/ visa department at APU.9) Where can a student do medical check-up?At any EMGS approved panel clinics.10) Where can a student check application status?Through EMGS website (www.educationmalaysia.gov.my).11) Are students allowed to work with student Visa?No, international students are not allowed to work.12) Does the visa restrict the amount of exit and entry?No. Student visa is multi-entry Visa.13) When should a student apply for renewal of Visa?About 4-6 weeks prior to the expiry.14) Are there any conditions based on which the visa renewal may not be done?Yes, if the students fails to attend 80% of the classes, and does not get passing grades.15) Are there any charges for visa renewal?Yes, depending on the Nationality of the student, the charges differ.b) Summary of the interview / findings Upon interview with the Domain Expert we found that the Visa department is a department which various sub-departments such as the Medical Insurance, or the Renewal of the Visa, that has a lot of Frequently Asked Questions, and with their being very limited staff in the Student Services office of Asia Pacific University we usually see a long queue for sure queries.This queue can be shortened or rather eliminated if such a system is implemented, that can come to the aid of the staff working at the Immigration Department.As their work involves copying, certifying and recording of a lot of information per student, it takes time to serve each student, and with such random questions being asked, the next student has to wait longer to be served.6. Knowledge Representationa) Semantic nets

7. Implementationa) Test plan / Screen shoot of special featuresWelcome Screen and Logging in as Administator :-

Successful detection of existing Username :-

Administrator Options and Selection :-

Reply :-

Thank you!

USING APPLICATION AS A GUEST

Reply and query :-

Please note, all the Screenshots are responses to the previous input!The Administration part is very much theoretical but just a basic idea of what all can be done with the access to proper resources such as the Student Database and linkage to Outlook Email.Students can be sent a Visa renewal notification by just entering their TP number, by adding a command to auto send an email to their student email, which can be easily generated if the TP number is known.And using command lines with Outlook, this can be easily done and time can be saved.

8. ConclusionUpon interview with the Domain Expert we found that the Visa department is a department which various sub-departments such as the Medical Insurance, or the Renewal of the Visa, that has a lot of Frequently Asked Questions, and with their being very limited staff in the Student Services office of Asia Pacific University we usually see a long queue for sure queries. This queue can be shortened or rather eliminated if such a system is implemented, that can come to the aid of the staff working at the Immigration Department.As the purpose of building a more simple relationship of international students and immigration counter works, we build this Student Visa expert system. We hope our expert system can help more and more international students and give them a better experience of Malaysian studying abroad.9. References :Visa application department of APUVerbot 4.0 TutorialExperience of current students with Visa department10. Appendicesa) Source CodeKnowledgeBase Name: C:\Users\Sady\Documents\Verbots\Visa-Latest.vkbKnowledgeBase Version: 1.0KnowledgeBase Build: 24 KnowledgeBase Info: Author: Author's Website: Copyright: License: Creation Date: 1/14/2015 11:07:00 AMLast Update Date: 1/19/2015 11:35:09 PMRating: UnknownRating Description:

Category: OtherLanguage: EnglishComment: Describe your KnowledgeBase here

Rules:Rule Name: _startupInput Text: _startupOutput Text: Welcome to the Visa Department of Asia Pacific University.To log in as Admin - Please enter your usernameTo proceed as Guest - Please type in your name and T P number

Rule Name: adminInput Text: Admin1Input Text: Admin2Input Text: Admin3Output Text: Please enter your passwordRule Name: adminpassInput Text: wordpassOutput Text: Access granted!

Would you like to check the status of a Student's VAL?Would you like to notify a Student about their visa renewal?Rule Name: renewalnofityInput Text: I'd like to notify the student regarding their visa renewalInput Text: I would like to notify student about their visaInput Text: I'd like to notify the student about their visa renewalInput Text: I want to send a renewal notificationInput Text: I want to send renewal notification to a studentInput Text: I want to remind a student about visa renewalInput Text: I want to remind a student about visa renewalOutput Text: Please enter the student's TP NumberRule Name: tpnumberInput Text: TP[number]Input Text: [number]Output Text: This function is not available at the moment. Due to lack of access to resources such as access to GIMs and student database, this idea is at the moment a theoritical plan for future if this Verbot Assistant is to be made permanent.Rule Name: statuscheckInput Text: I want to check a students visa statusInput Text: I want to check visa statusInput Text: I want to check the VAL statusInput Text: I want to see if the visa has been approvedInput Text: I want to know if the visa has been approvedInput Text: I want to see if the VAL has been approvedInput Text: I want to check the status of a students visa approvalInput Text: I want to check the status of a students visa applicationInput Text: I want to check my visa application processInput Text: I want to check a students visaInput Text: I want to check of a students visaOutput Text: Please click the link below.

Please note you must have the student's Passport # and Nationality in order to check.

http://www.educationmalaysia.gov.my/emgs/application/searchForm/Rule Name: *(default)Input Text: *Output Text: INVALID PASSWORD!!!

Please try again.Rule Name: *(default)Input Text: *Output Text: I'm not sure that's a valid response!Please try again.

Rule Name: guestInput Text: My name is [name] and TP number is [number]Input Text: Name [name] tpnumber [number]Output Text: Welcome to the Visa Department of Asia Pacific University [name]

How can I help you today?Rule Name: howInput Text: How to Apply for a student visa?Input Text: How to apply for visa?Input Text: How to apply for visa?Input Text: How do I apply for a student visa?Input Text: How do I apply for visa?Input Text: How can I apply for student visa?Input Text: How can I apply for visa?Input Text: I want to know how to ApplyInput Text: I want to Apply for visaInput Text: I want to applyInput Text: I want to apply for the Student visaInput Text: Can I apply for the visa?Input Text: Can I apply for the student visa?Output Text: To Apply for a Student Visa provided by EMGS (Education Malaysia Global Services)You will first need to be eligible to join one of our programmes,Then we will require two sets of passport copy of all pagesFour pictures with blue background - UneditedYou will need to get your medical check up done.And also genuine educational documents.Once we're furnished with these documents, we can proceed with the visa application which usually takes around 4-6 weeks to be approved.Rule Name: whoInput Text: Who does the visa apply to?Input Text: Who is the visa for?Input Text: Who is the Student for?Input Text: Is the student visa for all students?Input Text: Is the visa for Malaysian students also?Input Text: Do Malaysian students need Visa?Input Text: Do Malaysians need this visa?Input Text: Is this only for International students?Input Text: Is this visa only for International students?Input Text: Is the visa only for International Students?Output Text: The Visa is applicable only for the International Students that are a part of APU.Rule Name: how longInput Text: How long does it take for the visa to be approved?Input Text: How long does the visa approval take?Input Text: How long till the visa is approved?Output Text: The Visa Approval usually takes around 4-6 weeks.But you can always check the status of your application on the EMGS website.Rule Name: whatInput Text: What are the requirements for the Visa application?Input Text: What are the thing needed for visa application?Input Text: What are the required documents for the visa application?Input Text: What are the necessities for the Visa application?Input Text: What are the necessary documents for the visa application?Input Text: What are the documents needed for the visa application?Input Text: What are the things needed for visa application?Input Text: What are things that we need for the visa?Input Text: What are the documents needed for the visa?Input Text: What are the requirements for the visa?Output Text: The following documents are required :-

Passport copies of all pagesGenuine Academic DocumentsHealth check up documents.4 Pictures with blue background - UneditedRule Name: sameInput Text: Do all students have the same visa?Input Text: Do all the students have the same visa?Input Text: Do all the international students have same visa?Output Text: Yeah, they all have the similar multiple entry visa.The only difference is the registration of the Visa depending on what course they study.Rule Name: validityInput Text: How long is the visa valid for?Input Text: What is the validity of the visa?Input Text: What is the duration of visa validity?Input Text: How many months is the visa valid for?Input Text: How long is the visa for?Input Text: How many months is the visa for?Input Text: How many years is the visa?Input Text: How many semesters is the visa for?Input Text: How many months does the visa last?Output Text: The Visa is renewed annually.

It is usualy valid for 12 months.Rule Name: east malaysiaInput Text: Is the visa valid for Eastern Malaysian region?Input Text: Is the visa valid for East Malaysia?Input Text: Is the visa valid for Sabah and Sarawak?Input Text: Is the visa valid for Sarawak?Input Text: Is the visa valid for Sabah?Input Text: Is the visa valid for the entire malaysia?Input Text: Can I use this visa in Eastern Malaysia?Output Text: The Visa issues by the EMGS is valid for multiple entry in the Western Malaysian region only.Rule Name: RenewalInput Text: How does a student renew the visa?Input Text: What do I need to do to renew my visa?Input Text: Where do I renew my visa?Input Text: I want to know about the visa renewalInput Text: I want to renew my visaInput Text: I want information regarding the visa renewalInput Text: Tell me about the visa renewalInput Text: How is the visa renewal done?Input Text: Where is the visa renewal done?Input Text: I need to renew my visaInput Text: I need to get my visa renewedInput Text: How do I renew my visa?Output Text: For the visa renewal, you need to fill up Visa Renewal Form at the Immigration office located at the Enterprise 3 building of Technology Park Malaysia, Lot G-5The documents required will be - Passport copies x 2 - All pages- Blue background passport size photo - Unedited- Renewal fee receiptThe renewal usually takes around 4 weeks as well.Rule Name: workInput Text: Can a student with this visa?Input Text: Can a student get a job with this visa?Input Text: Can a student work with this visa?Input Text: Can a student work part time with this visa?Input Text: Can I work at [restaurant]?Input Text: Can I work at [restaurant] while I have this visa?Output Text: No, International Students are not allowed to work while having the Student Visa.

However there are certain departments within the University that allow you to work part time.

To apply, submit your resume/CV to your counsellor.Rule Name: entryInput Text: Does the visa limit amount of exit-re-entry to Malaysia?Input Text: Does the visa have a travel limit?Input Text: How many times can I leave the country?Output Text: The Visa is a multiple exit and entry visa,So the student may leave the country as much as they want.Rule Name: conditionsInput Text: What are the conditions for visa renewals?Input Text: Are there any conditions for visa renewal?Input Text: Does the renewal depend on anything?Input Text: Can my visa renewal get rejected?Input Text: Do I need attendance for visa renewal?Input Text: What are the factors Visa renewal depends on?Input Text: What can stop my visa renewal?Input Text: Does my attendance affect my visa?Input Text: Does my attendance effect my visa?Input Text: What affects my visa renewal?Output Text: The renewal of the Visa is subjected to having 80% of attendance in an overall percentage for all the undertaken Modules.Rule Name: costInput Text: What are the visa renewal charges?Input Text: What are the costs of renewal visa?Input Text: Are there any charges for Visa renewal?Input Text: What is the cost to renew the visa?Input Text: What is the charges for visa renewal?Output Text: Depending on the country of the Student, the charges apply.

But usually the visa renewal charges are around 770 RM.Rule Name: insuranceInput Text: What about the medical insurance?Input Text: Does the International student get any medical insurance?Input Text: How do I apply for the medical insurance?Input Text: How do I get my medical insurance?Input Text: How can I apply for the medical insurance>Input Text: Do I get a medical insurance card?Input Text: Where can I use my medical insurance card?Input Text: What are the benefits of the medical insurance?Input Text: Does the student get a medical insurance?Input Text: Does the student get any medical assistance?Input Text: Does the student get any medical insurance card?Input Text: What about the medical insurance?Output Text: When you apply for the International Student Visa, the first time Application fee includes Medical Insurance fee which is issued by AXA Medical, which is the main Medical Insurance card used by many companies all around Malaysia.

The Student is payable to the first 50 RM of any treatment, depending on the Clinic and Hospital they visit, the rest is taken over by the Insurance Company.

The list of the clinics and hospitals applicable can be found in the list in the link below, extracted from the Student Webspace

http://webapps.apiit.edu.my/features/2008/axainsurance/Copy%20of%20AXA%20Panel%20Clinics%202008.htmRule Name: firsttimecostInput Text: How much do I need to pay initially?Input Text: How much do I pay for my Visa application?Input Text: How much does it cost to apply for Visa?Input Text: What are the initial Visa application charges?Output Text: The Initial visa payment is of 2250 RM, which includes the International Student Application fee and also the fees for the Medical Insurance that is valid for one year.

Rule Name: thankyouInput Text: Okay, thanksInput Text: okay, greatInput Text: thank you for your helpInput Text: thanksInput Text: thanks, that's all I need to knowInput Text: thank you, that's all I need to knowInput Text: Thank you for your assistanceInput Text: Thank you so much, that's all I need.Input Text: Thank youInput Text: Thanks a lotOutput Text: I'm happy to help, you're very welcome.21