Solved - O Level Python Paper July 2021
निम्नलिखित (Diamond) प्रतीक दर्शाते हैं:
The following symbol(Diamond) represent :
[A] Decision
[B] Initialization
[C] Input/Output
[D] None of Mentioned
Correct Answer : Decision
जब किसी एल्गोरिथ्म को प्रोग्रामिंग भाषा के रूप में लिखा जाता है, तो वह बन जाता है:
When an algorithm is written in the form of a programming language, it becomes a :
[A] Flowchart
[B] Program
[C] Pseudo code
[D] Syntax
Correct Answer : Program
निम्नलिखित में से कौन सा पायथन में कीवर्ड नहीं है?
Which of the following is not a keyword in Python ?
[A] eval
[B] assert
[C] nonlocal
[D] pass
Correct Answer : eval
निम्नलिखित में से किसकी अभिव्यक्ति में सबसे अधिक प्राथमिकता है?
Which one of the following has the highest precedence in the expression ?
[A] Exponential
[B] Addition
[C] Multiplication
[D] Parentheses
Correct Answer : Parentheses
पायथन के बारे में निम्नलिखित में से कौन सा कथन सही है?
Which of the following is correct about Python ?
[A] It supports automatic garbage collection.
[B] It can be easily integrated with C, C++, COM, ActiveX, CORBA, and Java.
[C] Both of the above.
[D] None of the above.
Correct Answer : Both of the above.
पायथन के लिए निम्नलिखित में से कौन सा पर्यावरण चर पायथन इंटरप्रेटर को बताता है कि प्रोग्राम में आयातित मॉड्यूल फ़ाइलों को कहाँ स्थित करना है?
Which of the following environment variable for Python tells the Python interpreter where to locate the module files imported into a program ?
[A] PYTHONPATH
[B] PYTHONSTARTUP
[C] PYTHONCASEOK
[D] PYTHONHOME
Correct Answer : PYTHONPATH
निम्नलिखित में से कौन सा डेटा प्रकार पायथन में समर्थित नहीं है?
Which of the following data types is not supported in python ?
[A] Numbers
[B] String
[C] List
[D] Slice
Correct Answer : Slice
शब्दकोश का निम्नलिखित में से कौन सा फ़ंक्शन शब्दकोश से सभी कुंजियाँ प्राप्त करता है?
Which of the following function of dictionary gets all the keys from the dictionary ?
[A] getkeys()
[B] key()
[C] keys()
[D] none of the mentioned
Correct Answer : keys()
पायथन में आरक्षित कीवर्ड का चयन करें:
Select the reserved keyword in python :
[A] else
[B] raise
[C] import
[D] All of the mentioned
Correct Answer : All of the mentioned
कौन सा कथन सही है?
Which statement is correct ?
[A] List is mutable & Tuple is immutable.
[B] List is immutable & Tuple is mutable.
[C] Both List and Tuple are Mutable.
[D] Both List and Tuple are Immutable
Correct Answer : List is mutable & Tuple is immutable.
कंप्यूटर विज्ञान में, एल्गोरिदम किसी समस्या के समाधान के लिए कंप्यूटर द्वारा उपयोग की जाने वाली एक विशेष विधि को संदर्भित करता है।
In computer science, algorithm refers to a special method usable by a computer for the solution to a problem.
[A] TRUE
[B] FALSE
Correct Answer : TRUE
कोई भी एल्गोरिथ्म एक प्रोग्राम है।
Any algorithm is a program.
[A] TRUE
[B] FALSE
Correct Answer : FALSE
पहचानकर्ताओं के साथ काम करते समय पायथन केस संवेदनशील होता है।
Python is case sensitive when dealing with identifiers.
[A] TRUE
[B] FALSE
Correct Answer : TRUE
गणितीय संक्रियाएँ एक स्ट्रिंग पर की जा सकती हैं।
Mathematical operations can be performed on a string.
[A] TRUE
[B] FALSE
Correct Answer : FALSE
जोड़ और घटाव का वरीयता स्तर समान है।
Addition and Subtraction has the same precedence level.
[A] TRUE
[B] FALSE
Correct Answer : TRUE
व्यंजक int(x) से तात्पर्य है कि चर x को पूर्णांक में परिवर्तित किया गया है।
The expression int(x) implies that the variable x is converted to integer.
[A] TRUE
[B] FALSE
Correct Answer : TRUE
values () शब्दकोश का एक फ़ंक्शन है जो शब्दकोश से सभी मान प्राप्त करता है।
values () is a function of dictionary gets all the values from the dictionary.
[A] TRUE
[B] FALSE
Correct Answer : TRUE
पायथन में नेस्टेड if-else की अनुमति है।
nested if-else are allowed in Python.
[A] TRUE
[B] FALSE
Correct Answer : TRUE
unichr(x)फ़ंक्शन पायथन में एक पूर्णांक को अष्टाधारी स्ट्रिंग में परिवर्तित करता है।
unichr(x)function convert an integer to octal string in python.
[A] TRUE
[B] FALSE
Correct Answer : FALSE
फ्रोज़नसेट(एस)फ़ंक्शन पाइथन में ट्यूपल्स के अनुक्रम को शब्दकोश में परिवर्तित करता है।
frozenset(s)function convert a sequence of tuples to dictionary in python.
[A] TRUE
[B] FALSE
Correct Answer : FALSE