1. E-gro.up
2. Faceb.ook
3. Gm.ail
4. Go to www.gm.ail.com
5. Gm.ail
6. Go to www.faceb.ook.com
These are the answers.
Answer: An example of such a scenario would be when the user name and password meant to allow access to a customers bank account statement is cracked by unauthorized people this causing alteration (in the form of data diddling attacks) in the data contained in the statement. This is a compromise in integrity.
Explanation:
Confidentiality entails securing things people want to remain secret. An account statement of a bank customer is a confidential document which is to be kept secret. A password allows access to it.
Integrity implies receiving a sent data/information as accurately as it came from a sender. A data diddling attack alter integrity because the original information is altered by an unauthorized person.
Answer:
b. template<classT>.
Explanation:
Template functions are that can work with generic types. Template lets us to create a function so that more than 1 type or class can adapt the functionality of that function.
We can write the template function as following:-
template<class typename>.
It matches to the option b.
Explanation:
The below code has been written in C language
void rotateright(int list[], int n)
{
int x = list[n-1]
int i;
for (i = n-1; i > 0; i--)
list[i] = list[i-1];
list[0] = x;
}
void rotateleft(int list[], int n)
{
int x = list[0]
int i;
for (i = 1; i < n-1 ; i++)
list[i] = list[i+1];
list[n-1] = x;
}
int main()
{
int list[] = {x1, x2, x3, ... x(n-1),xn}
int i;
int n = sizeof(list);
rotateright(list, n);
rotateleft(list, n);
return 0;
}
The arithmetic logic unit (ALU), which performs arithmetic and logical operations.
The control unit (CU), which extracts instructions from memory and decodes and executes them, calling on the ALU when necessary.