Answer: Marketing
Explanation: Marketing is the technique which works between the customer and the product producing companies.It is the mechanism in which the products are the produced or created and then sold to the customers with some attractive offers.
Different marketing strategy is made for attracting the audience towards the product purchase by the customer.It involves lot of exciting and attractive offers and schemes to be introduced,large advertising ,promotions etc.
Answer:
def calculate_storage(filesize):
block_size = 4096
full_blocks = filesize // block_size
partial_block = filesize % block_size
if partial_block > 0:
return (full_blocks + 1) * block_size
return filesize
print(calculate_storage(1))
print(calculate_storage(4096))
print(calculate_storage(4097))
Explanation:
The python program defines the function 'calculate_storage' that calculates the block storage used. It gets the number of blocks used to store the data by making a floor division to get the integer value, then it checks for remaining spaces in the block. If there are spaces left, it adds one to the full_blocks variable and returns the result of the multiplication of the full_blocks and block_size variables.
Answer:
x=2
x=1
x=2
Explanation:
a)
This if statement if (1+2=3) checks if the addition of two numbers 1 and 2 is true. Here the addition of 1 and 2 is 3 which is true. So the condition becomes true.
Since the condition is true x:=x+1 statement is executed. This statement means that the value of x is incremented by 1.
The value of x was 1 before the if statement is reached. So x:=x+1 statement will add 1 to that value of x.
x:=x+1 means x=x+1 which is x=1+1 So x=2
Hence value of x is 2 (x=2) after the execution of x:=x+1
b)
In statement b the value of x will be 1 because both the mathematical operations in the if statement evaluate to false.
which means in b, x:=x+1 will not be executed and value of x remains unchanged i.e x=1
In (c) the value x will be 2 because the condition in the if statement is true. Both mathematical expressions 2+3=5 and 3+4=7 are true. Therefore x:=x+1 will be executed and value of x will be incremented by 1. Hence x=2
I used computers for 3 years now and i think its B
Answer: The message must be sent 9.313 approximately 9 times to get the entire data through.
Explanations: To find how many times the message must be sent on average to avoid error control in data link later.
E = 1/P
E = The average number of attempt before successful transmission.
P= Total probability of transmission without error.
STEP1 : FIND TOTAL PROBABILITY;
Since it each frame has a probability of 80% to be successful.
For each frame p = 80/100 = 0.8
For the 10 frame; total probability
P= (0.8)^10 = 0.1074
STEP2: FIND THE AVERAGE NUMBER OF OF TRIAL BEFORE A SUCCESSFUL TRANSMISSION WITHOUT ERROR;
Using equation above
E = 1/P
E= 1 ÷ 0.1074 = 9.313
Therefore they must be an average of 9.313 approximately 9 trials before a successful transmission without error.