Strings
CBSE · Class 11 · Computer Science
Summary of Strings for CBSE Class 11 Computer Science. Key concepts, important points, and chapter overview.
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 chapter summary and more.
1,000+ Class 11 students started this chapter today
Overview
Strings are a sequence data type made up of one or more Unicode characters. A string may contain letters, digits, whitespace, or symbols, and it can be created using single quotes, double quotes, or triple quotes. Triple-quoted strings can span multiple lines. Python does not have a separate charact
Key Concepts
A string is an orderly collection
A string is an orderly collection of one or more Unicode characters. Strings, lists, and tuples are sequence data types, while dictionary is a mapping
Strings can be written with single
Strings can be written with single quotes, double quotes, or triple quotes. Triple-quoted strings can continue across multiple lines.
The first character from the left
The first character from the left has index 0 and the last has index n-1, where n is the string length. Negative indexing starts from the right, where
len() returns the length of
len() returns the length of the given string. The last character can be accessed as str1[n-1] and the first character from the right as str1[-n].
A string is an immutable data
A string is an immutable data type. Attempting to modify one character of a string raises a TypeError.
Learning Objectives
- Understand what a string is and how it differs from other sequence data types.
- Learn how to create strings using single, double, and triple quotes.
- Use indexing and negative indexing to access characters in a string.
- Apply len() to find string length and use it in index-based access.
- Understand string immutability and why direct character assignment fails.
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
Revision Notes
Key points for last-minute revision
Formula Sheet
All formulas in one place
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.