en
Feedback
Coding Quiz Zone

Coding Quiz Zone

Open in Telegram

✨ Part Of @OfficialCodingExpert Dive into the world of computer science, programming, and coding challenges. Sharpen your skills, expand your knowledge, and embark on a journey of continuous learning. Stay tuned for daily quizzes!

Show more
1 575
Subscribers
No data24 hours
No data7 days
-930 days
Posts Archive
What function do you use to read a string?
Anonymous voting

What will be the output of the following Python code?
Anonymous voting

class Name:
    def __init__(self, firstName, mi, lastName):
        self.firstName = firstName
        self.mi = mi
        self.lastName = lastName
 
firstName = "John"
name = Name(firstName, 'F', "Smith")
firstName = "Peter"
name.lastName = "Pan"
print(name.firstName, name.lastName)

What will be the output of the following Python code?
Anonymous voting

class Count:
    def __init__(self, count = 0):
       self.__count = count
 
c1 = Count(2)
c2 = Count(2)
print(id(c1) == id(c2), end = " ")
 
s1 = "Good"
s2 = "Good"
print(id(s1) == id(s2))

Suppose i is 5 and j is 4, i + j is same as ________
Anonymous voting

To check whether string s1 contains another string s2, use ________
Anonymous voting

If a class defines the __str__(self) method, for an object obj for the class, you can use which command to invoke the __str__ method.
Anonymous voting

To return the length of string s what command do we execute?
Anonymous voting

To retrieve the character at index 3 from string s=”Hello” what command do we execute (multiple answers allowed)?
Anonymous voting

What is β€œHello”.replace(β€œl”, β€œe”)?
Anonymous voting

Say s=”hello” what will be the return value of type(s)?
Anonymous voting

Which of the following element is used to create any shape that consists of only straight lines?
Anonymous voting

Which of the following is attribute of SVG line?
Anonymous voting

Which of the following element is used to create a SVG line?
Anonymous voting

Which of the following is not an attribute used with SVG ellipse?
Anonymous voting

Which of the following element is used to create an SVG ellipse?
Anonymous voting

Which of the following element is used to create a circle?
Anonymous voting

Which of the following element is used to create a SVG rectangle?
Anonymous voting

Which of the following element is used to begin an SVG image?
Anonymous voting