New ! Computer Science MCQ Practise Tests



12th Standard English Medium Computer Science Subject Strings and String Manipulations Creative 2 Mark Questions with Solution Part - II

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 10

    2 Marks

    5 x 2 = 10
  1. Write a python a program to print your name 10 times.

  2. 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])

  3. What is the use of formatting operator?

  4. Write the output for the following statement.
    (i) print ("save earth".title ())
    (ii) print ("Save Earth".swapcase ())

  5. Differentiate upper () and is upper ().

*****************************************

Reviews & Comments about 12th Standard English Medium Computer Science Subject Strings and String Manipulations Creative 2 Mark Questions with Solution Part - II updated Creative Questions

Write your Comment