Answer:
It is an excellent decision to change to active directory
Explanation:
Active Directory offers the following advantages, for optimal customer response:
Main objects (users, groups, units, organization).
Security (groups, NTFS - permits, audit)
Integration (-windows services, Microsoft applications)
Administration (centralized and delegated)
Scalability (domain, tree, forest)
All the above helps us to control access to files.
Answer:
Virtualization is the technology that is used to create virtual representation and version of the different devices like software, many storage devices and server.
It also help in organize the working framework where the structure isolates the asset into at least one execution situations.
The benefits of using the virtualization on the single machine are:
- The virtualization increased the productivity when it used in the cluster environment.
- We can able to access the different resources faster.
- The data center management is simple while using the virtualization in the cluster environment.
The drawback of using virtualization on single machine are:
- The virtual machine is less efficient as compared to the real machines.
- The virtual machine indirectly access the computer hardware system so that is why it is less efficient and also consume more power to run the system.
Answer:
#include <iostream>
using namespace std;
class ProblemSolution {
private:
int num1, num2;
public:
ProblemSolution(int n1, int n2) {
num1 = n1;
num2 = n2;
}
int calculateSum() {
int sum = 0;
sum = num1 + num2;
return sum;
}
void printSum() {
// calculateSum will return sum value that will be printed here
cout <<"Sum = "<< calculateSum();
}
~ProblemSolution() {
cout << "\nDestructor is called " << endl;
};
};
int main() {
int a, b;
cout << "Enter a: ";
cin >> a;
cout << "Enter b: ";
cin >> b;
// Initiallizing object pointer of type ProblemSolution
ProblemSolution *objPtr = new ProblemSolution(a,b);
// printing Sum
objPtr->printSum();
// delete objPtr to relaease heap memory :important
delete objPtr;
return 0;
}
Explanation:
we will initialize a pointer "objPtr" and initallize the constructor by passing 2 values a and b followed by the keyword "new". the keyword "new" allocates memory in the heap. we can access class member functions using arrow "->". it is important to delete objPtr at the end of the program so that the heap memory can be freed to avoid memory leakage problems.
How your computer is built. Processor... Wireless card.... network card... ethernet ports...