SELECT * FROM (`youtube_videos`) WHERE `display_status` = 1 ORDER BY `video_id` desc LIMIT 1SELECT * FROM (`youtube_videos`) WHERE `display_status` = 1 ORDER BY `video_id` desc

Strings and String Manipulations Model Question Paper

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 50
    10 x 1 = 10
  1. Defining strings within triple quotes allows creating:

    (a)

    Single line Strings

    (b)

    Multiline Strings

    (c)

    Double line Strings

    (d)

    Multiple Strings

  2. Strings in python:

    (a)

    Changeable

    (b)

    Mutable

    (c)

    Immutable

    (d)

    flexible

  3. Which of the following formatting character is used to print exponential notation in upper case?

    (a)

    %e

    (b)

    %E

    (c)

    %g

    (d)

    %n

  4. The subscript of a string may be:

    (a)

    Positive

    (b)

    Negative

    (c)

    Both (a) and (b)

    (d)

    Either (a) or (b)

  5. String index values are also called as

    (a)

    class

    (b)

    function

    (c)

    subscript

    (d)

    arguments

  6. Which of the following is used to access and manipulate the strings

    (a)

    Index value

    (b)

    Subscript

    (c)

    Argument

    (d)

    Parameters

    (e)

    a or b

  7. _____ is a substring of a mainstring.

    (a)

    stride

    (b)

    slice

    (c)

    concat

    (d)

    append

  8. A substring can be taken from the original string by using

    (a)

    {}

    (b)

    ()

    (c)

    []

    (d)

    <>

  9. Which function returns the number of substrings occurs within the given range?

    (a)

    return ()

    (b)

    count ()

    (c)

    substring ()

    (d)

    range ()

  10. The default value of stride is

    (a)

    0

    (b)

    -1

    (c)

    1

    (d)

    -0

  11. 5 x 1 = 5
  12. %i

  13. (1)

    hexadecimal integer

  14. %0

  15. (2)

    short number in exponential form

  16. %G

  17. (3)

    exponential notation

  18. %X

  19. (4)

    signed decimal integer

  20. %E

  21. (5)

    octal integer

    5 x 2 = 10
  22. What is String?

  23. How will you manipulate the strings?

  24. What is meant by stride?

  25. Differentiate lower () and is lower ().

  26. What is the use of title () function? Give example.

  27. 5 x 3 = 15
  28. Write a Python program to display the given pattern
    C O M P U T E R
    C O M P U T E
    C O M P U T
    C O M P U
    C O M P
    C O M
    C O
    C

  29. Write a note about count( ) function in python.

  30. Write the syntax and example of using string characters.

  31. Write the output for the following statement.
    (i) print ("PYTHON" . lower ())
    (ii) print ("PYTHON" . islower ())
    (iii) print ("PYTHON" . isupper ())
    (iv) print ("PYTHON" . upper ())

  32. Write a note on
    (i) isalnum ()
    (ii) isalpha ()
    (iii) isdigit ()

  33. 2 x 5 = 10
  34. Explain about string operators in python with suitable example.

  35. Write a python program to display the number of vowels and consonants in the given string.

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

Reviews & Comments about 12th Computer Science Strings and String Manipulations Model Question Paper

Write your Comment

12th Computer Science Strings and String Manipulations Model Question Paper | 12th Standard STATEBOARD
     New ! Computer Science MCQ Practise Tests



A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/newqb365/public_html/materials/application/models/blog_model.php:1914)

Filename: libraries/Session.php

Line Number: 688

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/newqb365/public_html/materials/application/models/blog_model.php:1914)

Filename: libraries/Session.php

Line Number: 688