New ! Computer Science MCQ Practise Tests



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

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 5

    1 Marks

    5 x 1 = 5
  1. String are enclosed with

    (a)

    "

    (b)

    " "

    (c)

    '''''' ''''''

    (d)

    ''' '''

    (e)

    all of these

  2. Which of the following operators are useful to do string manipulation?

    (a)

    +, -

    (b)

    *, /

    (c)

    + *

    (d)

    ; "

  3. In python _____ are immutable.

    (a)

    Characters

    (b)

    Strings

    (c)

    Numbers

    (d)

    Functions

  4. The _____ operator is used to display a string in multiple number of time.

    (a)

    *

    (b)

    * *

    (c)

    * =

    (d)

    + +

  5. What is the output from the following statement?
    str1 = "welcome"
    print (str1[:: 3]

    (a)

    come

    (b)

    orne

    (c)

    wce

    (d)

    wel

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

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

Write your Comment