Skip to main content
Chapter 8 of 11
Revision Notes

Strings — Revision Notes

CBSE · Class 11 · Computer Science

Strings revision notes for CBSE Class 11 Computer Science: 4 topics in quick points. Part of the CBSE Class 11 Computer Science syllabus.

39 questions80 flashcards8 formulas & key relations5 concepts

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.

Free trial, no card needed.

Key Topics to Revise

1

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

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

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

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 Notes

Key Concepts

A string is an orderly collectionStrings can be written with singleThe first character from the leftlen() returns the length ofA string is an immutable data

Frequently Asked Questions

What are the important topics in Strings for CBSE Class 11 Computer Science?
Key topics in Strings include String Basics and Creation, Indexing and len(), String Operations, Slicing and Reversing. Study these first, then practise questions on each for Class 11 exams.
How should I revise Strings for Class 11 exams?
Learn the core ideas first, then work through the 39 practice questions on Strings. Revise definitions regularly and use flashcards for quick recall before the exam.

Sources & Official References

Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.

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.