Answer:
Hardware layer
Explanation:
The hardware layer's job is to maintain and put to action central processor units and memory. Hardware layer first check the availability of the for mentioned duo and then decides the need to put one or another into action. Physical and data link layers act the same in the hardware layer. They bot are waiting to be called in action
Answer:
Sort the list first, then do a bisection search
Explanation:
In bisection search method, we divide the array of numbers in two equal parts. Then we check that the number is exist in first half or second half. It is necessary to perform this operation that array should sorted. This is the fast searching algorithm as compared to Linear search. In linear search Algorithm we have to check every element in the array until we find the required number. The bisection search method is faster as compare to linear search. This follows following steps top complete the operation of searching.
- Sort the array
- Divide the total array in two equal parts
- Check that the required number that we want to search is in first half or second half
- If the number is found in first half then second half of array will be discarded.
- Then repeat step 2 and 3 until not found the required element.
Answer:
Mon Feb 26 2017
Explanation:
Since the current date is considered as Monday, February 26, 2017, thisDay will be set to that value.
The toDateString() method returns the first three letters of the name of the day (The first letter is capitalized), the first three letters of the name of the month (The first letter is capitalized), the day of the month as an integer, and the year as an integer (There are spaces between all)
Answer: Virtualization
Explanation:
Virtualization software is the software application that has the ability to execute many operating system on one computer or server at the same time. It helps in gaining more output in the form of higher number of processing on the same hardware.
- It helps in enhancing software testing, saving energy ,maintaining load balancing , backing up data, running various operating system etc.It is also known as hypervisor
- Example of virtualization software are Microsoft Hyper-V, Xen Projects, Red Hat virtualization etc.
Answer:
Written in Python:
fruit_dictionary = {}
fruit_dictionary = {'apple': 'red', 'orange': 'orange', 'banana': 'yellow'}
Explanation:
First (although, not necessary), we create an empty dictionary named fruit_dictionary on line 1
Next, we populate the dictionary using the following syntax:
{key-1:value-1, key-2:value-2,......,key-n:value-n}
In this case, the entry would be:
{'apple': 'red',
'orange': 'orange',
'banana': 'yellow'}
The items on the first column (i.e. apple, orange and banana) are the keys while the items on the second (i.e. red, orange and yellow) are the values of the dictionary
To print the items in the dictionary, you can add the following line of code:
<em>print(fruit_dictionary.items()) </em>