Python
Questions No: 1/50

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

Questions No: 2/50

The contents inside the "for loop" are separated by?
लूप के अंदर की सामग्री को _____ द्वारा अलग किया जाती है?

Questions No: 3/50

in python which function is used to read CSV file
पायथन में CSV फ़ाइल को पढ़ने के लिए किस फ़ंक्शन का उपयोग किया जाता है?

Questions No: 4/50

If a function doesn't have a return statement, which of the following does the function return ?
यदि किसी फंक्शन का रिटर्न स्टेटमेंट नहीं है, तो निम्न में से कौन सा फंक्शन रिटर्न होता है?

Questions No: 5/50

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

Questions No: 6/50

Which of the following is an invalid mode?
निम्न में से कौन सा अमान्य मोड है?

Questions No: 7/50

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

Questions No: 8/50

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

Questions No: 9/50

Which function is used to read all the characters from file?
फ़ाइल से सभी वर्णों को पढ़ने के लिए किस फ़ंक्शन का उपयोग किया जाता है?

Questions No: 10/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: 11/50

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

Questions No: 12/50

Which can not be a variable in python
जो कि Python में वेरिएबल नहीं हो सकता

Questions No: 13/50

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

Questions No: 14/50

What is the output of the following code ?

def fun(a, b=6):
    a=a+b
    print(a)
fun(5, 4)

Questions No: 15/50

Which statement will open file data.txt in append mode?
कौन सा स्टेटमेंट data.txt फाइल को एपेंड मोड में खोलेगा?

Questions No: 16/50

Which of the following is the correct way to write multiple lines to a file in Python?
पायथन में किसी फ़ाइल में एक से अधिक पंक्तियाँ लिखने का सही तरीका निम्नलिखित में से कौन सा है?

Questions No: 17/50

What is the output of the following code? print(not False)
निम्नलिखित कोड का परिणाम क्या है? print(not False)

Questions No: 18/50

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

Questions No: 19/50

How many keywords are there in Python 3.0 version?
Python 3.0 संस्करण में कितने कीवर्ड हैं?

Questions No: 20/50

To start Python from the command prompt, use the command
कमांड प्रॉम्प्ट से पायथन शुरू करने के लिए, कमांड का उपयोग करें

Questions No: 21/50

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

Questions No: 22/50

In what language is the Python programming language written?
पायथॉन प्रोग्रामिंग भाषा किस भाषा में लिखी गई है?

Questions No: 23/50

which is a correct way to open a file in python
पायथन में फ़ाइल खोलने के लिए किस फ़ंक्शन का उपयोग किया जाता है?

Questions No: 24/50

Hierarchy in a pseudo-code can be shown by:
सूड़ो-कोड में पदानुक्रम को द्वारा दिखाया जा सकता है|

Questions No: 25/50

Which of the following is not a correct mode to open a file ?
फ़ाइल खोलने के लिए निम्न में से कौन सा सही मोड नहीं है?

Questions No: 26/50

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

Questions No: 27/50

What will be the output of the following Python code?

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

Questions No: 28/50

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

Questions No: 29/50

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

Questions No: 30/50

Which of the following are valid escape sequences in Python ?
निम्नलिखित में से कौन से पायथन में वैध एस्केप सिक्वेन्स हैं?

Questions No: 31/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: 32/50

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

Questions No: 33/50

What will be the result of the expression print(5 and 10) ?
print(5 and 10) का परिणाम क्या होगा?

Questions No: 34/50

Which of the following options can be used to read the first line of a text file data.txt?
टेक्स्ट फाइल data.txt की पहली लाइन को पढ़ने के लिए निम्न में से कौन सा विकल्प इस्तेमाल किया जा सकता है?

Questions No: 35/50

How is a code block indicated in Python?
पायथन में कोड ब्लॉक को कैसे दर्शाया जाता है?

Questions No: 36/50

What will be the output of the following Python code?

def foo():
    total += 1
    return total
total = 0
print(foo())

Questions No: 37/50

If we open a file in write mode and file does not exists, which of the error will generate?
यदि हम एक फाइल को राइट मोड में खोलते हैं और फाइल मौजूद नहीं है, तो कौन सी त्रुटि उत्पन्न होगी?

Questions No: 38/50

What will be the output of the following code?

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

Questions No: 39/50

What will be the output of the following Python code?

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

Questions No: 40/50

Which of the following functions is a built-in function in pythonn
निम्न में से कौन सा फंक्शन पायथन में बिल्ट-इन फंक्शन है

Questions No: 41/50

Which of the following is not a valid identifier?
निम्न में से कौन सा वैध पहचानकर्ता नहीं है?

Questions No: 42/50

What does the following code print ?

if 2 + 5 == 8:
    print("TRUE")
else:
    print("FALSE")
print("TRUE")

Questions No: 43/50

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

Questions No: 44/50

You do not have pay Python and you can view its source code too. it means Python is _______

Questions No: 45/50

What is the output of below program ?

def say(message, times =1):
    print(message * times)
say("Hello")
say("Word",5)

Questions No: 46/50

what will the output of : print(5&3)
इसका आउटपुट क्या होगा: print(5&3)

Questions No: 47/50

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

Questions No: 48/50

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

Questions No: 49/50

Which of the following is not a features of Python?
निम्नलिखित में से कौन पायथन की विशेषता नहीं है?

Questions No: 50/50

Which of the following words is not a keyword of python language?
निम्नलिखित में से कौन सा शब्द नहीं पायथन लैंग्वेज का कीवर्ड है?