Ch 8 Key Terms Compsci
Across
- 1. This removes any leading, and trailing whitespaces.
- 5. This method returns a copy of the string with leading characters removed.
- 8. This method is used to check whether the string consists of alphabets.
- 9. Operator that evaluates to true if it does not finds a variable in the specified sequence and false otherwise.
- 11. This function returns True if all the characters in a string are whitespaces, otherwise False.
- 13. The extraction of a part of a string, list, or tuple.
- 14. This method finds the first occurrence of the specified value.
- 15. This method splits a string into a list.
- 16. When no change is possible over time.
- 17. This method takes optional characters passed as arguments. The characters you add as arguments specify what characters you would like to remove from the start and end of the string.
- 18. This method replaces a specified phrase with another specified phrase.
- 20. This method returns a copy of the string by removing the trailing characters specified as argument.
- 23. This method returns True if all the characters are in lower case, otherwise False.
- 25. This operator will make multiple copies of that particular object and combines them together.
- 26. This method converts all lowercase characters in a string into uppercase characters and returns it.
Down
- 2. This function returns a Boolean value TRUE if all the values in the input string are digits; else it returns FALSE.
- 3. This method removes all the trailing characters from the string.
- 4. Obtaining a new string that contains both of the original strings.
- 6. This method checks a value against a given string and returns True if the string ends with that value.
- 7. The process of accessing a specific element in a sequence, such as a string or list, using its position or index number.
- 8. Keyword used to check if a value is present in a sequence.
- 10. This method returns True if all the characters are in upper case, otherwise False.
- 12. A type of exception in python that is raised by the system when the index specified as subscript does not lie in the range of indices of bounds of a list.
- 19. Takes no arguments and returns the lowercased strings from the given string by converting each uppercase character to lowercase.
- 21. A string method that returns True if the input string starts with the specified prefix(string); else it returns False.
- 22. Returns True if all the characters are alphanumeric, meaning alphabet letter (a-z) and numbers (0-9).
- 24. This function removes characters from the left based on the argument (a string specifying the set of characters to be removed).