Title | |
---|---|
What is the output when following statement is executedWhat is the output when following statement is executed ?
The answer is:
D. abc
|
|
print(0xA + 0xB + 0xC) |
|
What is the output when following code is executedWhat is the output when following code is executed ?
The answer is:
A. dlrowolleh
|
|
What is the output when following statement is executedWhat is the output when following statement is executed ?
The answer is:
C. x\97
|
|
What is the output when following statement is executedWhat is the output when following statement is executed ?
The answer is:
C. newline
|
|
What is the output when following code is executedWhat is the output when following code is executed ?
The answer is:
B. \nhello
|
|
What arithmetic operators cannot be used with stringsWhat arithmetic operators cannot be used with strings ?
The answer is:
C. -
|
|
What is the output when following code is executedWhat is the output when following code is executed ?
The answer is:
D. o
|
|
The output of executing string.ascii_letters can also be achieved byThe output of executing string.ascii_letters can also be achieved by:
The answer is:
B. string.ascii_lowercase+string.ascii_upercase
|
|
What is the output when following statement is executedWhat is the output when following statement is executed ?
The answer is:
C. cd
|
|
What is the output of the following codeWhat is the output of the following code ?
The answer is:
C. 12
|
|
What is the output of the following codeWhat is the output of the following code ?
The answer is:
A. wo
|
|
What is the output of the following codeWhat is the output of the following code ?
The answer is:
D. y
|
|
What is the output of the following codeWhat is the output of the following code ?
The answer is:
C. Error
|
|
Given a string example=”hello” what is the output of example.count(l)Given a string example=”hello” what is the output of example.count(l)
The answer is:
A. 2
|
|
What is the output of the following codeWhat is the output of the following code ?
The answer is:
C. 1
|
|
What is the output of the following codeWhat is the output of the following code
The answer is:
B. 4
|
|
What is the output of the following codeWhat is the output of the following code ?
The answer is:
B. True
|
|
To concatenate two strings to a third what statements are applicableTo concatenate two strings to a third what statements are applicable ?
The answer is:
C. s3 = s1.__add__(s2)
|
|
What is the output when following statement is executedWhat is the output when following statement is executed ?
The answer is:
A. A
|
MCQs
Views
Best Answers
Points