Skip to main content
Chapter 8 of 11
Revision Notes

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.

39 questions80 flashcards5 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.

1,000+ Class 11 students started this chapter today

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?
Strings covers several key topics that are frequently asked in CBSE Class 11 board exams. Focus on the core concepts listed on this page and practise related questions to build confidence.
How to score full marks in Strings — CBSE Class 11 Computer Science?
Understand the core concepts first, then work through the 39 practice questions available for this chapter. Revise formulas and 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 — for free.

Quizzes, flashcards, AI doubt-solver and a step-by-step study plan for CBSE Class 11 Computer Science.