Professional Documents
Culture Documents
Final Term Assignment
Final Term Assignment
Session: 2020
Semester: 6th
Date: 12-08-2020
Student Signature
__________________________
Question No. 01
import cv2
face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml')
cap = cv2.VideoCapture(0)
while cap.isOpened():
_, img = cap.read()
cap.release()
Question No. 02
Question No. 03
First order logic can represent individual properties. If we write single sentence FOL can
easily represent that sentence
FOL can express generalization, specialization and pattern
FOL use predicated which involve constants, variables, functions and relations
FOL is a mathematical model for predicates function that map variables to truth values.
Question No. 04 Initial State
1 2 3
4 - 5
7 8 6
1 - 3 1 2 3 1 2 3 1 2 3
4 2 5 4 5 - 4 8 5 - 4 5
7 8 6 7 8 6 7 - 6 7 8 6
- 1 3 1 3 - 1 2 - 1 2 3
4 2 5 4 2 5 4 5 3 4 5 6
7 8 6 7 8 6 7 8 6 7 8 -
Goal State
Question No. 05
Time
Space
Complexity