XII COMPUTER SCIENCE EM TEST 8
8. STRINGS AND STRING MANIPULATION one mark questions :
prepard by 
S. SAMINATHAN,GHSS-MUKHASAPARUR, CUDDALORE DT.  
https://sites.google.com/view/tn-computer-science/home
Sign in to Google to save your progress. Learn more
Name : *
Register Number *
school *
1. Which of the following is the output of the following python code?
str1="TamilNadu"
print(str1[::-1])
*
1 point
2. What will be the output of the following code?
str1 = "Chennai Schools"
str1[7] = "-"
*
1 point
3. Which of the following operator is used for concatenation? *
1 point
4. Defining strings within triple quotes allows creating: *
1 point
5. Strings in python:
*
1 point
6. Which of the following is the slicing operator? *
1 point
7. What is stride? *
1 point
8. Which of the following formatting character is used to print exponential notation in upper case? *
1 point
9. Which of the following is used as placeholders or replacement fields which get replaced along with format( ) function? *
1 point
10. The subscript of a string may be: *
1 point
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy