4525+ MCQ Questions in english हिन्दी

Share:

What will the following Python code produce?

print('*', "abcde".center(6), '*', sep='')

What kind of industry is hunting?

Which Python command is used to add a new element to a list?

What exactly is an economic activity?

banner ad

What will the'result' variable in the following Python programme mean?

list1 = [1,2,3,4]
list2 = [2,4,5,6]
list3 = [2,6,7,8]
result = list()
result.extend(i for i in list1 if i not in (list2+list3) and i not in result)
result.extend(i for i in list2 if i not in (list1+list3) and i not in result)
result.extend(i for i in list3 if i not in (list1+list2) and i not in result)

What year will India's parliament meet in the new parliament building, as stated by Lok Sabha Speaker Om Birla?

Which of the following statements is used to create an empty set in Python?

What will the following Python code produce?

print("abc. DEF".capitalize())

What exactly is business?

What will the following Python programme produce?

z=set('abc')
z.add('san')
z.update(set(['p', 'q']))
z

Which module in the Python standard library is responsible for parsing command-line options?

banner ad

What will the following Python programme produce?

def foo(x):
     x[0] = ['def']
    x[1] = ['abc']
    return id(x)
 q = ['abc', 'def']
print(id(q) == foo(q))

Which of the following statements is false?

Why is it necessary to generate a profit in business?

What does this declaration mean? int x : 4

What will the following Python code produce?

class tester:
    def __init__(self, id):
      self.id = str(id) ,

     id="224"

>>>temp = tester(12)
>>>print(temp.id)

The result will be if the input is abcdefg.

Which business classifies support service activities?

banner ad

Which of the following doesn't qualify as a keyword in Python?

What does the phrase "printf("%d", (a++)")"

Which of the following items cause no business risk?

What is a lint?

In which occupation do people receive a salary or compensation in exchange for their efforts?

When the Python programme below is run, which function is called?

f = foo()
format(f)

Which of the following statements about a macro definition with arguments is true?

banner ad

Determine the activity that does not support trade.

What will the following Python statement produce?

>>>"a"+"bc"

Which industries include oil refineries and sugar mills?

×
Subscribe now

for Latest Updates

Articles, Jobs, MCQ and many more!