मराठी

You can use a variable to store a set of characters enclosed within opening and closing double quotes. A set of characters can also be stored in an object using a specific keyword. - Computer Applications

Advertisements
Advertisements

प्रश्न

You can use a variable to store a set of characters enclosed within opening and closing double quotes. A set of characters can also be stored in an object using a specific keyword. Such data are manipulated using different functions. One of them is used to extract a set of characters from such data whereas, other to join multiple set of characters to form a single set.  

Based on the above discussion, answer the following questions:

  1. Which of the following variables is used to store a set of characters?
    1. Character variable
    2. Alphanumeric variable
    3. String variable
    4. Local variable
  2. Which of the following keywords is used to store a set of characters in an object?
    1. import
    2. oublic
    3. string
    4. new
  3. Which of the following functions is used to extract a set of characters?
    1. substring() 
    2. charAt() 
    3. indexOf()
    4. subIndex()
  4. Which of the following functions is used to join different set of characters into a single set?
    1. merge()
    2. concat()
    3. connect()
    4. join
घटनेचा अभ्यास

उत्तर

  1. iii. String variable
  2. iv. new
  3. i. substring()
  4. iii. concat()
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 4: String Handling - Review Insight [पृष्ठ २८५]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
पाठ 4 String Handling
Review Insight | Q 17. | पृष्ठ २८५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×