Python - Introduction To Python
Questions No: 1/50

Which of these are keyword?
इनमें से कौन से कीवर्ड हैं ?

Questions No: 2/50

What will the following code output?

a=‘INFOMAX’ 
a=10
print(type(a))

Questions No: 3/50

What will be the output of the following Python code

def func(a, b=5, c=10):
    print('a is', a, 'and b is', b, 'and c is', c)
func(13, 17)
func(a=2, c=4)
func(5,7,9)

(A) a is 13 and b is 15 and c is 10

     a is 2 and b is 5 and c is 4

     a is 5 and b is 7 and c is 9

(B) a is 13 and b is 17 and cis 10

     a is 2 and b is 4 and c is 4

     a is 5 and b is 9 and c is 7

(C) a is 13 and b is 17 and c is 10

      a is 2 and b is 5 and cis 4

      a is 5 and b is 7 and c is 9

(D) None of the above

Questions No: 4/50

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

Questions No: 5/50

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

Questions No: 6/50

Which one of the following is the correct extension of the Python file?
निम्नलिखित में से कौन सा पायथन फ़ाइल का सही एक्सटेंशन है?

Questions No: 7/50

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

Questions No: 8/50

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

Questions No: 9/50

How can assertions be disabled in Python?
पायथन में अभिकथनों को कैसे अक्षम किया जा सकता है?

Questions No: 10/50

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

Questions No: 11/50

Which of the following is an escape sequence for a new line character
निम्नलिखित में से कौन सा एक नए लाइन कैरेक्टर के लिए एस्केप सीक्वेंस कैरेक्टर है

Questions No: 12/50

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

Questions No: 13/50

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

Questions No: 14/50

Which of the following is not a keyword ?
निम्नलिखित में से कौन सा कीवर्ड नहीं है?

Questions No: 15/50

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

Questions No: 16/50

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

Questions No: 17/50

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

Questions No: 18/50

How many keywords present in the python programming language?
पायथन प्रोग्रामिंग भाषा में कितने कीवर्ड मौजूद हैं?

Questions No: 19/50

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

Questions No: 20/50

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

Questions No: 21/50

Which character is used in Python to make a single line comment?
पायथन में सिंगल लाइन कमेंट करने के लिए किस कैरेक्टर का उपयोग किया जाता है?

Questions No: 22/50

What will the following code output? print(‘re\new’)
निम्नलिखित कोड आउटपुट क्या होगा? print(‘re\new’)

Questions No: 23/50

The data type whose representation is known are called
वह डेटा प्रकार जिसका प्रतिनिधित्व ज्ञात हो, कहलाते हैं

Questions No: 24/50

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)  212
      32
(B) 9
      27
(C) 567
      98
(D) None of the above

Questions No: 25/50

What is the return type of function id?
फ़ंक्शन आईडी का रिटर्न प्रकार क्या है?

Questions No: 26/50

Is Python case sensitive when dealing with identifiers?
क्या पहचानकर्ताओं के साथ व्यवहार करते समय पायथन केस सेंसिटिव है?

Questions No: 27/50

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

Questions No: 28/50

function returns the current position of file pointer.
फ़ंक्शन फ़ाइल पॉइंटर की वर्तमान स्थिति प्रस्तुत करता है ।

Questions No: 29/50

Which of the following will run without errors?
निम्नलिखित में से कौन सी त्रुटियों के बिना चलेगा?

Questions No: 30/50

What is the output of the following code?

a=set('abc')
b=set('cdef')
print(a&b)

Questions No: 31/50

Which of the following is not valid Python identifiers?
निम्नलिखित में से कौन वैध पायथन आइडेंटिफायर नहीं है?

Questions No: 32/50

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

Questions No: 33/50

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

Questions No: 34/50

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

Questions No: 35/50

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

Questions No: 36/50

It refers to the ability of an application to run on different platforms with or without minimal changes.
यह किसी एप्लिकेशन की न्यूनतम परिवर्तनों के साथ या उसके बिना विभिन्न प्लेटफ़ॉर्म पर चलने की क्षमता को संदर्भित करता है

Questions No: 37/50

Python code can run on a variety of platforms, it means Python is a _____ language.
पायथन कोड विभिन्न प्लेटफार्मों पर चल सकता है, इसका मतलब है कि पायथन एक _____ भाषा है।

Questions No: 38/50

Which of the following data types is not supported in python?
पायथन में निम्नलिखित में से कौन सा डेटा टाइप सपोर्ट नहीं करता है।

Questions No: 39/50

______ are additional readable information to clarify the statement in python.
______ पायथन में कथन को स्पष्ट करने के लिए अतिरिक्त पठनीय जानकारी है।

Questions No: 40/50

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

Questions No: 41/50

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

Questions No: 42/50

The tiny individual unit in python program is known as
पायथन प्रोग्राम में छोटी व्यक्तिगत इकाई को कहा जाता है

Questions No: 43/50

What will be the datatype of the var in the below code snippet?

var = 10
print(type(var))
var = "Hello"
print(type(var))

Questions No: 44/50

In order to store values in terms of key and value we use what core data type.
की और वैल्यू के संदर्भ में वैल्यूज को स्टोर करने के लिए हम किस कोर डेटा प्रकार का यूज़ करते हैं।

Questions No: 45/50

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

Questions No: 46/50

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

Questions No: 47/50

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

Questions No: 48/50

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

Questions No: 49/50

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

Questions No: 50/50

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