Chapter 7: Python Strings

 

Results

Previous
Next

#1. A __________ is a sequence of characters.

Previous
Next

#2. A _________ is simply a symbol.

Previous
Next

#3. The conversion of character to a number is called ________

Previous
Next

#4. The reverse process is ________

Previous
Next

#5. In Python, string is a sequence of ________ character.

Previous
Next

#6. ________ was introduced to include every character in all languages and bring uniformity in encoding.

Previous
Next

#7. _______ can be created by enclosing characters inside a single quote or double quotes.

Previous
Next

#8. _______ allows negative indexing for its sequences.

Previous
Next

#9. ________ can be best visualized by considering the index to be between the elements.

Previous
Next

#10. Joining of two or more strings into a single one is called ________________

Previous
Next

#11. _______ returns a copy of the string with only its first character capitalized.

Previous
Next

#12. The ______ returns centered in a string of length width.

Previous
Next

#13. The ______ returns the number of occurrences of substring sub in the range.

Previous
Next

#14. A _____ is an unordered collection of items.

Previous
Next

#15. Union is performed using ______ operator.

Previous
Next

#16. Intersection is performed using ______ operator.

Previous
Next

#17. Symmetric difference is performed using _____ operator.

Previous
Next

#18. Remove and return an arbitary set element.

Previous
Next

#19. ________ is an unordered collection of items.

Previous
Next

#20. ______ returns the length in the dictionary.

Previous
Next

#21. ______ return a new sorted list of keys in the dictionary.

Previous
Next

#22. The ______ method can be used to add the contents of one directory to another.

Previous
Next

#23. The ______ method simply returns a copy of a dictionary.

Previous
Next

#24. The _____ reveals an object of the dictionary type.

Previous
Next

#25. The _____ will produce a printable string representation of a dictionary.

Previous
Finish