Programs to try - Strings in R - Assignment 4
Program List
1.Check whether the given string is palindrome
2.Count the Number of Vowels in a String
3.Count Uppercase, Lowercase, Digits and Special Characters
4.Count the number of words and legth of each words
5.Find the frequency of each character
6.Check for a substring
7.Write a R program to check the validity of a password given by the user.
The Password should satisfy the following criteria:
1. Contains at least one letter between a and z
2. Contains at least one number between 0 and 9
3. Contains at least one letter between A and Z
4. Contains at least one special character from $, #, @
5.Minimum length of password: 6
The Password should satisfy the following criteria:
1. Contains at least one letter between a and z
2. Contains at least one number between 0 and 9
3. Contains at least one letter between A and Z
4. Contains at least one special character from $, #, @
5.Minimum length of password: 6
8.Encrypt a string using the shift cipher( key=3 Ceaser cipher). Do both encryption and decryption.
Comments
Post a Comment