Answer: The shell sort is based on insertion sort. Here the list of elements are divided into smaller sub list which are sorted based on insertion sort.
Its best case time complexity is O(n* logn) and worst case is O(n* log^2 n)
Explanation:
Shell sort is an inplace sorting here we begin by dividing the list into sublist and sorting the list with insertion sort. We create interval for dividing the list into sub list until we reach the smallest interval of 1.
The best case is O(n* logn).
digital subscriber line
data subscriber line
digital service line
none of the above
Answer:
digital subscriber line
It dеpеnds οn thе pοrt availability οn thе PC and thе rοutеr οr switch. If thе PC has a sеrial pοrt and a DB9-tο-RJ45 cablе is availablе, it is gеnеrally еasiеr tο cοnnеct tο thе rοutеr οr switch using thе sеrial cοnsοlе pοrt. If thе PC dοеs nοt havе a sеrial pοrt, a third party USB-tο-Sеrial adaptеr can bе usеd. Ciscο switchеs dο nοt havе mini-USB cοnsοlе pοrts, sο cοnnеcting via USB is nοt an οptiοn. If cοnnеcting frеquеntly tο a Ciscο rοutеr that has a Mini USB cοnsοlе pοrt, this can bе thе mοst еffеctivе mеthοd οncе thе Ciscο drivеrs arе installеd, bеcausе nеarly all nеwеr PCs havе USB pοrts.
Solution:
The advantages and disadvantages of using the serial console connection compared to the USB console connection to a cisco router or switch Re as follows:
USB stands for Universal Serial Bus. The advantages over serial and parallel connections are several and quite significant. The data transfer rate of a USB port is quite high I don't remember the specifics but it's something like 10MB/sec. Serial ports are significantly slower and while parallel ports are somewhat faster they are still very slow in comparison to a USB port. The transfer rate is quite miser compared to USB.
Another great difference is that with serial or parallel devices you must reboot the computer every time you change a device on the port. USB devices are hot-swappable, meaning you can change them out with the computer on, without having to reboot since the system will automatically detect when a device is plugged in (at least this is Micro$oft claims).
A great advantage is that several devices to a single USB port through a port hub.
The only disadvantage is in USB devices are limited to a distance of about 7ft from the port. Serial devices can be extended to a much greater distances.
Answer:
Implemented using Python
n = int(input("Sides: "))
if(n>=1 and n <=50):
for i in range(1,n+1):
for j in range(1,i+1):
print('*',end='')
print("")
for i in range(n,0,-1):
for j in range(i,1,-1):
print('*',end='')
print("")
else:
print("Range must be within 1 and 50")
Explanation:
This line prompts user for number of sides
n = int(input("Sides: "))
The line validates user input for 1 to 50
if(n>=1 and n <=50):
The following iteration uses nested loop to print * in ascending order
for i in range(1,n+1):
for j in range(1,i+1):
print('*',end='')
print("")
The following iteration uses nested loop to print * in descending order
for i in range(n,0,-1):
for j in range(i,1,-1):
print('*',end='')
print("")
The following is executed if user input is outside 1 and 50
else:
print("Range must be within 1 and 50")
Answer:
The advantage and the disadvantage of the relevant query are illustrated in the explanation in the paragraph below.
Explanation:
Advantage:
Disadvantage:
Answer:
Prolog program are used in the artificial intelligence and the web development in a systematic manner process. As, it is also sometimes known as declarative language which basically consist of some facts and list. Prolog program are divided into the sections that are:
We need each section of the prolog program because all the sections introduced the systematic program and performed there particular functions so by using all these processing steps an efficient function are formed.
Answer:
Search Object
Explanation:
Qlikview is a form of computer software application that is basically used in analytics explanation. In order to search for information anywhere in the document inside the Qlikview application, a form of sheet object referred to as SEARCH OBJECT is utilized.
Hence, in this case, In QlikView, SEARCH OBJECT is used to search for information anywhere in the document.