120+ Best MCQ on Python String Class 11 with Answers

MCQ on Python String Class 11 Q1. Following is an example of ___________________ sv = “csiplearninghub.com” a. List b. String c. Dictionary d. None of the above Q2. Python considered the character enclosed in triple quotes as String.(T/F) a. True b. False Q3. Write the output of the following. a = “Blog” a =’a’ print(a) … Read more

String Assignment in Python Set 1- Important Practice Exercise

String Assignment in Python CHAPTER: STRING IN PYTHON STRING ASSIGNMENT IN PYTHON SET – 1 Time: 30 min                                                                                   M.M. – 20 Instructions: All Questions are compulsory Q1 to Q6 carry 1 mark Q7 to Q10 carry 2 marks Q11 to Q12 carry 3 marks Q1. Write the code to create an empty string named “str”. … Read more

Class 11 String Slicing in Python Exercise | Assignments | Best Solved Examples

String Slicing in Python Exercise String Slicing in Python is an important topic for Exams What is String Slicing in Python? String slicing in Python is to obtain a substring from the main string. Slice of string means part (substring) of string. Syntax of String Slicing in Python <String Name>[Start : Stop : Step] Start … Read more

10 Important String Programs in Python for Practice with Solutions – Part 2

Important String Programs in Python for exams are given below: Q11. Write a program to display the largest word from the string. Q12. Write a program to accept a string and display it in upper case. Q13. Write a program to display the unique words from the string. Q14. Write a program to accept a … Read more

CBSE Class 11 Comprehensive Notes of Strings in Python with Questions

What is String in Python? Strings are contiguous series of characters enclosed in single or double quotes. Python doesn’t have any separate data type for characters so they are represented as a single character string.  For eg:  >>> s_name = “Amit” # s_name is a variable storing a string.   >>>s = ‘a’  #String can also be enclosed in single  quotes … Read more

100 Important Practice Questions of String in Python

Table of Content Practice Questions of String in Python – Test 1 Practice Questions of String in Python – Test 2 Practice Questions of String in Python – Test 3 Practice Questions of String in Python – Test 4 Practice Questions of String in Python – Test 5 Practice Questions of String in Python – … Read more

error: Content is protected !!