Artificial Intelligence Interview Questions and Answers for Freshers

1. What is AI?
Artificial intelligence (“AI”.can mean many things to many people. Much confusion arises that the word ‘intelligence’ is ill-defined. The phrase is so broad that people have found it useful to divide AI into two classes: strong AI and weak AI.
2. What is the difference between strong AI and weak AI?
Strong AI makes the bold claim that computers can be made to think on a level (at least.equal to humans. Weak AI simply states that some “thinking-like” features can be added to computers to make them more useful tools… and this has already started to happen (witness expert systems, drive-by-wire cars and speech recognition software). What does ‘think’ and ‘thinking-like’ mean? That’s a matter of much debate.
3. I am a programmer interested in AI. I am writing a game that needs AI. Where do I start?
It depends what the game does. If it’s a two-player board game,look into the “Mini-max” search algorithm for games (see [4-1]). In most commercial games, the AI is is a combination of high-level scripts and low-level efficiently-coded, real-time, rule-based systems. Often, commercial games tend to use finite state machines for computer players. Recently, discrete Markov models have been used to simulate unpredictible human players (the buzzword compliant name being “fuzzy” finite state machines).
A recent popular game, “Black and White”, used machine learning techniques for the non-human controlled characters. Basic reinforcement learning, perceptrons and decision trees were all parts of the learning system. Is this the begining of academic AI in video games?
4. What is an agent?
A very misused term. Today, an agent seems to mean a stand-alone piece of AI-ish software that scours across the internet doing something “intelligent.” Russell and Norvig define it as “anything that can can be viewed a perceiving its environment through sensors and acting upon that environment through effectors.” Several papers I’ve read treat it as ‘any program that operates on behalf of a human,’ similar to its use in the phrase ‘travel agent’. Marvin Minsky has yet another definition in the book “Society of Mind.” Minsky’s hypothesis is that a large number of seemingly-mindless agents can work together in a society to create an intelligent society of mind. Minsky theorizes that not only will this be the basis of computer intelligence, but it is also an explaination of how human intelligence works. Andrew Moore at Carnegie Mellon University once remarked that “The only proper use of the word ‘agent’ is when preceded by the words ‘travel’, ‘secret’, or ‘double’.”
5. What has AI accomplished?
Quite a bit, actually. In ‘Computing machinery and intelligence.’, Alan Turing, one of the founders of computer science, made the claim that by the year 2000, computers would be able to pass the Turing test at a reasonably sophisticated level, in particular, that the average interrogator would not be able to identify the computer correctly more than 70 per cent of the time after a five minute conversation. AI hasn’t quite lived upto Turing’s claims, but quite a bit of progress has been made, including:
– Deployed speech dialog systems by firms like IBM, Dragon and Lernout&Hauspie
– Financial software, which is used by banks to scan credit card transactions for unusual patterns that might signal fraud. One piece of software is estimated to save banks $500 million annually.
– Applications of expert systems/case-based reasoning: a computerized Leukemia diagnosis system did a better job checking for blood disorders than human experts.
– Machine translation for Environment Canada: software developed in the 1970s translated natural language weather forcasts between English and French. Purportedly stil in use.
6. What are the branches of AI?
There are many, some are ‘problems’ and some are ‘techniques’.
Automatic Programming – The task of describing what a program should do and having the AI system ‘write’ the program.
Bayesian Networks – A technique of structuring and inferencing with probabilistic information. (Part of the “machine learning” problem).
Constraint Statisfaction – solving NP-complete problems, using a variety of techniques.
Knowledge Engineering/Representation – turning what we know about particular domain into a form in which a computer can understand it.
Machine Learning – Programs that learn from experience or data.
Natural Language Processing(NLP.- Processing and (perhaps.understanding human (“natural”.language. Also known as computational linguistics.
Neural Networks(NN.- The study of programs that function in a manner similar to how animal brains do.
Planning – given a set of actions, a goal state, and a present state, decide which actions must be taken so that the present state is turned into the goal state
Robotics – The intersection of AI and robotics, this field tries to get (usually mobile.robots to act intelligently.
Speech Recogntion – Conversion of speech into text.
7. What are good programming languages for AI?
This topic can be somewhat sensitive, so I’ll probably tread on a few toes, please forgive me. There is no authoritative answer for this question, as it really depends on what languages you like programming in. AI programs have been written in just about every language ever created. The most common seem to be Lisp, Prolog, C/C++, recently Java, and even more recently, Python.
LISP- For many years, AI was done as research in universities and laboratories, thus fast prototyping was favored over fast execution. This is one reason why AI has favored high-level langauges such as Lisp. This tradition means that current AI Lisp programmers can draw on many resources from the community. Features of the language that are good for AI programming include: garbage collection, dynamic typing, functions as data, uniform syntax, interactive environment, and extensibility. Read Paul Graham’s essay, “Beating the Averages” for a discussion of some serious advantages:
PROLOG- This language wins ‘cool idea’ competition. It wasn’t until the 70s that people began to realize that a set of logical statements plus a general theorem prover could make up a program. Prolog combines the high-level and traditional advantages of Lisp with a built-in unifier, which is particularly useful in AI. Prolog seems to be good for problems in which logic is intimately involved, or whose solutions have a succinct logical characterization. Its major drawback (IMHO.
8. What is the difference between classical AI and statistical AI?
Statistical AI, arising from machine learning, tends to be more concerned with “inductive” thought: given a set of patterns, induce the trend. Classical AI, on the other hand, is more concerned with “deductive” thought: given a set of constraints, deduce a conclusion. Another difference, as mentioned in the previous question, is that C++ tends to be a favourite language for statistical AI while LISP dominates in classical AI.
A system can’t be truely intelligent without displaying properties of both inductive and deductive thought. This lends many to beleive that in the end, there will be some kind of synthesis of statistical and classical AI.
9. What are best graduate schools for AI?
The short answer is: MIT, CMU, and Stanford are historically the powerhouses of AI and still are the top 3 today.
There are however, hundreds of schools all over the world with at least one or two active researchers doing interesting work in AI. What is most important in graduate school is finding an advisor who is doing something YOU are interested in. Read about what’s going on in the field and then identify the the people in the field that are doing that research you find most interesting. If a professor and his students are publishing frequently, then that should be a place to consider.
10. What are partial, alternate, artificial, compound and natural key?
It is a set of attributes that can uniquely identify weak entities and that are related to same owner entity. It is sometime called as Discriminator.
Alternate Key:
All Candidate Keys excluding the Primary Key are known as Alternate Keys.
Artificial Key:
If no obvious key, either stand alone or compound is available, then the last resort is to simply create a key, by assigning a unique number to each record or occurrence. Then this is known as developing an artificial key.
Compound Key:
If no single data element uniquely identifies occurrences within a construct, then combining multiple elements to create a unique identifier for the construct is known as creating a compound key.
Natural Key:
When one of the data elements stored within a construct is utilized as the primary key, then it is called the natural key.
11. Where can I find conference information?
Georg Thimm maintains a webpage that lets you search for upcoming or past conferences in a variety of AI disciplines.
12.A* algorithm is based on which search method?
A* algorithm is based on best first search method, as it gives an idea of optimization and quick choose of path, and all characteristics lie in A* algorithm.
13. What does a hybrid Bayesian network contain?
A hybrid Bayesian network contains both a discrete and continuous variables.
14. What is agent in artificial intelligence?
Anything perceives its environment by sensors and acts upon an environment by effectors are known as Agent. Agent includes Robots, Programs, and Humans etc.
15. What does Partial order or planning involve?
In partial order planning , rather than searching over possible situation it involves searching over the space of possible plans. The idea is to construct a plan piece by piece.
16. What are the two different kinds of steps that we can take in constructing a plan?
a. Add an operator (action)
b. Add an ordering constraint between operators
17. Which property is considered as not a desirable property of a logical rule-based system?
“Attachment” is considered as not a desirable property of a logical rule based system.
18. What is Neural Network in Artificial Intelligence?
In artificial intelligence, neural network is an emulation of a biological neural system, which receives the data, process the data and gives the output based on the algorithm and empirical data.
19.When an algorithm is considered completed?
An algorithm is said completed when it terminates with a solution when one exists.
20. What is a heuristic function?
A heuristic function ranks alternatives, in search algorithms, at each branching step based on the available information to decide which branch to follow.
21. 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.
22. What is “Generality” in AI ?
Generality is the measure of ease with which the method can be adapted to different domains of application.
23. What is a top-down parser?
A top-down parser begins by hypothesizing a sentence and successively predicting lower level constituents until individual pre-terminal symbols are written.
24. Mention the difference between breadth first search and best first search in artificial intelligence?
These are the two strategies which are quite similar. In best first search, we expand the nodes in accordance with the evaluation function. While, in breadth first search a node is expanded in accordance to the cost function of the parent node.
25. What are frames and scripts in “Artificial Intelligence”?
Frames are a variant of semantic networks which is one of the popular ways of presenting non-procedural knowledge in an expert system. A frame which is an artificial data structure is used to divide knowledge into substructure by representing “stereotyped situations’. Scripts are similar to frames, except the values that fill the slots must be ordered. Scripts are used in natural language understanding systems to organize a knowledge base in terms of the situation that the system should understand.

Related

Interview Questions 2555518226576695334

Post a Comment

emo-but-icon

item