Answer:
function dataSamples=AdjustMinValue(numberSamples, userSamples, minValue)
dataSamples=userSamples;
%for loop
for i=1:numberSamples
%checking if dataSamples value at index,i
%is less than minValue
if dataSamples(i)<minValue
%set double of dataSamples value
dataSamples(i)= 2*dataSamples(i);
end
end
end
Explanation:
The given code is in MATLAB.
First things first you have to do write it down which you did
step 2: then you multiply each digit of the binary number by the corresponding power of 2: 1x25 + 0x24 + 1x23 + 1x22 + 0x21 + 1x2 0
step 3: solve the powers: 1x32 + 0x16 + 1x8 + 1x4 + 0x2 + 1x1 = 32 + 0 + 8 + 4 + 0 + 1
step 4: add the numbers written above
32 + 0 + 8 + 4 + 0 + 1 = 45.
So, 45 is the decimal equivalent of the binary number 101101.
Answer:
Algorithm
Explanation:
It is the step by step procedure,which defines a set of instructions which is to be carried out by the computer
Answer:
Option (D) is the right answer.
Explanation:
DHCP term used as a short form of dynamic host configuration protocol, which is used to assigns the IP address automatically according to the network.
According to the scenario, the system is getting the wrong IP address that resulting in internet disconnection which is a failure of the DHCP server because it is responsible for assigning the right IP address to the system.
Hence option (D) is the most appropriate answer.
While other options are wrong because of the following reasons:
- Static IP is the type of IP address which is fix and doesn't change in the system after rebooting, hence it has no connection in the change of IP address.
- If the DHCP server is working well there is no chance of interference from the surrounding device.
- Network setting has no connection with computer power supply as SMPS is used to give power and boot system only.