Tamil Nadu Board of Secondary EducationHSC Science Class 12th

# Tamil Nadu Board Samacheer Kalvi solutions for Class 12th Computer Science Answers Guide chapter 8 - Strings and String manipulation [Latest edition]

## Chapter 8: Strings and String manipulation

Evaluation - Part - IEvaluation - Part - IIEvaluation - Part - IIIEvaluation - Part - IV
Evaluation - Part - I [Pages 129 - 130]

### Tamil Nadu Board Samacheer Kalvi solutions for Class 12th Computer Science Answers Guide Chapter 8 Strings and String manipulationEvaluation - Part - I [Pages 129 - 130]

#### Choose the best answer (1 Mark)

Evaluation - Part - I | Q 1. | Page 129

Which of the following is the output of the following python code?

str1="TamilNadu"
print(str1[::-1])

• Tmlau

• udanlimaT

• udaNlimaT

Evaluation - Part - I | Q 2. | Page 129

What will be the output of the following code?

str1 = "Chennai Schools"
str1[7] = "-"
• Chennai-Schools

• Chenna-School

• Type error

• Chennai

Evaluation - Part - I | Q 3. | Page 129

Which of the following operator is used for concatenation?

• +

• &

• *

• =

Evaluation - Part - I | Q 4. | Page 129

Defining strings within triple quotes allows creating: ______

• Single line Strings

• Multiline Strings

• Double line Strings

• Multiple Strings

Evaluation - Part - I | Q 5. | Page 129

Strings in python: ______

• Changeable

• Mutable

• Immutable

• flexible

Evaluation - Part - I | Q 6. | Page 130

Which of the following is the slicing operator?

• { }

• [ ]

• < >

• ( )

Evaluation - Part - I | Q 7. | Page 130

What is stride?

• the index value of slide operation

• the first argument of slice operation

• the second argument of slice operation

• the third argument of slice operation

Evaluation - Part - I | Q 8. | Page 130

Which of the following formatting character is used to print exponential notation in upper case?

• %e

• %E

• %g

• %n

Evaluation - Part - I | Q 9. | Page 130

Which of the following is used as placeholders or replacement fields which get replaced along with format( ) function?

• { }

• < >

• ++

• ^^

Evaluation - Part - I | Q 10. | Page 130

The subscript of a string may be ______

• Positive

• Negative

• Both (a) and (b)

• Either (a) or (b)

Evaluation - Part - II [Page 130]

### Tamil Nadu Board Samacheer Kalvi solutions for Class 12th Computer Science Answers Guide Chapter 8 Strings and String manipulationEvaluation - Part - II [Page 130]

#### Answer the following questions (2 Marks)

Evaluation - Part - II | Q 1. | Page 130

What is String?

Evaluation - Part - II | Q 2. | Page 130

Do you modify a string in Python?

Evaluation - Part - II | Q 3. | Page 130

How will you delete a string in Python?

Evaluation - Part - II | Q 4. | Page 130

What will be the output of the following python code?

str1 = “School”
print(str1*3)
Evaluation - Part - II | Q 5. | Page 130

What is slicing?

Evaluation - Part - III [Pages 130 - 131]

### Tamil Nadu Board Samacheer Kalvi solutions for Class 12th Computer Science Answers Guide Chapter 8 Strings and String manipulationEvaluation - Part - III [Pages 130 - 131]

#### Answer the following questions (3 Marks)

Evaluation - Part - III | Q 1. | Page 130

Write a Python program to display the given pattern.

C O M P U T E R
C O M P U T E
C O M P U T
C O M P U
C O M P
C O M
C O
C

Evaluation - Part - III | Q 2. (a) | Page 131

Write a short about the following with suitable example: capitalize( )

Evaluation - Part - III | Q 2. (b) | Page 131

Write a short about the following with suitable example: swapcase( )

Evaluation - Part - III | Q 3. | Page 131

What will be the output of the given python program?

str1 = "welcome"
str2 = "to school"
str3=str1[:2]+str2[len(str2)-2:]
print(str3)
Evaluation - Part - III | Q 4. | Page 131

What is the use of format( )? Give an example.

Evaluation - Part - III | Q 5. | Page 131

Write a note about count( ) function in python.

Evaluation - Part - IV [Page 131]

### Tamil Nadu Board Samacheer Kalvi solutions for Class 12th Computer Science Answers Guide Chapter 8 Strings and String manipulationEvaluation - Part - IV [Page 131]

#### Answer the following questions (5 Marks)

Evaluation - Part - IV | Q 1. | Page 131

Explain string operators in python with suitable examples.

## Chapter 8: Strings and String manipulation

Evaluation - Part - IEvaluation - Part - IIEvaluation - Part - IIIEvaluation - Part - IV

## Tamil Nadu Board Samacheer Kalvi solutions for Class 12th Computer Science Answers Guide chapter 8 - Strings and String manipulation

Tamil Nadu Board Samacheer Kalvi solutions for Class 12th Computer Science Answers Guide chapter 8 (Strings and String manipulation) include all questions with solution and detail explanation. This will clear students doubts about any question and improve application skills while preparing for board exams. The detailed, step-by-step solutions will help you understand the concepts better and clear your confusions, if any. Shaalaa.com has the Tamil Nadu Board of Secondary Education Class 12th Computer Science Answers Guide solutions in a manner that help students grasp basic concepts better and faster.

Further, we at Shaalaa.com provide such solutions so that students can prepare for written exams. Tamil Nadu Board Samacheer Kalvi textbook solutions can be a core help for self-study and acts as a perfect self-help guidance for students.

Concepts covered in Class 12th Computer Science Answers Guide chapter 8 Strings and String manipulation are Introduction to Strings, Creating Strings, Accessing Characters in a String, String Formatting Operators, Modifying and Deleting Strings, String Operators, Formatting Characters, The Format( ) Function, Membership Operators, Built-in String Functions, Programs Using Strings.

Using Tamil Nadu Board Samacheer Kalvi Class 12th solutions Strings and String manipulation exercise by students are an easy way to prepare for the exams, as they involve solutions arranged chapter-wise also page wise. The questions involved in Tamil Nadu Board Samacheer Kalvi Solutions are important questions that can be asked in the final exam. Maximum students of Tamil Nadu Board of Secondary Education Class 12th prefer Tamil Nadu Board Samacheer Kalvi Textbook Solutions to score more in exam.

Get the free view of chapter 8 Strings and String manipulation Class 12th extra questions for Class 12th Computer Science Answers Guide and can use Shaalaa.com to keep it handy for your exam preparation