Answer:
Python code given below
Explanation:
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))
Answer:
The growing concern of health science professionals and their limited number has caused students to opt for the courses in the U.S.
Explanation:
Health science professions account for more than half of the top twenty major growing occupations worldwide. According to the survey in 2018, it was estimated that by 2020 the United States would need around six million additional healthcare employees. And in the present scenario of the Coronavirus pandemic, it has been increased incredibly. And therefore more educational institutes are providing programs to assist students to prepare for health science careers.
Return them they are probably defective or turn ur media volume all the way down.
DDoS - Distributed Denial of Service
<u>Explanation:</u>
- In DDoS attack, the attack comes from various system to a particular one by making some internet traffic.
- This attack is initiated from various compromised devices, sometimes distributed globally through a botnet. It is different from other attacks such as (DoS) Denial of Service attacks, in which it utilizes an unique Internet-connected device ( single network connection) to stream a target with the malicious traffic.
- So in DDoS, multiple systems are involved in the attack and hence we can conclude that as the answer.
Answer:
// here is code in C++(bmi.cpp).
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variables
float weight,height;
cout<<"enter the weight(in kilograms):";
//read the weight
cin>>weight;
cout<<"enter the height(in meters):";
//read the height
cin>>height;
// calculate the bmi
float bmi=weight/(pow(height,2));
// print the body-mass index with two decimal places
cout<<"BMI is: "<<fixed<<setprecision(2)<<bmi<<endl;
return 0;
}
Explanation:
Read the weight from user and assign it to variable "weight",read height and assign it to variable "height".Then find the body-mass index as (weight/height^2).Here weight should be in kilograms and height should be in meters.
Output:
enter the weight(in kilograms):75
enter the height(in meters):1.8
BMI is: 23.15