Answer:
1. Generally Linkedlist is used, but you can also use the queue. Hence both linked list are queue are correct options. However, treeset is sorted and hashset is not sorted, and hence we cannot make use of the treeset. Similarly the stack cannot as well be used as a Hashset.
2. D. Additional cells in the same hashset are examined and the index is incremented by a fixed value each time.
Explanation:
The 2 deals with the linear probing, and what is meant as option in 2 is what we know as linear probing in hashset, and we do have quadratic probing and double probing as well.
The answer is C: Crawler
The job of a search crawler and a web spider is the same. Actually, a search engine has many different names, such as automatic indexers and web spiders. A crawler is a program that browses the World Wide Web systematically in order to provide updated data to the particular search engine. Its purpose is to create entries for a search engine index. A crawler works by getting a list of URL’s to visit and store. It gets copies which it stores to the search engine to later index.
Answer:
WAN(wide area network) is the network that is used for the connection in the geographical areas on large scale.They are used for connecting the areas like cities, countries, states etc.The connection of various LANs(Local area network) and MAN(Metropolitan area network) form the WAN.
There are several components that are used in the wide area network structure. Some of the constituents are as follows:-
- ATM()Asynchronous transfer mode
- Fiber optic communication path
- Modem having cables
- Frame relay
- Dial up internet etc.
Answer:
Explanation:
price = eval(input("price of item: "))
quantity = eval(input("quantity of item: "))
sales_tax = 0.08 # 8% sales tax
total_cost = price*quantity
total_cost_with_tax = total_cost + total_cost*sales_tax
print("total cost: "+str(total_cost))
print("total cost + 8% sales tax: "+str(total_cost_with_tax))
Answer:
writing one in comments bec i don't have time for both sorry