Artificial Intelligence Interview Questions
Questions Answers Views Company eMail

 What is the output of the following statement? * (setf meals ‘(breakfast lunch tea dinner)) * (cons (first meals) (last meals)) a) Breakfast b) Lunch c) Dinner d) Both a & c

1 3409

What is the output of the following statement? * (setf whole-list ‘(monday tuesday wednesday thursday friday)) * (defun both-ends ()(setf whole-list (cons (first whole-list) (last whole-list)))) a) Monday b) BOTH-ENDS c) Friday Monday d) Monday Friday

1 1549

 What is the output of the following statement? * (defun both-ends-with-special ()(setf whole-list (cons (first whole-list) (last whole-list)))) * (setf whole-list ‘(monday tuesday wednesday thursday friday)) * (both-ends-with-special) a) Monday b) Friday c) Wednesday d) Both a & b

1 1388

 What is the output of the following statement? * (setf meals ‘(breakfast lunch tea dinner)) * (first meals) a) Breakfast b) Lunch c) Tea d) Dinner

1 1470

 What is the output of the following statement? * (setf x ‘outside) * (let ((x ‘inside) (y x)) (list x y)) a) Outside b) Inside c) Inside Outside d) Outside Inside

1 1412

Which makes it possible to define generic functions? a) Lisp b) CLOS c) Class d) Object-Oriented programming

1 1299

What is meant by collection of methods the same name? a) Lisp class b) Class c) Generic function d) None of the mentioned

1 1488

Which keyword is used to define the method? a) Defun b) Destruct c) Demake d) Defmethod

1 1468

 Which class can help to select a method? a) Nonoptional argument b) Class c) Method d) None of the method

1 1313

 Which require sophisticated precedence compputation? a) Superclass b) Multiple Superclass c) Subclass d) None of the mentioned

1 1407

 What is the output of the given statement? * (defstruct triangle (base 0) (altitude 0)) * (defun area (figure) (cond ((triangle-p figure) (* 1/2 (triangle-base figure) (triangle-altitude figure))))) * (setf triangle (make-triangle :base 2 :altitude 3)) * (area triangle) a) Triangle b) 7 c) 6 d) 10

1 1424

 What is the output of the given statement? * (defstruct circle (radius 0)) * (defun area (figure) (cond ((circle-p figure) (* pi (expt (circle-radius figure) 2))))) * (setf circle (make-circle :radius 11)) * (area circle) a) 44 b) 380 c) 382 d) 380.132

1 1381

 What is the output of the given statement? * (defmethod area ((figure rectangle)) (* (rectangle-width figure) (rectangle-height figure))) a) Area b) Rectangle c) Height d) Error

1 1376

 What is the output of the given statement? * (defclass article() ((title :accessor article-title :initarg :title) (author :accessor article-author :initarg :author))) a) Article b) c)  d) None of the mentioned

1 1398

What is the output of the given statement? * (defclass article() ((title :accessor article-title :initarg :title) (author :accessor article-author :initarg :author))) * (defclass computer-article (article) ()) * (defclass business-article (article) ()) * (defclass political-article (article) ()) * (setf articles (list (make-instance ‘business-article :title “Memory Prices down”))) a) Business article b) Political article c) Business article

843


Un-Answered Questions { Artificial Intelligence }

What do you mean by parametric models? Also, give some examples of them?

33


What is machine learning artificial intelligence?

53


What is weak and strong artificial intelligence?

559


What are the use cases of tensorflow?

5


Explain latent dirichlet allocation (lda).

84






Tell us what's the difference between a generative and discriminative model?

57


What are some factors that explain the success and recent rise of deep learning?

5


Define some key performance indicators for the product

96


Tell me what are the last machine learning papers you've read?

44


Differences between star and snowflake schemas?

26


Count the total number of trees in United States.

118


Python is enough for data science ?

106


What are the five popular algorithms we use in machine learning?

52


Given a series of positive integers. Design an efficient algorithm that can detect pairs whose sum is equal to K such that K = ei + ej, and (i not equal to j).

558


How k-means clustering is different from knn?

3