12th Standard Syllabus & Materials
12th Standard
TN 12th Computer Applications மின்னணு தரவு பரிமாற்றம் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications மின் - வணிக பாதுகாப்பு அமைப்புகள் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications மின்னணு செலுத்தல் முறைகள் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications மின் - வணிகம் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications திறந்த மூல கருத்துருக்கள் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications வலையமைப்பு வடமிடல் Sample Question Papers Study Material - QB365 Set A

Published on: 05/09/2022
QB365 provides a detailed and simple solution for every Possible Creative Questions in Class 12Computer Science Subject - Strings and String Manipulations , English Medium. It will help Students to get more practice questions, Students can Practice these question papers in addition to score best marks.
Download Tamil Nadu 12th Standard Computer Science question papers, model tests, one-mark questions, important questions, and public exam papers in PDF format. Free study materials and answer keys for TN State Board students.
Questions + Answers key
Take MCQ Computer Science Test

1.
Write the output for the following statement.
(i) print ("save earth".title ())
(ii) print ("Save Earth".swapcase ())
2.
What is the use of find () function? Explain with an example.
3.
Write a note on the function center ().
4.
Match the following.
| Escape sequence | Description | ||
| i) | \a | (1) | Backspace |
| ii) | \b | (2) | Horizontal tab |
| iii) | \n | (3) | Bell |
| iv) | \t | (4) | Line feed |
5.
What is the use of formatting operator?
6.
Write the output for the following statement
strl = "Welcome to learn python"
print (strl [: : - 2])
7.
if strl = "Welcome to learn python", then write the output for the following.
(i) print (strl [10 : 16])
(ii) print (strl [10 : 16: 4])
(iii) print (strl [10: 16: 2])
(iv) print (strl [: : 3])
8.
What is meant by stride?
9.
Write a program to print the following output
C
CO
COM
COM
COMP
COMPU
COM PUT
COMPUTE
COMPUTER
10.
What has to be filled in the blank to get the following output
(i) Welcome python
(ii) Welcome to learn python From
(a) print ("Welcome" ____ "Python") strl = "Welcome"
(b) print (Strl ____ "to learn python")
11.
Write the general format of slice operation.
12.
Write the output for the following if strl = "THIRIKKURAL"
(i) print (strl [0])
(ii) print (strl [0:5])
(ill) print (strl [:5])
(iv) Print (strl [6:])
13.
Write a python a program to print your name 10 times.
14.
What it means "String in phython are immutable"?
15.
How will you manipulate the strings?
1.
(i) Save Earth
(ii) sAVE eARTH
2.
| find(sub[,start[, end]]) | The function is used to search the first occurrence of the sub string in the given string. It returns the index at which the substring starts. It returns -1 if the substring does not occur the string. |
>>> str1='mammals' >>> str1.find('ma') 0 On omitting the start parameters, the function starts the search from the beginning. >>> str1.find('ma',2) 3 >>> str1.find('ma',2,4) -1 Displays -1 because the substring could no be found between the index 2 and 4-1. >>> str1.find('ma', 2,5) 3 |
3.
| center (width, fillchar) | Returns a string with the original string centered to a total of width columns and filled with fillchar in columns that do not have characters |
>>> strl="Welcome" >>> print(strl center(15,'*')) ****Welcome**** |
4.
3, 1,4, 2
5.
The formatting operator % is used to construct strings, replacing parts of the strings with the data stored in variables.
6.
nhy re teloW
7.
(i) Learn
(ii) r
(iii) er
(iv) ceoenyo
8.
When the slicing operation, you can specify a third argument as the stride, which refers to the number of characters to move forward after the first character is retrieved from the string. The default value of stride is 1.
9.
strl ="COMPUTER"
index = 0
for i in strl:
print (strl [:index+ 1])
index+=I
10.
(a) +
(b) + =
11.
General format of slice operation:
str[start:end]
Where start is the beginning index and end is the last index value of a character in the string. Python takes the end value less than one from the actual index specified.
12.
(i) T
(ii) THIRU
(iii) THIRU
(iv) KURAL
13.
strl = input ("Enter your name")
print (strl * 10)
14.
Strings in python are immutable. That means, once you define a string modifications or deletion is not allowed.
15.
(i) Once you define a string, python allocate an index value for its each character.
(ii) These index values are otherwise called as subscript which are used to access and manipulate the strings. The subscript can be positive or negative integer numbers.
12th Standard Syllabus & Materials
12th Standard
TN 12th Computer Applications களப்பெயர் முறைமை (DNS) Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications வலையமைப்பு எடுத்துக்காட்டுகள் மற்றும் நெறிமுறைகள் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications கணினி வலையமைப்பு ஓர் அறிமுகம் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications PHP-உடன் MySQL-ஐ இணைத்தல் Sample Question Papers Study Material - QB365 Set A
Tamilnadu Stateboard 12th Standard Subjects

Maths

Chemistry

Physics

Biology

Computer Science

Business Maths and Statistics

Economics

Commerce

Accountancy

History

Computer Applications

Biology

Computer Technology

Computer Applications

Computer Science

Business Maths and Statistics

Commerce

Economics

Maths

Chemistry

Physics

Computer Technology

History

Accountancy

Tamil

English

French
Tamilnadu Stateboard Standards