Answer:
Option B is the correct answer for the above question.
Explanation:
Encryption is techniques that give the features to hide the original text in the back of some other text which has no means for the other person. It is a technique that is followed by the person at the time of message transfer. The encryption changes the original message into a duplicate message on the sender ends and get the original message from the duplicates message on the destination ends with the help of some algorithm.
The above question asked about the techniques which convert the message into duplicate one so that no unauthorized user can read the message. Then the techniques known as Encryption which is stated from the option B. Hence Option B is the correct answer while the other is not because--
- Option A states about integrity which is not a technique to change the original message into a duplicate message.
- Option C states about analysis which is also not a technique to change the original message into the duplicate message.
It would be either a or b
Answer:
item based for loop is used to iterate items in a collection .it is useful to apply some operations on item. Index based for loop is used to execute some logic repetitively. While loop also useful to execute a logic repetitively
Explanation:
item based for loop is used to iterate items in a collection .it is useful to apply some operations on item. Index based for loop is used to execute some logic repetitively. While loop also useful to execute a logic repetitively
in c#.net , following example explains this
using system;
void main(){
String[] names=new names[20];
int counter=0;
//index based for loop
for(int i=0;i<20;i++){
console.read(names[i]);
}
//item based for loop
foreach(string s in names){
console.writeline(s);
}
//while loop
while(counter<20)
{
console.read(names[counter];
counter++;
}
}