🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

Functions

Question: 201 Report Error

निम्नलिखित का आउटपुट क्या होगा?

What will be the output of the following ?

import sys 
sys.stdout.write('Welcome\n') 
sys.stdout.write('All\n')
A)
B)
C)
D)

Question: 202 Report Error

os.getlogin() क्या लौटाता है?

What does os.getlogin() return ?

A)
B)
C)
D)

Question: 203 Report Error

पिकल.लोड() फ़ंक्शन को न्यूनतम _____ संख्या में पैरामीटर की आवश्यकता होती है

The pickle.load() function requires minimum _____ number of parameters

A)
B)
C)
D)

Question: 204 Report Error

पायथन में object की लंबाई ज्ञात करने के लिए किस अंतर्निहित फ़ंक्शन का उपयोग किया जाता है?

Which built-in function is used to find the length of a object in Python?

A)
B)
C)
D)

Question: 205 Report Error

किसी फ़ंक्शन के बाहर परिभाषित वेरिएबल को क्या कहा जाता है?

What is a variable defined outside a function referred to as ?

A)
B)
C)
D)

Question: 206 Report Error

रीडलाइन() विधि क्या लौटाती है?

What does readlines() method return ?

A)
B)
C)
D)

Question: 207 Report Error

सभी अक्षरों को पढ़ने के लिए किस फ़ंक्शन का उपयोग किया जाता है?

Which function is used to read all the characters?

A)
B)
C)
D)

Question: 208 Report Error

बाइनरी प्रारूप में डेटा लिखने के लिए उपयोग किया जाने वाला एक फ़ंक्शन:

A function used for writing data in the binary format :

A)
B)
C)
D)

Question: 209 Report Error

रवि ने ओपन() फ़ंक्शन का उपयोग करके पायथन में एक फ़ाइल खोली लेकिन मोड निर्दिष्ट करना भूल गया। फ़ाइल किस मोड में खुलेगी?

Ravi opened a file in python using open( ) function but forgot to specify the mode. In which mode the file will open ?

A)
B)
C)
D)

Question: 210 Report Error

रिक्त स्थान को भरें।

Fill in the blank.

Import pickle 
f=open(“data.dat”, „rb?) 
d=_____________.load(f) 
f.close()
A)
B)
C)
D)

Question: 211 Report Error

कथन 2 के लिए उत्तर चुनें.

Choose the answer for statement 2.

import ___________ # statement 1 
rec = [ ] while True: 
rn = int(input("Enter")) 
nm = input("Enter") 
temp = [rn, nm] 
rec.append(temp) 
ch = input("Enter choice (Y/N)") 
if ch.upper == "N": 
break 
f = open("stud.dat", "____________") #statement 2 
__________ .dump(rec, f) #statement 3 
_______.close( ) # statement 4
A)
B)
C)
D)

Question: 212 Report Error

निम्नलिखित में से कौन सा फ़ंक्शन दो तर्क लेता है?

Which of the following function takes two arguments ?

A)
B)
C)
D)

Question: 213 Report Error

पायथन में कौन सा फ़ंक्शन फ़ाइल खोलता है?

Which function opens file in python ?

A)
B)
C)
D)

Question: 214 Report Error

कौन सा फ़ंक्शन स्ट्रिंग्स लौटाता है?

Which function returns the strings ?

A)
B)
C)
D)

Question: 215 Report Error

निम्नलिखित कोड का आउटपुट क्या होगा?

What will be the output of the following code ?

f=open("demo.txt","w+") 
f.write("Welcome to Python") 
f.seek(5) 
a=f.read(5)
A)
B)
C)
D)

Question: 216 Report Error

कौन सा फ़ंक्शन दो तर्क लेता है?

Which of the function takes two arguments ?

A)
B)
C)
D)

Question: 217 Report Error

पायथन फ़ंक्शंस में तर्क और पैरामीटर के बीच क्या अंतर है?

What is the difference between arguments and parameters in Python functions?

A)
B)
C)
D)

Question: 218
Verified by Expert

निम्नलिखित का आउटपुट क्या होगा?

What will be the output of the following ?

import numpy as np 
print ( np.minimum([ 2, 3, 4 ], [ 1, 5, 2 ]))
A)
B)
C)
D)
Explanation
numpy.minimum() is a NumPy function that compares two arrays (or scalars) element-wise and returns a new array containing the minimum value

Correct Answer: D) [1 3 2]


Question: 219 Report Error

निम्नलिखित का आउटपुट क्या होगा?

What is the output of the following code?

import numpy as np
a = np.array([1, 2, 3, 5, 8 ])
b = np.array([0, 1, 5, 4, 2 ])
c = a + b
c = c*a
print (c[2])
A)
B)
C)
D)

Question: 220 Report Error

स्यूडोकोड: तापमान 25 डिग्री होने पर क्या मुद्रित होता है?

Pseudocode: What is printed when the temperature is 25 degrees?

If temperature > 30,
    print "Hot",
elif temperature > 20,
   print "Warm",
else
   "Cold"
A)
B)
C)
D)

Question: 221 Report Error

निम्नलिखित प्रोग्राम का आउटपुट क्या है?

What is the output of the following program?

print(chr(ord(chr(97))))
A)
B)
C)
D)

Question: 222 Report Error

________ फ़ंक्शन अपने तर्क को एक संशोधित आकार के साथ लौटाता है, जबकि ________ विधि सरणी को ही संशोधित करती है।

The ________ function returns its argument with a modified shape, whereas the ________ method modifies the array itself.

A)
B)
C)
D)

Question: 223 Report Error

पायथन प्रोग्रामिंग में __फ़ंक्शन/विधि हैं।

There are __ Functions/Method in Python Programming.

A)
B)
C)
D)

Question: 224 Report Error

उस फ़ंक्शन के लिए डिफ़ॉल्ट रिटर्न मान क्या है जो स्पष्ट रूप से कोई मान नहीं लौटाता है?

What is the default return value for a function that does not return any value explicitly

A)
B)
C)
D)

Question: 225 Report Error

टेल रिकर्सन क्या है

What is tail recursion

A)
B)
C)
D)

Question: 226 Report Error

तर्क में दिखाई देते हैं और पैरामीटर में दिखाई देते हैं।

Arguments appear in and parameters appear in

A)
B)
C)
D)

Question: 227 Report Error

पायथन प्रोग्रामिंग में __फ़ंक्शन/विधि हैं

There are __ Functions/Method in Python Programming

A)
B)
C)
D)

Question: 228 Report Error

प्रीति पायथन फंक्शन्स की विशेषताओं को समझने की कोशिश कर रही है। उसे वह विशेषता समझ नहीं आ रही है जो काम को छोटे-छोटे हिस्सों में बाँट देती है। निम्नलिखित में से उसके लिए उपयुक्त शब्द चुनिए

Preeti is trying to understand the features of python functions. She is not understanding the feature that distributes the work in small parts. Select the appropriate term for her out of the following:

A)
B)
C)
D)

Question: 229 Report Error

राघव पायथन में एक फ़ंक्शन लिखना चाहता है। लेकिन उसे समझ नहीं आ रहा कि शुरुआत कैसे करे! फ़ंक्शन शुरू करने के लिए इस्तेमाल होने वाले कीवर्ड में से चुनें

Raghav wants to write a function in python. But he doesn't know how to start with it! Select the keyword used to start a function out of the following

A)
B)
C)
D)

Question: 230 Report Error

जब तर्क1 को तर्क2 से विभाजित किया जाता है तो कौन सा फ़ंक्शन भागफल और शेषफल लौटाता है?

Which function returns the quotient and the remainder when argument1 is divided by argument2

A)
B)
C)
D)

Question: 231 Report Error

निम्नलिखित फलन का अध्ययन कीजिए

Study the following function

import math
abs(math.sqrt(36))
A)
B)
C)
D)

Question: 232
Verified by Expert

निम्नलिखित में से कौन सा फ़ंक्शन कॉल करने का सही तरीका है

Which one of the following is the right way to call a function

A)
B)
C)
D)

Question: 233
Verified by Expert

Python में user-defined function का कौन-सा हिस्सा नहीं है

Which is NOT a part of a user-defined function (UDF) in Python

A)
B)
C)
D)

Question: 234
Verified by Expert

निम्नलिखित में से कौन सा पायथन में id() फ़ंक्शन का उपयोग है

Which of the following is the use of id() function in python

A)
B)
C)
D)

Question: 235
Verified by Expert

निम्नलिखित में से कौन सा फिबोनाची श्रृंखला का सूत्र है

Which of the following is a Fibonacci series formula

A)
B)
C)
D)

Question: 236
Verified by Expert

निम्नलिखित में से कौन सा मिलान का सही क्रम दर्शाता है

Which of the following represents the correct sequence of matches

Column A	  Column B 
A. int(4.9)	     1. 15
B. round(4.9)	 2. 6
C. abs(-15)	     3. 5
D. len("Python") 4. 4
A)
B)
C)
D)

Question: 237
Verified by Expert

आयत और समांतर चतुर्भुज में क्या अंतर है

What is the difference between a Rectangle and a Parallelogram

A)
B)
C)
D)

Question: 238
Verified by Expert

निम्नलिखित में से कौन सा कार्य पुनरावर्ती फ़ंक्शन को स्टैक ओवरफ़्लो त्रुटि उत्पन्न करने से रोकने के लिए बिल्कुल आवश्यक है

Which of the following is absolutely necessary to prevent a recursive function from causing a stack overflow error

A)
B)
C)
D)

Question: 239
Verified by Expert

Indirect Recursion की अवधारणा क्या है

What is the concept of Indirect Recursion

A)
B)
C)
D)

Latest Updates