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

Share:

What will the following snippet of code produce?

a = [1, 2]
print(a * 3)

What will the output of the following code snippet be?

example = ["Sunday", "Monday", "Tuesday", "Wednesday"];
print(example[-3:-1])

What will the following code snippet produce?

def check(a):
   print("Even" if a % 2 == 0 else "Odd")

check(12)

What will the following snippet of code produce?

def thrive(n):
if n % 15 == 0:
    print("thrive", end = “ ”)
elif n % 3 != 0 and n % 5 != 0:
  print("neither", end = “ ”)
elif n % 3 == 0:
   print("three", end = “ ”)
elif n % 5 == 0:
  print("five", end = “ ”)
thrive(35)
thrive(56)
thrive(15)
thrive(39)

banner ad

Which of the following would be the correct syntax to use to determine whether a specific element is present in a list?

Which of the following locations houses "The Bagh" cave paintings?

Which of the following kinds of loops Python does not support?

Which of the following Kushana kings referred to himself on his coinage as "Mahishvara"?

Which of the following was the Mauryan government's treasurer?

According to Divyavadana, which of the following did Bindusara want to succeed him?

Bindusara, according to Divyavadana, desired which of the following to succeed him?

banner ad

What was the amount of produce that peasants had to pay as tax in the sixth century BCE?

Which of the following Mahajanapadas was south of the Vindhya ranges?

Which of the following was Vatsa mahajanapada's king?

What was Vajji mahajanapada's capital?

Which of the following kings patronised the division of Buddhism into Mahayana and Hinayana?

What will the following snippet of code produce?

a = 3
b = 1
print(a, b)
a, b = b, a
print(a, b)

What was Mahavira's age when he died?

banner ad

Which of the following sentences is used in Python's Exception Handling?

Which of the following periods do the rock paintings at Bhimbetka generally belong to?

What will the following snippet of code produce?

def func():
    global value
    value = "Local"

value = "Global"
func()
print(value)

Which of the following locations in India has the earliest evidence of man?

What will the following snippet of code produce?

def solve(a):
    a = [1, 3, 5]
  a = [2, 4, 6]
print(a)
solve(a)
print(a)

Which of the following is not a historical event in ancient Indian history from the BC era?

What will the following snippet of code produce?

def solve(a, b):
  return b if a == 0 else solve(b % a, a)
print(solve(20, 50))

banner ad

Which of the following is considered the Guptas' official law book?

Which of the following concepts is not a part of Python?

Which Gupta ruler was mentioned as Shakraditya when he founded the Nalanda University?

×
Subscribe now

for Latest Updates

Articles, Jobs, MCQ and many more!