There can be several reasons why the user is not able to delete a file on the NTFS Volume or disk partition of the computer. Possible scenarios are as follows.
1. The user does not have sufficient permission to perform the task as the file itself may not be owned with the user. The best way is to make sure the user is an administrator.
2. The file is corrupted which prevents to properly access, running a chkdsk will help to validate with this.
3. Another common scenario is that the file is actually currently in use.
Answer:
// program in C++.
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// string array
string m[3];
// array to store rainfall
double rainfall[3];
// variables
double avg_rainfall,sum=0;
for(int i=0;i<3;i++)
{
cout<<"Enter name of month "<<i+1<<" :";
// read month name
cin>>m[i];
cout<<"Enter rainfall (inches) in month "<<i+1<<" :";
// read rainfall
cin>>rainfall[i];
// sum of rainfall
sum+=rainfall[i];
}
// Average rainfall
avg_rainfall=sum/3;
// print Average rainfall
cout<<"Average rainfall for "<<m[0]<<","<<m[1]<<","<<m[2]<<" is "<<avg_rainfall<<" inches."<<endl;
return 0;
}
Explanation:
Create string array "m" to store name of month and double array "rainfall" to store rainfall. Read name of 3 months and rainfall in that month.Find the sum of all the rainfall and the average rainfall.Print the average rainfall of 3 months.
Output:
Enter rainfall (inches) in month 2 :45
Enter name of month 3 :july
Enter rainfall (inches) in month 3 :43
Average rainfall for may,june,july is 42.6667 inches.
Answer:
(a)
Assuming the one-time pad P is used to XOR the message M to get ciphertext C, the following holds:
M ⊕ P = C
P = C ⊕ M
this is a basic property of how XOR works.
(b)
P = M1 ⊕ C1
then M2 = C2 ⊕ P
(c)
The attacker can make assumptions about the message (e.g., presence of certain words and spaces) and then calculate which pad would be needed to get them in the ciphertexts. He then has two ciphertexts that should yield valid content, making it much more easy to guess the pad.
Explanation:
The information can be found on the printserver or terminal serve information where mapped users to the server printers were granted or have access to. On setup of server printers, the administrators allow certain individual access to the terminal server after installing the printer to be made available on the server.
Answer:
Program, as name suggests, is simply a collection of instructions or ordered operations for computer to perform specific function or perform particular task and achieve a specific result. Software's are mainly dependent on operating system. ... Software's can be a program that generally runs on computer.