O Level - Modules In Python
Questions No: 1/26

Which of the following creates a pattern object?
निम्न में से कौन एक पैटर्न ऑब्जेक्ट बनाता है?

Questions No: 2/26

Which module in python can be used for working with network socket?
पायथन में किस मॉड्यूल का उपयोग नेटवर्क सॉकेट के साथ काम करने के लिए किया जा सकता है?

Questions No: 3/26

What does random.shuffle(x) do when x = [1, 2, 3]?
जब x = [1, 2, 3] random.shuffle(x) क्या करता है?

Questions No: 4/26

os.getlogin() function return?
os.getlogin() फ़ंक्शन क्या रिटर्न करेगा ?

Questions No: 5/26

Which of the following statements are used in Exception Handling in Python?
पायथन में एक्सेप्शन हैंडलिंग में निम्नलिखित में से कौन सा कथन उपयोग किया जाता है?

Questions No: 6/26

Which of the following is the basic I/O connections in file ?
फ़ाइल में निम्न में से कौन सा बुनियादी I/O कनेक्शन है?

Questions No: 7/26

Which statement is correct to import all modules from the package ?
पैकेज से सभी मॉड्यूल आयात करने के लिए कौन सा कथन सही है?

Questions No: 8/26

Modules are files saved with _____ extension.
मॉड्यूल _____ एक्सटेंशन के साथ सेव की गई फाइलें हैं।

Questions No: 9/26

What will be the output of the following Python code?

import random
print(random.randrange(0,91,5))

Questions No: 10/26

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

import random
random.uniform(3,4)

Questions No: 11/26

What will be the output of the following Code ?

x=10, y=3
print(divmod(x,y))

Questions No: 12/26

A stores information in the form of a stream of ASCII or unicode characters i.e. human readable.
एक सूचन को मानव पठनीय अर्थात ASCII या यूनिकोड वर्णों की एक स्ट्रीम के रूप में संग्रहीत करती है।

Questions No: 13/26

Choose the correct option with respect to Python.
पाइथन के सन्दर्भ में सही विकल्प का चयन कीजिए

Questions No: 14/26

Which can be the output of the following Python code?

import random
print(random.randrange(1,100,10))

Questions No: 15/26

random.shuffle() function shuffle value of
random.shuffle() फंक्शन किसकी वैल्यू को शफल करता है

Questions No: 16/26

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

Questions No: 17/26

This imports * statement import all in the modules except those beginning with ____ .
यह imports * स्टेटमेन्ट मॉड्यूल में सभी नामों को इंपोर्ट करता है जो .......से शुरुआत करते हैं।

Questions No: 18/26

Which module in Python supports regular expressions?
पायथन में कौन सा मॉड्यूल रेगुलर एक्सप्रेशन का समर्थन करता है?

Questions No: 19/26

Which module is to be imported for using randint( ) function ?
randint () फ़ंक्शन का उपयोग करने के लिए कौन सा मॉड्यूल इम्पोर्ट किया जाना जरूरी है?

Questions No: 20/26

A Python module is a file with the __________ file extension that contains valid Python code.
एक पायथन मॉड्यूल __________ फाइल एक्सटेंशन वाली एक फाइल है जिसमें वैध पायथन कोड होता है।

Questions No: 21/26

Which operator is used in Python to import modules from packages?
पैकेज से मॉड्यूल आयात करने के लिए पायथन में किस ऑपरेटर का उपयोग किया जाता है?

Questions No: 22/26

What will be the output of the following Python expression?

print(round(4.576))

Questions No: 23/26

To use a module in another module, you must import it using an, statement
अन्य मॉड्यूल में किसी मॉड्यूल का उपयोग करने के लिए, आपको उस स्टेटमेंट का उपयोग करके इम्पोर्ट करना होगा

Questions No: 24/26

Which of the following is false about “from ….. import …… " form of import?
निम्नलिखित में से कौन सा आयात के "from ….. import …… " रूप के बारे में गलत है?

Questions No: 25/26

Extension of python module is
पायथन मॉड्यूल का एक्सटेंशन क्या है

Questions No: 26/26

Which of these definitions correctly describes a module?
इनमें से कौन सी परिभाषा सही ढंग से एक मॉड्यूल का वर्णन करती है?