Python
Questions No: 1/50

What does readlines() method return ?
रीडलाइन () मेथड क्या रिटर्न करता है?

Questions No: 2/50

What will be the output of the following code?

f=open("demo.txt","r")
print(f.tell())

Questions No: 3/50

What is the pickling?
पिकलिंग क्या है?

Questions No: 4/50

What is can be the length of python identifier
पाइथन पहचानकर्ता की लंबाई क्या हो सकती है

Questions No: 5/50

Which of the following is NOT a valid Python keyword?
निम्नलिखित में से कौन सा वैलिड पायथन कीवर्ड नहीं है?

Questions No: 6/50

Which of the following is not a relational opeartor in Python?
निम्नलिखित में से कौन पायथन में एक रिलेशनल ऑपरेटर नहीं है?

Questions No: 7/50

Raw data assigned to a variable is called as
एक वेरिएबल को असाइन किए गए रॉ डेटा को कहा जाता है

Questions No: 8/50

Which of the following is used to define a block of code in Python language ?
पायथन लैंग्वेज में कोड के ब्लॉक को परिभाषित करने के लिए निम्न में से किसका प्रयोग किया जाता है?

Questions No: 9/50

In which language is Python written?
पायथन किस भाषा में लिखा गया है?

Questions No: 10/50

which of the following will read entire content of file (file object 'f')?
निम्नलिखित में से कौन फ़ाइल (file object 'f') की संपूर्ण सामग्री को पढ़ेगा ?

Questions No: 11/50

Which symbol is used to write single line comment ?
सिंगल लाइन कमेंट लिखने के लिए किस चिन्ह का प्रयोग किया जाता है ?

Questions No: 12/50

How many keywords are there in python 3.7?
पायथन 3.7 में कितने कीवर्ड होते है?

Questions No: 13/50

Which argument type allows specifying parameter names during function call?
किस प्रकार के तर्क से फंक्शन कॉल के दौरान पैरामीटर नाम निर्दिष्ट किए जा सकते हैं?

Questions No: 14/50

Python supports the creation of anonymous functions at runtime, using a construct called
पायथन नामक एक कंस्ट्रक का उपयोग करते हुए रनटाइम पर अनाम कार्यो के निर्माण को सपोर्ट करता है

Questions No: 15/50

What is the output of the following code ?

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

Questions No: 16/50

Which method is used to read the entire content of a file as a string in Python?
पायथन में फ़ाइल के पूरे डाटा को स्ट्रिंग के रूप में पढ़ने के लिए किस फंक्शन का उपयोग किया जाता है?

Questions No: 17/50

Each line of a text file is terminated by a special character, called the ___
टेक्स्ट फाइल की प्रत्येक पंक्ति को एक विशेष कैरेक्टर द्वारा समाप्त किया जाता है, जिसे ____ कहा जाता है।

Questions No: 18/50

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

Questions No: 19/50

Which can contain multiple lines of text.
जिसमें टेक्स्ट की कई पंक्तियाँ हो सकती हैं।

Questions No: 20/50

What will be the output of the following Python code?

x = "abcdef"
i = "i"
while i in x:
    print(i, end=" ")

Questions No: 21/50

Which one of the following is incorrect?
निम्नलिखित में से कौन सा गलत है?

Questions No: 22/50

Which function tells the current file position?
कौन सा फ़ंक्शन फ़ाइल की वर्तमान स्थिति बताता है?

Questions No: 23/50

What will be the output of the following Python code snippet?

x = 'abcd'
for i in range(len(x)):
    i.upper()
print (x)

Questions No: 24/50

Which is a valid Constant in python
जो कि पायथन में एक मान्य स्थिरांक है

Questions No: 25/50

f.read(5) will read________from a file (file object 'f')
f.read(5) एक फ़ाइल से________ पढ़ेगा (file object 'f')

Questions No: 26/50

PVM is often called
PVM को अक्सर कहा जाता है

Questions No: 27/50

Which statement will move file pointer 10 bytes backward from current position.
कौन सा स्टेटमेंट फाइल पॉइंटर को वर्तमान स्थिति से 10 बाइट पीछे ले जाएगा ।

Questions No: 28/50

Python Programs are typed in
Python प्रोग्राम टाइप किये जाते हैं

Questions No: 29/50

____ are the arguments passed to a function in correct positional order.
सही स्थिति क्रम में किसी फंक्शन को दिए गए आर्गुमेन्ट हैं।

Questions No: 30/50

What will the value of a if a=~100
यदि a=~100 है तो a का मान क्या है?

Questions No: 31/50

What keyword is used in Python to raise exceptions?
एक्सेप्शन उत्पन्न करने के लिए पायथन में किस कीवर्ड का उपयोग किया जाता है?

Questions No: 32/50

Which one of the following is not a python's predefined data type?
निम्नलिखित में से कौन सा एक पायथन का पूर्वनिर्धारित डेटा टाइप नहीं है

Questions No: 33/50

What will be the output?

x = 10
def fun():
    global x
    x = 20
fun()
print(x)

Questions No: 34/50

Debugging is the process of fixing a______in the software.
डिबगिंग सॉफ्टवेयर में ______ को ठीक करने की प्रक्रिया है।

Questions No: 35/50

What is the output of the following?
n=5
while n>0:
    n-=1
    if n==2:
        continue
    print(n,end=' ')

Questions No: 36/50

What does EOF stand for?
EOF का पूरा नाम क्या है?

Questions No: 37/50

Which of these in not a core data type in python?
इनमें से कौन एक कोर डेटा प्रकार नहीं है?

Questions No: 38/50

The program must be able to handle unexpected situation like wrong input or no input.

Questions No: 39/50

The ______ mode of Python gives instant result of typed statement
पायथन का ______ मोड टाइप किए गए कथन का तुरंत परिणाम देता है

Questions No: 40/50

What is full form of CSV?
सीएसवी का फुल फॉर्म क्या है?

Questions No: 41/50

Given a function that does not return any value, What value is thrown by default when executed in shell.
ऐसे फ़ंक्शन को देखते हुए जो किसी भी वैल्यू को रिटर्न नहीं करता है, शेल में एक्सक्यूटेड होने पर डिफ़ॉल्ट रूप से कौन सी वैल्यू को हटा दिया जाता है।

Questions No: 42/50

____is a string literal denoted by triple quotes for providing the specifications of certain program elements.
____एक स्ट्रिंग अक्षर है जिसे कुछ प्रोग्राम एलिमेन्टो के स्पेशिफिकेशन को प्रोवाइड करने के लिए ट्रिपल कोट्स द्वारा दर्शाया जाता है।

Questions No: 43/50

What is the Full form of EOL?
EOL का फुल फॉर्म क्या है?

Questions No: 44/50

Which of the following is not a logical operator?
निम्नलिखित में से कौन एक लॉजिकल ऑपरेटर नहीं है?

Questions No: 45/50

What is the maximum possible length of an identifier for better redability? -
एक आइडेंटिफायर की अधिकतम संभव लंबाई क्या है?

Questions No: 46/50

Which of the following is incorrect regarding variables in Python?
पायथन में वेरिएबल्स के संबंध में निम्नलिखित में से कौन सा गलत है?

Questions No: 47/50

What will be the output of the following Python code?

i = 2
while True:
    if i%3 == 0:
        break
    print(i)
    i += 2

Questions No: 48/50

Which of the following variable declaration is incorrect?
निम्नलिखित में से कौन सी वैरिएबल डिक्लेरेशन गलत है ?

Questions No: 49/50

What will be the output of the following Python code?

i = 1
while False:
    if i%2 == 0:
        break
    print(i)
    i += 2

Questions No: 50/50

What will be the output?

def fun(a, b=5):
    print(a+b)
fun(10, 20)