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

Functions

Question: 151 Report Error

नीचे दिया गया ऑब्जेक्ट किस डेटा प्रकार का है?

What data type is the object below ?

L=[1, 23, 'hello', 1]
A)
B)
C)
D)

Question: 152 Report Error

जब हम सूची ("hello ") निष्पादित करते हैं तो आउटपुट क्या होता है?

What is the output when we execute list("hello") ?

A)
B)
C)
D)

Question: 153 Report Error

निम्नलिखित ऑब्जेक्ट का डेटा प्रकार क्या है?

What is the data type of following object ?

A = [5,?abc?,3.2,6]
A)
B)
C)
D)

Question: 154 Report Error

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

What is the output of following code ?

A=[[1,2,3], [4,5,6], [7,8,9]] 
print(A[1][:])
A)
B)
C)
D)

Question: 155 Report Error

निम्नलिखित कोड का परिणाम क्या है ?

What will be the output for the following code ?

a = list(range(10)) 
del a[::2] for i in a: 
     i+=1 
print(a)
A)
B)
C)
D)

Question: 156 Report Error

निम्नलिखित छद्म कोड का आउटपुट क्या होगा, जहां ʌ XOR ऑपरेशन का प्रतिनिधित्व करता है?

What will be the output of the following pseudocode, where ? represent XOR operation ?

Integer a, b, c 
Set b = 4, a = 3 
c = a ^ b 
Print c
A)
B)
C)
D)

Question: 157 Report Error

निम्नलिखित फ़ंक्शन का रिटर्न प्रकार क्या है?

What is the return type of following function ?

def func1():
    return "mnp",22
A)
B)
C)
D)

Question: 158 Report Error

Math.floor(0o10) क्या है?

What is math.floor(0o10)?

A)
B)
D)

Question: 159 Report Error

निम्नलिखित में से कौन सा फ़ंक्शन पायथन में एक अंतर्निहित फ़ंक्शन है?

Which of the following functions is a built-in function in python ?

A)
B)
C)
D)

Question: 160 Report Error

Math.fact(6) द्वारा लौटाया गया मान क्या है?

What is the value returned by math.fact(6)?

A)
B)
C)
D)

Question: 161 Report Error

निम्नलिखित पायथन फ़ंक्शन का आउटपुट क्या होगा?

What will be the output of the following Python function ?

Import math
abs (math.sqrt (961))
A)
B)
C)
D)

Question: 162 Report Error

print(math.factorial(4.5)) का आउटपुट क्या होगा?

What will be the output of print(math.factorial(4.5))?

A)
B)
C)
D)

Question: 163 Report Error

रीडलाइन्स () मेथड रिटर्न करती है __________

The readlines() method returns ____________

A)
B)
C)
D)

Question: 164 Report Error

ओपन () फ़ंक्शन एक फ़ाइल ऑब्जेक्ट लौटाता है जिसे ______________ कहा जाता है

open( ) function returns a file object called ______________

A)
B)
C)
D)

Question: 165 Report Error

मानक इनपुट से पाठ की एक पंक्ति को पढ़ने के लिए कौन से दो अंतर्निर्मित कार्य हैं, जो डिफ़ॉल्ट रूप से कीबोर्ड से आते हैं?

Which are the two built-in functions to read a line of text from standard input, which by default comes from the keyboard?

A)
B)
C)
D)

Question: 166 Report Error

निम्नलिखित कोड से कितने नंबर प्रिंट होंगे?

How many numbers will be printed by the following code ?

def fun(a, b):
       for x in range(a, b+1):
            if x%3==0:
                   print(x, end= "  ")
fun(100, 120)
A)
B)
C)
D)

Question: 167 Report Error

निम्नलिखित कोड का परिणाम क्या है ?

What is the output of the following code ?

def disp(*arg):
        for i in arg:
              print(i)
disp("Rajat", "20")
A)
B)
C)
D)

Question: 168 Report Error

निम्न कोड स्निपेट क्या करता है?

What does the following code snippet do?

x = 5
print(type(x))
A)
B)
C)
D)

Question: 169 Report Error

print() फ़ंक्शन में sep आर्गुमेंट क्या करता है?

What does the sep argument in the print() function do?

A)
B)
C)
D)

Question: 170 Report Error

असेंबलर का प्राथमिक कार्य क्या है?

What is the primary function of an assembler?

A)
B)
C)
D)

Question: 171 Report Error

पायथन में input() फ़ंक्शन का उद्देश्य क्या है?

What is the purpose of the input() function in Python?

A)
B)
C)
D)

Question: 172 Report Error

निम्नलिखित छद्म कोड क्या करता है: READ num1, num2 SET multi to num1*num2 WRITE multi?

What does the following pseudocode do: READ num1, num2 SET multi to num1*num2 WRITE multi?

A)
B)
C)
D)

Question: 173 Report Error

निम्नलिखित में से कौन सा नंबर निम्नलिखित कोड द्वारा कभी भी उत्पन्न नहीं किया जा सकता है:

Which of the following number can never be generated by the following code :

random.randrange(0, 50)
A)
B)
C)
D)

Question: 174 Report Error

निम्नलिखित पायथन फ़ंक्शन का आउटपुट क्या होगा, यह मानते हुए कि यादृच्छिक मॉड्यूल पहले ही आयात किया जा चुका है?

What will be the output of the following Python function, assuming that the random module has already been imported?

random.uniform(3,4)
A)
B)
C)
D)

Question: 175 Report Error

निम्नलिखित पायथन कोड का आउटपुट या तो 1 या 2 है।

The output of the following Python code is either 1 or 2.

import random
random.randint(1,2)
A)
B)

Question: 176 Report Error

निम्नलिखित कोड से कितने नंबर प्रिंट होंगे?

How many numbers will be printed by the following code ?

def fun(a, b):
    for x in range(a, b + 1):
        if x % 3 == 0:
            print(x, end=" ")
fun(100, 120)
A)
B)
C)
D)

Question: 177 Report Error

किसी फ़ंक्शन के प्रोटोटाइप का अर्थ है

Prototype of a function means

A)
B)
C)
D)

Question: 178 Report Error

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

What will be the output of the following Python program ?

def addItem(listParam):
       listParam += [1]
mylist = [1, 2, 3, 4]
addItem(mylist)
print(len(mylist))
A)
B)
C)
D)

Question: 179 Report Error

Python में किसी फ़ंक्शन को कैसे घोषित किया जाता है?

How is a function declared in Python ?

A)
B)
C)
D)

Question: 180 Report Error

आउटपुट क्या है?

What is the output ?

def calc(x)
      r=2*x**2
      return r
print(calc(5))
A)
B)
C)
D)

Question: 181 Report Error

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

What is the output of the following code ?

def fun(a, b=6):
       a=a+b
       print(a)
fun(5, 4)
A)
B)
C)
D)

Question: 182 Report Error

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

What is the output of the following code ?

def disp(*arg):
       for i in arg:
             print(i)
disp(name="Rajat", age="20"
A)
B)
C)
D)

Question: 183 Report Error

प्रोग्रामर की आवश्यकता के अनुसार किसी कार्य को प्राप्त करने के लिए परिभाषित फ़ंक्शन को __________ कहा जाता है।

Function defined to achieve some task as per the programmer?s requirement is called a __________.

A)
B)
C)
D)

Question: 184 Report Error

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

What will be the output of the following ?

def iq(a, b):
       if(a==0):
               return b
       else:
               return iq(a-1, a+b)
print(iq(3, 6))
A)
B)
C)
D)

Question: 185 Report Error

किसी फ़ंक्शन को देखते हुए जो कोई मान नहीं लौटाता है, शेल पर निष्पादित होने पर कौन सा मान दिखाया जाता है?

Given a function that does not return any value, what value is shown when executed at the shell ?

A)
B)
C)
D)

Question: 186 Report Error

निम्नलिखित में से कौन सा कथन अंतिम रूप से निष्पादित होगा?

Which of the following statement will execute in last ?

def s(n1) :      #Statement 1
       print(n1)   #Statement 2
n2=4  #Statement 3
s(n2)   #Statement 4
A)
B)
C)
D)

Question: 187 Report Error

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

What will be the output of the following Python code ?

x = 50
def func(x) :
       print(' x is ' , x )
x = 2
print( ' Changed local x to ' , x )
func( x )
print( ' x is now ' , x )
A)
B)
C)
D)

Question: 188 Report Error

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

Which one of the following is the correct way of calling a function ?

A)
B)
C)
D)

Question: 189 Report Error

यदि किसी फ़ंक्शन में रिटर्न स्टेटमेंट नहीं है, तो निम्न में से कौन सा फ़ंक्शन रिटर्न करता है?

If a function does not have a return statement, which of the following does the function return ?

A)
B)
C)
D)

Question: 190 Report Error

प्रोग्राम में फ़ंक्शन नाम के बाद __________ लिखकर फ़ंक्शन को कॉल किया जा सकता है।

The function can be called in the program by writing function name followed by __________.

A)
B)
C)
D)

Question: 191 Report Error

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

What will be the output of the following Python code ?

def say(message, times = 1 ) :
        print(message * times )
say( 'Hello ')
say( ' World ' *5)
A)
B)
C)
D)

Question: 192 Report Error

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

What will be the output of the following Python code ?

def sayHello() :
       print( " Hello World ! " )
sayHello()
sayHello()
A)
B)
C)
D)

Question: 193 Report Error

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

Which of the following is the use of function in python ?

A)
B)
C)
D)

Question: 194 Report Error

सही फ़ंक्शन हेडर को पहचानें.

Identify the correct function header.

A)
B)
C)
D)

Question: 195 Report Error

Function के लिए कौन सा कीवर्ड प्रयोग किया जाता है?

Which keyword is used for function ?

A)
B)
C)
D)

Question: 196 Report Error

पुनरावर्ती कार्य __________ है।

Recursive function is __________.

A)
B)
C)
D)

Question: 197 Report Error

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

What will be the output of the following Python code ?

def display(b, n) :
       while n>0 :
             print(b, end=" ")
             n=n-1
display('z' , 3)
A)
B)
C)
D)

Question: 198 Report Error

पायथन __________ नामक निर्माण का उपयोग करके, रनटाइम पर अज्ञात कार्यों के निर्माण का समर्थन करता है।

Python supports the creation of anonymous functions at runtime, using a construct called __________.

A)
B)
C)
D)

Question: 199 Report Error

fun1() की सही फ़ंक्शन घोषणा चुनें ताकि हम निम्नलिखित दो फ़ंक्शन कॉल को सफलतापूर्वक निष्पादित कर सकें।

Choose the correct function declaration of fun1() so that we can execute the following two function calls successfully.

fun1(25, 75, 55) 
fun1(10, 20)
A)
B)
C)
D)

Question: 200 Report Error

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

What will be the output of the following Python code ?

def power(x, y=2) :
        r=1
        for i in range(y) :
             r=r*x
         return r
print (power(3))
Print (power(3, 3))
A)
B)
C)
D)

Latest Updates