assignment about programming Language, Summaries of Assembly Language Programming

amazing for student reading this

Typology: Summaries

2025/2026

Uploaded on 01/22/2026

dani-moyale
dani-moyale 🇮🇳

3 documents

1 / 5

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
COLLAGE OF COMPUTING
DEPARTMENT OF INFORMATION TECHNOLOGY
Course: Artificial Intelligence
Individual Assignment
Sub By:
Daniel Bizuneh
Ugr/30373/14
Sub To: Tomas u (Msc)
Date: 10-5-2025
pf3
pf4
pf5

Partial preview of the text

Download assignment about programming Language and more Summaries Assembly Language Programming in PDF only on Docsity!

COLLAGE OF COMPUTING

DEPARTMENT OF INFORMATION TECHNOLOGY

Course: Artificial Intelligence Individual Assignment

Sub By:

Daniel Bizuneh

Ugr/30373/

Sub To: Tomas u (Msc)

Date: 10-5-

1. Logic (Propositional & Predicate Logic)

🧾 Introduction Rule (Inference Mechanism):Modus Ponens (most common rule): o If P → Q is true and P is true, then conclude Q.  Universal Instantiation : From ∀x (P(x)), infer P(a) for a specific individual a. 🧾 Syntax:  Propositional logic: uses symbols like P, Q, ¬, ∧, →, etc.  Predicate logic: uses predicates and quantifiers: o ∀x (Human(x) → Mortal(x)) 🔠 Sample: ∀x (Bird(x) → CanFly(x)) Bird(Tweety) 🧾 Example:  Statement: "All birds can fly. Tweety is a bird."  Representation: ∀x (Bird(x) → CanFly(x)) Bird(Tweety)⇒ CanFly(Tweety)

🔠 2. Production Rules

🧾 Introduction Rule:Forward Chaining : Start with facts, apply matching rules, and derive conclusions.  Backward Chaining : Start with a goal and search for rules that support it. Example (Forward Chaining): Fact: raining = true, have_umbrella = true Rule: IF raining AND have_umbrella THEN go_outside Conclusion: go_outside

🔠 Sample: [Robin] --is-a--> [Bird] [Bird] --can--> [Fly] 🧾 Example: To represent: "Robin is a bird, birds can fly":  Semantic Net: o Robin → is-a → Bird o Bird → can → Fly  Inference : Robin can Fly

🔠 4. Schemata and Frames

🧾 Introduction Rule:Slot Filling : o When an object is instantiated, you fill in or override slot values.  Default Inheritance : o If a value isn’t provided, it inherits a default.  Procedural Attachment : o Slot can call a procedure to compute the value dynamically. Example: Frame: Car Default Engine: Combustion Instance: Tesla Overrides Engine: Electric 🧾 Syntax:  Structures with slots (attributes) and fillers (values)  Can include default values , procedural attachments , and nested frames 🔠 Sample: Frame: Dog Type: Mammal

Legs: 4 Sound: Bark 🧾 Example: Restaurant Frame : Frame: Restaurant Slots:

  • Menu: [Pizza, Pasta, Salad]
  • Staff: [Waiter, Chef]
  • Customer: Person
  • Action Sequence: [Enter, Order, Eat, Pay, Leave]