Answer:
Program is in C++
Explanation:
C++ Code:
#include <iostream>
#include <cctype>
using namespace std;
int main(){
char ch;
do{
cout<<"Enter Character: ";
cin>>ch;
if (isupper(ch)){
cout<<"OK"<<"\n";
}
}
while(ch!='!');
return 0;
}
_______________________________________
Code Explanation
First execute a do while loop as we want user to enter at least first character to check whether its upper case or not. If user enters exclamation character then this loop will terminate along with the program.
To check whether the entered character is upper case or not we will be using isupper(ch) method defined in cctype library.
If the character is upper case then if condition will show Ok by printing it using cout and this program will show nothing if the character is not upper case.
Sample Output
Enter Character: A
OK
Enter Character: b
Enter Character: c
Enter Character: d
Enter Character: E
OK
Enter Character: G
OK
Enter Character: F
OK
Enter Character: !
Answer:
Playfair Cipher.
Explanation:
Encryption is a form of cryptography and typically involves the process of converting or encoding informations in plaintext into a code, known as a ciphertext. Once, an information or data has been encrypted it can only be accessed and deciphered by an authorized user.
Some examples of encryption algorithms are 3DES, AES, RC4, RC5, and RSA.
The best known multiple letter encryption cipher is the Playfair Cipher, which treats digrams in the plaintext as single units and translates these units into ciphertext digrams.
In the Playfair Cipher, a 5 × 5 matrix comprising of letters is developed using a keyword and then, the matrix is used to encrypt the plaintext as a pair i.e two letters at a time rather than as a single text.
Answer:
Negative transfer of learning
Explanation:
Negative transfer of learning occur when the knowledge you've acquired in the past is/are interfering with the one(s) you are currently acquiring.
Example: learning a new language that have some differences in pronunciation from the previous one, changing from a right-sided vehicles to a left-sided vehicles etc.