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

Share:

Type data abstraction which allows the conceptual representation of data in a database management system is considered as

What would the following Python code produce? print("Hello {0[0]} and {0[1]}".format(('foo', 'bin')))

Which of the following pertains to Python DocString's features?

What will the following Python expression produce? round(4.576)

banner ad

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)

banner ad

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)

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?

×
Subscribe now

for Latest Updates

Articles, Jobs, MCQ and many more!