Write WFF for the following statements: (5 Marks) a) Every Person has Mother b) There is a woman and she is mother of Siya
See Answer →: Apply Alpha-Beta pruning algorithm on the following graph and find which node(s) are pruned?
See Answer →Draw a state space tree representation to solve the Tower of Hanoi problem. (Take the number of dis
See Answer →: Find the minimum cost path for the 8-puzzle problem, where the start and goal state are given as
See Answer →What is the Turing Test? What is the criticism of the Turing Test?
See Answer →How does knowledge differ from intelligence? What do you understand by the term Artificial Intelligence (AI)? List the various technologies and their corresponding illustrative solutions
See Answer →Write a Python Program to implement the AO* Algorithm
See Answer →Write a Python Program to implement the Min-Max Algorithm.
See Answer →Implement the Water Jug problem in Python.
See Answer →Write a Python Program to solve the N-Queen Problem without using Recursion.
See Answer →Write a data visualization script using Matplotlib to build a single Figure containing two side-byside subplot Axes grids: • Subplot 1: A line chart representing trend progression values over a timeline. • Subplot 2: A scatter plot diagram highlighting coordinate cluster spaces. Note: Add clear axis titles, customised colour mappings, legends, and bounding grid markers across the visual plots
See Answer →Build a fully interactive graphical user interface using Tkinter for currencies conversion. The window should feature an input box for an amount, a dropdown menu to select target currencies, a conversion trigger button, and a persistent display label mapping the calculated results. Make necessary assumptions.
See Answer →Design an OOP application for an inventory system of an online shopping portal. Create an Item class with attributes like name, price, and stock count etc. Make necessary assumption
See Answer →Write a Python script that generates a 4×4 nested list (matrix) containing integer values from 1 to 16. Without using any external libraries, write logic to: (3 Marks) • Extract and print the inner 2×2 sub-matrix • Reverse the rows of the matrix in-place
See Answer →What is multithreading, and how does Python support it? Provide a foundational script utilising the threading module that synchronizes two overlapping threads competing for a single shared resource using thread-primitive lock systems
See Answer →Describe the operational flow of Python’s complete exception-handling block architecture (try, except, else, and finally) with the help of a program
See Answer →Define polymorphism in Python and explain how operator overloading enables custom behaviours for standard operand symbols
See Answer →Explain the structural execution mechanics of decorators and generators inside modern Python runtime engines.
See Answer →Explain the concepts of an instance method, a class method (@classmethod
See Answer →Contrast regular named function architectures with lambda (anonymous) functions. Write a program demonstrating a higher-order function that accepts a lambda expression as an input parameter to filter and map a dictionary dataset based on custom key conditions
See Answer →