TN Online TestSamacheer Kalvi practice

12th Standard Computer Science — Strings and String manipulation: Additional Online Practice Test

Share this chapter: Telegram

Pick how many questions you want and set a time limit, then start. You'll get your score at the end with the correct answer and an explanation for every question. Free, in Tamil and English — 15 questions available.

Set up your test

Time remaining00:00
Q1
If a string in Python is defined as my_str = "Innovate", what will be the value returned by my_str[-5]?
Q2
Which built-in Python string function is used to change the case of every character in a string to its opposite case?
Q3
What will be the output of the following Python expression: print("Python".center(10, '*'))?
Q4
Which of the following is returned by the expression print("Save1Earth".isalnum()) in Python?
Q5
In Python, what occurs when you attempt to delete a single character from a string using the statement: del str1?
Q6
What will be the output of the following Python code snippet? str1 = "Welcome to Python" print(str1[11:17:2])
Q7
Which of the following formatting characters is used to represent a signed decimal integer in Python string formatting?
Q8
What will be the output of the following Python code? str1 = "corporation" print(str1.capitalize())
Q9
Which of the following values is returned by the find() function if the specified substring is not found within the main string?
Q10
What will be the output of the following Python code snippet? str1 = "Raja Chozhan" print(str1.count('a', 0, 5))
Q11
What will be the output of the following Python code snippet? str1 = "welcome" print(str1.islower())
Q12
What is the output of the functions ord('A') and chr(65) in Python respectively?
Q13
Which of the following escape sequences represents an ASCII Carriage Return in Python?
Q14
What is the result of the membership operation "chennai" in "Chennai Schools" in Python?
Q15
What is the output of the following Python code? print("welcome" + "python" * 2)

More for this chapter

Book Back Questions10 textbook MCQs · solved Additional MCQs15 extra MCQs · solved Practice TestInteractive · instant score Book Back TestTest yourself on the textbook set Study NotesConcepts & methods Formula SheetAll key formulas

About this Strings and String manipulation test

This free online practice test covers Strings and String manipulation from the 12th Standard Computer Science (Samacheer Kalvi) syllabus. Choose the number of questions and an optional time limit, then answer and submit — everything is checked in your browser, with the correct answers and a worked explanation shown at the end. For the full solutions to every question in this set, see the solved MCQs page.

More chapters in Computer Science

View all
1 Function 2 Data Abstraction 3 Scoping 4 Algorithmic Strategies 5 Python -Variables and Operators 6 Control Structures 7 Python functions 9 Lists, Tuples, Sets and Dictionary 10 Python Classes and objects 11 Database Concepts 12 Structured Query Language (SQL) 13 Python and CSV files 14 Importing C++ programs in Python. 15 Data manipulation through SQL 16 Data visualization using pyplot: line chart, pie chart and bar chart