Strings — Practice Quiz
CBSE · Class 11 · Computer Science
Try a 4-question quiz on Strings for CBSE Class 11 Computer Science: tap an answer to check it and see why. 39 questions in the full chapter test.
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 practice quiz and more.
Free trial, no card needed.
Quick Quiz: Strings
0/4Tap an answer to check it instantly. No sign-up needed for these 4.
Which of the following is the correct way to create a string in Python?
What is the index of the character 'W' in the string 'Hello World'?
What does the expression 'Hello' * 3 return?
Strings in Python are immutable. This means:
Sample Questions
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 practice questions are there for 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
Important Questions
Exam-style questions with answers
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.