Artificial Intelligence Programs For Programming in Python

Traveling Salesman Problem ( TSP )] Artificial Intelligence Programs For Master Leval Programming in Python from iter tools import permutations def distance(point1, point2): >>> distance([3,4],[0,0]) 5.0 >>> distance([3,6],[10,6]) 7.0 return ((point1[0] - point2[0])**2 + (point1[1] - point2[1])**2) ** 0.5 def total_distance(points): all the points are in the given order. >>> total_distance([[1,2],[4,6]]) 5.0 >>> total_distance([[3,6],[7,6],[12,6]]) 9.0 return sum([distance(point, points[index + 1]) for index, point in enumerate(points[:-1])]) def travelling_salesman(points, start=None): Time complexity is O(N!), so never use on long lists. >>> travelling_salesman([[0,0],[10,0],[6,0]]) ([0, 0], [6, 0], [10, 0]) >>> travelling_salesman([[0,0],[6,0],[2,3],[3,7],[0.5,9],[3,5],[9,1]]) ([0, 0], [6, 0], [9, 1], [2, 3], [3, 5], [3, 7], [0.5, 9]) """ if the start is None: start = points[0] return min([perm for perm ...

Search engine optimization questions answers


Search Engine Optimizations (SEO)

Search Engine Optimization 1
Searching Techniques Fast Using SE
1)      Full form of SEO is?
answer: Search Engine Optimization 
  
   2)       Full form of SEM is?
answer: Search Engine Marketing  

3)      Full form of SMM is?
answer: Social Media Marketing  

4)      Full form of SERP is?
answer: Search Engine Result Pages 

5)      Which Search engine has the highest market share in China?
answer: Baidu 

6)      Full form of PPC is?
answer: Pay Per Click 

7)      Which of below is not a type of query?
answer: Searching 

8)      Average length in the number of words is _______ according to one survey conducted by ComScore in 2009
answer: 2.9 

9)      Search Engine Uses are more male compared to female[T/F]
answer: False 

10)  To search for 1 km equals meter is a type of _______ query.
answer: Informational 

11)  Finding a good restaurant for dinner is a type of query.
answer: Transactional 

12)  A ratio of the informational query and other query is _____
answer: 80:20 

13)  In category wise searching which category having the highest percentage?
answer: Directory/Resources  

14)  The ratio of online and offline marketing _______
answer: 1:6 

15)  When the user views the Google search result from his eye track create ________
answer: “F-Shaped” 

16)  2008 Google introduced a new concepts know as ______
answer: Universal Search 

17)  The concept of Universal Search is universally known as ______ search
answer: Blended Search 

18)  Which of Below is not a heat map of tracking tools.
answer: Click Tick 

19)  What is the ratio that the user clicks on first 10 links of SERP and second 10 links of SERP?
answer: 89.71 Vs 4.37  

20)  In a paid result, if our rank is between 1 to 4 it is equivalent to 7 to 10 in natural.[T/F]
answer: True 

21)  In 2008 yahoo has announced ____ which is stopped in _____.

answer: Search Monkey, Oct 2010.

Comments

Popular posts from this blog

MongoDB Exercises Practice Solution Exercise First

How to Generate QR Code in PHP with jquery Learn Now

How to create Pagination with PHP and MySql - Codingpoint