New ! Computer Science MCQ Practise Tests



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

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

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

    2 Marks

    5 x 2 = 10
  1. What it means "String in phython are immutable"?

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

  3. 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")

  4. What is meant by stride?

  5. Write the output for the following statement
    strl = "Welcome to learn python"
    print (strl [: : - 2])

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

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

Write your Comment