Strings
CBSE · Class 11 · Computer Science
Quick revision notes for Strings — CBSE Class 11 Computer Science. Key concepts, formulas, and definitions for last-minute revision.
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 revision notes and more.
1,000+ Class 11 students started this chapter today
Key Topics to Revise
1. String Basics and Creation
- Strings, Lists, and Tuples are sequence data types.
- Dictionary is a mapping data type, not a sequence type.
- A string can be created using single, double, or triple quotes.
2. Indexing and len()
- The index of the first character from the left is 0 and the last is n-1, where n is string length.
- Negative indexing starts from the right: the first character from the right is -1 and the last is -n.
- len() returns the length of the string passed as parameter.
3. String Operations
- Concatenation of strings uses the + operator.
- Repetition of strings uses the * operator.
- The 'in' operator returns True if the first string is a substring of the second.
4. Slicing and Reversing
- Slicing retrieves a portion of a string by specifying an index range.
- Basic Slicing: str1[n:m] [n = start index inclusive, m = end index exclusive].
- Stepped Slicing: str1[n:m:k] [k = step size, default 1].
Get complete notes with diagrams and examples
Full NotesKey Concepts
Frequently Asked Questions
What are the important topics in Strings for CBSE Class 11 Computer Science?
How to score full marks in Strings — CBSE Class 11 Computer Science?
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
Important Questions
Practice with board exam-style questions
Formula Sheet
All formulas in one place
Chapter Summary
Understand the chapter at a glance
Concept Maps
See how topics connect visually
Study Plan
Step-by-step plan to ace 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 — for free.
Quizzes, flashcards, AI doubt-solver and a step-by-step study plan for CBSE Class 11 Computer Science.