Artificial Intelligence Interview Questions – Set 01

What is the function of the third component of the planning system?

In a planning system, the function of the third component is to detect when a solution to problem has been found.

What are the typical characteristics of elements in a list and a dictionary?

In lists, elements maintain their order unless they are explicitly commanded to re-order. These can be made up of any data type that can be all the same or mixed. However, elements in lists can only be accessed via numeric, zero-based indices.

In a dictionary, the order isn’t guaranteed. However, each entry will be assigned a key and a value. As a result, elements within a dictionary can be accessed by using their individual key.

So whenever you have a set of unique keys, you have to use a dictionary. Whenever a collection of items are in order, you can use a list.

It’s difficult to predict how an AI interview will unfold, so if they follow up by asking you how to get a list of all the keys in a dictionary, respond with the following:

To obtain a list of keys in a dictionary, you’ll have to use the following function keys():

mydict={‘a’:1,’b’:2,’c’:3,’e’:5}
mydict.keys()
dict_keys([‘a’, ‘b’, ‘c’, ‘e’])

In Artificial Intelligence, what do semantic analyses used for?

In Artificial Intelligence, to extract the meaning from the group of sentences semantic analysis is used.

What are the Advantages of an Expert System?

  • The advantages of an expert system are:
  • Easy availability
  • Low production costs
  • Greater speed and reduced workload
  • They avoid motions, tensions, and fatigue
  • They reduce the rate of errors.

What are artificial intelligence career domains?

A career in this can be realized within a variety of settings including : private companies public organizations education the arts healthcare facilities government agencies and the military.

What is Naive Bayes?

Naive Bayes Machine Learning algorithm is a powerful algorithm for predictive modeling. It is a set of algorithms with a common principle based on Bayes Theorem. The fundamental Naive Bayes assumption is that each feature makes an independent and equal contribution to the outcome.

What is a Turing Test? Explain.

A Turing test allows you to check your machine’s Intelligence in comparison to human Intelligence. In a Turing test, a computer would challenge human Intelligence, and if it passes the test, only then can you term it as intelligent. Even a smart machine might not be able to replicate humans also though it passes the test.

What is fuzzy logic? List its Applications.

  • Fuzzy logic is a subset of AI. It is a way of encoding human learning for artificial processing. It is represented as IF-THEN rules. Some of its important applications include:
  • Facial pattern recognition
  • Air conditioners, washing machines, and vacuum cleaners
  • Anti Skid braking systems and transmission systems
  • Control of subway systems and unmanned helicopters
  • Weather forecasting systems
  • Project risk assessment
  • Medical diagnosis and treatment plans
  • Stock trading

What is the Tower of Hanoi?

Tower of Hanoi essentially is a mathematical puzzle that displays how recursion is utilised as a device in building up an algorithm to solve a specific problem. The Tower of Hanoi can be solved using a decision tree and a breadth-first search (BFS) algorithm in AI. With 3 disks, a puzzle can essentially be solved in 7 moves. However, the minimal number of moves required to solve a Tower of Hanoi puzzle is 2n − 1, where n is the number of disks.

Which algorithm inverts a complete resolution strategy?

‘Inverse Resolution’ inverts a complete resolution, as it is a complete algorithm for learning first order theories.