Strings — Important Questions
CBSE · Class 11 · Computer Science
39 important questions from Strings for CBSE Class 11 Computer Science, with answers. Includes multiple choice and multiple correct questions.
Interactive on Super Tutor
Studying Strings? Get the full interactive chapter.
Quizzes, flashcards, AI doubt-solver and a step-by-step study plan — built for important questions and more.
Free trial, no card needed.
Important Questions from Strings
Which operators can be used with strings in Python?
Show answer
+ (concatenation), * (repetition), in (membership)
Strings support + for joining strings, * for repeating strings, and 'in' for checking if a substring exists. Subtraction (-) is not supported for strings.
What will str1[2:5] return if str1 = 'Programming'?
Show answer
ogr
Slicing str1[2:5] starts from index 2 and ends at index 4 (5 is exclusive). In 'Programming': P=0, r=1, o=2, g=3, r=4. So indices 2, 3, 4 give 'ogr'.
Which string methods return a boolean value?
Show answer
islower(), isupper(), startswith(), isalnum()
Methods like islower(), isupper(), startswith(), endswith(), isalnum() return True or False. The replace() method returns a modified string, not a boolean.
What does len('Hello World!') return?
Show answer
12
The len() function counts all characters including spaces and punctuation. 'Hello World!' has 12 characters: H-e-l-l-o-space-W-o-r-l-d-!
+35 more questions on Strings (CBSE Class 11 Computer Science)
Practise AllFrequently Asked Questions
What are the important topics in Strings for CBSE Class 11 Computer Science?
How many important questions are there in Strings?
Sources & Official References
- NCERT Official — ncert.nic.in
- CBSE Academic — cbseacademic.nic.in
- CBSE Official — cbse.gov.in
- National Education Policy 2020 — education.gov.in
Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.
More resources for Strings
Practice Quiz
Test yourself with a quick quiz
Revision Notes
Key points for last-minute revision
Formula Sheet
The chapter's formulas in one place
Chapter Summary
Understand the chapter at a glance
Concept Maps
See how topics connect
Study Plan
Step-by-step plan for this chapter
Flashcards
Quick-fire cards for active recall
Syllabus
What topics to cover
NCERT Solutions
Every textbook question solved step by step
For serious students
Get the full Strings chapter — start free.
Quizzes, flashcards, an AI doubt solver and a study plan for CBSE Class 11 Computer Science. Free to start, no card needed.