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-2


Search Engine Optimizations (SEO)-2

Search Engine Optimization
Searching Techniques Fast Using SE
Search engine optimization questions answers


Google has started giving query refinement service from 
answer: 2009
   
Sometimes google gives instant answers which are known as 
answer: One box results

If we enter SE1 2HG in google the output will be 
answer: Postcode of UK/ google map of UK

Meaning of citation is. 
answer: To give reference 

Use of meta keywords tag
answer: To define keywords of your site

Use of meta description tag 
answer: To give detail description of the website

Explain the meaning of the word semantic connectivity
answer: Related connectivity 

Concept of link neighbourhood means ? 
answer: Links to related sites

Full form of QDF is 
answer: Query deserves freshness

From below which is not a positive ranking factor___
answer: Good impression 

From below which is not a negative ranking actor
answer: Use of Keyword in Title Tag 

Use of (site:)
answer: To search inside particular url 

Use of (*)
answer: Wildcard 

Use of (related:)
answer: To search related websites 

Use of (~)
answer: synonyms 

Given below which is not a google vertical search engines
answer: Google drive 

Give url for google custom search engine
answer: www.google.com/cse

Search engine maximum used in China is 
answer: Baidu

Search engine maximum used in India is 
answer: google

Search engine maximum used in Russia is  
answer: Yandex

Search engine maximum used in South Koreas 
answer: Naver

Search engine maximum used in the Czech Republic is____
answer: seznam 

The map prepared by the search engine after a detailed analysis of a web page it is known as 
answer: Symantec map

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