Subjectwise MCQ
Statewise Prepration
Andaman NicobarAndhra PradeshArunchal PradeshAssamBiharChandigarhChhatisgarhDadra & Nagar Haveli and Daman & DiuDelhiGoaGujaratHaryanaHimachal PradeshJammu & KashmirJharkhandKarnatkaKeralaLaddakhLakshadweepMadhya PradeshMaharashtraManipurMeghalayaMizoramNagalandOdishaPondicherryPunjabRajasthanSikkimTamil NaduTelanganaTripuraUttar PradeshUttarakhandWest Bengal
Govt. Examwise MCQ
10445+ MCQ Questions in english हिन्दी
Which of the following pertains to Python DocString's features?
What will the following Python expression produce? round(4.576)
What would the following Python code snippet produce? z=set('abc$de') 'a' in z
Select the correct Python tuple?
A function that permits any type of data to be retrieved from a database is referred to as
What are the two main types of functions in Python?
What will be the output of the following Python code? x = 'abcd' for i in range(len(x)): print(i)
What will the following snippet of code produce?
def is_even(number):
message = f"{number} is an even number" if number % 2 == 0 else f"{number} is an odd number"
return message
print(is_even(54))
What will the following snippet of code produce?
numbers = (4, 7, 19, 2, 89, 45, 72, 22)
sorted_numbers = sorted(numbers)
odd_numbers = [x for x in sorted_numbers if x % 2 != 0]
print(odd_numbers)
What will the following snippet of code produce?
numbers = (4, 7, 19, 2, 89, 45, 72, 22)
sorted_numbers = sorted(numbers)
even = lambda a: a % 2 == 0
even_numbers = filter(even, sorted_numbers)
print(type(even_numbers))
What kind of data will the variable sorted numbers in the code below contain?
numbers = (4, 7, 19, 2, 89, 45, 72, 22)
sorted_numbers = sorted(numbers)
print(sorted_numbers)
What will the following snippet of code produce?
example = ["Sunday", "Monday", "Tuesday", "Wednesday"];
del example[2]
print(example)
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)
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?
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?
Latest Jobs
IBPS SO Recruitment 2025-Apply Online For 1007 P ...
Last Date: Jul 21
Guwahati High Court JAA Recruitment 2025-Apply O ...
Last Date: Jul 31
BHEL Recruitment 2025
Last Date: Aug 12
MPESB Recruitment 2025
Last Date: Aug 06
DRDO Recruitment 2025
Last Date: Jul 26