Strings - 2 Online Exam Quiz

Strings - 2 GK Quiz. Question and Answers related to Strings - 2. MCQ (Multiple Choice Questions with answers about Strings - 2

Given a string example=?hello? what is the output of example.count('l')?

Options

A : 2

B : 1

C : None

D : 0

View Answer

To concatenate two strings to a third what statements are applicable?

Options

A : s3 = s1 . s2

B : s3 = s1.add(s2)

C : s3 = s1.__add__(s2)

D : s3 = s1 * s2

View Answer

Strings - 2 more Online Exam Quiz

Classification of Formation Damage Mechanisms

Dual Converters-3

Switchgear and Protection - 2

Principles and Classifications of Prestressing

New Protein Molecule Design - Phage Display

While and For Loops - 2

Exploratory Data Analysis - 2

Fittings of Steel Trough and CI Sleepers

Comfort Air-Conditioning

Comfort Conditions - Factors Affecting Optimum Effective Temperature