0 Comments

scope & modules

chapter 8 (M3-R5)

scope & module

1 / 100

94. Module documentation is accessed using:
मॉड्यूल डॉक्यूमेंटेशन कैसे देखते हैं?

2 / 100

100. Modules mainly support:
मॉड्यूल मुख्य रूप से क्या सपोर्ट करते हैं?

3 / 100

99. Which scope is default for variable assignment?
वेरिएबल असाइनमेंट का डिफॉल्ट स्कोप?

4 / 100

98. Which module generates random numbers?
रैंडम नंबर कौन-सा मॉड्यूल देता है?

5 / 100

97. A module can be reused by:
मॉड्यूल का पुनः उपयोग कैसे होता है?

6 / 100

96. Which is correct import syntax?
सही इम्पोर्ट सिंटैक्स कौन-सा है?

7 / 100

95. Which scope is shared across functions?
कौन-सा स्कोप फंक्शन के बीच साझा होता है?

8 / 100

93. Python standard modules are written in:
Python standard modules किसमें लिखे होते हैं?

9 / 100

92. Which scope rule avoids ambiguity?
कौन-सा नियम ambiguity से बचाता है?

10 / 100

91. Which statement imports multiple names?
कई नाम इम्पोर्ट करने वाला स्टेटमेंट?

11 / 100

90. A module variable is accessed using:
मॉड्यूल वेरिएबल कैसे एक्सेस होता है?

12 / 100

89. Which file stores Python bytecode?
Python bytecode किस फाइल में होता है?

13 / 100

88. Which is not a namespace?
कौन-सा नेमस्पेस नहीं है?

14 / 100

87. Namespace is created at:
नेमस्पेस कब बनता है?0

15 / 100

86. Which import form is fastest to type?
टाइप करने में सबसे छोटा इम्पोर्ट?

16 / 100

85. Python module search path includes:
Python मॉड्यूल खोज पथ में क्या शामिल है?

17 / 100

84. Modules help in dividing program into:
मॉड्यूल प्रोग्राम को किसमें बाँटते हैं?

18 / 100

83. Which scope is created for each function call?
हर function call पर कौन-सा स्कोप बनता है?

19 / 100

82. Which module is used for time functions?
समय से संबंधित फंक्शन कौन-सा मॉड्यूल देता है?

20 / 100

81. reload() function is used to:
reload() का उपयोग होता है:

21 / 100

80. Which import loads module only once?
कौन-सा इम्पोर्ट मॉड्यूल को एक बार लोड करता है?

22 / 100

79. Global keyword is required when:
global कीवर्ड कब आवश्यक है?

23 / 100

78. Which is a standard library module?
कौन-सा स्टैण्डर्ड लाइब्रेरी मॉड्यूल है?

24 / 100

77. Module name is available using:
मॉड्यूल का नाम किससे मिलता है?

25 / 100

76. Which scope exists till program ends?
कौन-सा स्कोप प्रोग्राम के अंत तक रहता है?

26 / 100

75. Docstring is used for:
Docstring का उपयोग होता है:

27 / 100

74. Names starting with _ are:
_ से शुरू होने वाले नाम होते हैं:

28 / 100

73. from module import * imports:
from module import * क्या करता है?

29 / 100

72. Which module provides OS interface?
OS इंटरफेस कौन-सा मॉड्यूल देता है?

30 / 100

71. Which scope has lowest priority?
सबसे कम प्राथमिकता वाला स्कोप कौन-सा है?

31 / 100

70. Namespace collision means:
Namespace collision का मतलब है:

32 / 100

69. A package can contain:
एक पैकेज में क्या हो सकता है?

33 / 100

68. sys.argv belongs to which scope?
sys.argv किस स्कोप का हिस्सा है?

34 / 100

67. Which module handles command line arguments?
Command line arguments किस मॉड्यूल से होते हैं?

35 / 100

66. import math as m, m is called:
import math as m में m क्या है?

36 / 100

65. Alias name is used to:
Alias नाम का उपयोग क्यों किया जाता है?

37 / 100

64. Which is not a benefit of modules?
मॉड्यूल का कौन-सा लाभ नहीं है?

38 / 100

63. Which scope is created at module level?
मॉड्यूल स्तर पर कौन-सा स्कोप बनता है?

39 / 100

62. PYTHONHOME variable is related to:
PYTHONHOME किससे संबंधित है?

40 / 100

61. Which file makes directory a package?
डायरेक्टरी को पैकेज कौन बनाता है?

41 / 100

60. Module code is executed:
मॉड्यूल कोड कब execute होता है?

42 / 100

59. Which import style avoids name clash best?
Name clash से बचने का सबसे अच्छा तरीका?

43 / 100

58. Name clash occurs when:
Name clash कब होता है?

44 / 100

57. Which statement imports only specific name?
केवल एक नाम इम्पोर्ट करने वाला स्टेटमेंट?

45 / 100

56. A module can contain:
एक मॉड्यूल में क्या हो सकता है?

46 / 100

55. Python searches variable name in which order?
Python वेरिएबल नाम किस क्रम में खोजता है?

47 / 100

54. Which keyword makes variable global inside function?
फंक्शन के अंदर वेरिएबल को global बनाने का कीवर्ड?

48 / 100

53. Enclosed scope is related to:
Enclosed स्कोप किससे संबंधित है?

49 / 100

52. Variable declared outside all functions is:
सभी फंक्शन के बाहर घोषित वेरिएबल क्या कहलाता है?

50 / 100

51. Which scope contains predefined names like len(), print()?
len(), print() जैसे नाम किस स्कोप में होते हैं?

51 / 100

50. Which scope has highest priority?
सबसे अधिक प्राथमिकता वाला स्कोप कौन-सा है?

52 / 100

49. Module improves program:
मॉड्यूल प्रोग्राम को कैसे बनाता है?

53 / 100

48. Which statement imports everything?
सब कुछ इम्पोर्ट करने वाला स्टेटमेंट है:

54 / 100

47. Docstring is written using:
Docstring किससे लिखी जाती है?

55 / 100

46. Which symbol is used for arbitrary arguments?
मनमाने arguments के लिए कौन-सा चिन्ह है?

56 / 100

45. Which namespace is created when module is imported?
मॉड्यूल इम्पोर्ट करने पर कौन-सा नेमस्पेस बनता है?

57 / 100

44. A namespace is:
नेमस्पेस क्या है?

58 / 100

43. PYTHONPATH is:
PYTHONPATH क्या है?

59 / 100

42. sys module is used for:
sys मॉड्यूल किस लिए है?

60 / 100

41. Which module is built-in?
कौन-सा built-in मॉड्यूल है?

61 / 100

40. Modules help in:
मॉड्यूल किसमें सहायक हैं?

62 / 100

39. Which is NOT a scope in Python?
Python में कौन-सा स्कोप नहीं है?

63 / 100

38. import numpy as np means:
import numpy as np का अर्थ है:

64 / 100

37. Which keyword is used for aliasing module?
मॉड्यूल को alias देने के लिए कौन-सा कीवर्ड है?

65 / 100

36. Global variables are accessible:
Global variables कहाँ उपलब्ध होते हैं?

66 / 100

35. Which scope exists only during function execution?
कौन-सा स्कोप फंक्शन चलने तक रहता है?

67 / 100

34. init.py file is used to:
init.py फाइल का उपयोग होता है:

68 / 100

33. A package is:
पैकेज क्या होता है?

69 / 100

32. name variable gives:
name वेरिएबल क्या बताता है?

70 / 100

31. Which import may cause name clash?
कौन-सा इम्पोर्ट name clash कर सकता है?

71 / 100

30. from math import sqrt allows:
from math import sqrt के बाद क्या संभव है?

72 / 100

29. import math allows access using:
import math के बाद एक्सेस कैसे करेंगे?

73 / 100

28. Which statement is used to import a module?
मॉड्यूल इम्पोर्ट करने के लिए कौन-सा स्टेटमेंट है?

74 / 100

27. Which file extension is used for Python modules?
Python मॉड्यूल की फाइल एक्सटेंशन क्या है?

75 / 100

26. A module in Python is:
Python में मॉड्यूल क्या है?

76 / 100

25. Which keyword is used to declare global variable?
ग्लोबल वेरिएबल घोषित करने के लिए कौन-सा कीवर्ड है?

77 / 100

24. A variable defined inside a function is called:
फंक्शन के अंदर परिभाषित वेरिएबल कहलाता है:

78 / 100

23. Built-in scope contains:
Built-in स्कोप में क्या होता है?

79 / 100

22. LEGB rule stands for:
LEGB नियम का अर्थ है:

80 / 100

21. Which scope is searched first for a variable?
किस स्कोप में वेरिएबल सबसे पहले खोजा जाता है?

81 / 100

20. Correct statement to import all modules from package:
सभी मॉड्यूल इम्पोर्ट करने का सही कथन है:

82 / 100

19. Which correctly describes a module?
मॉड्यूल का सही वर्णन कौन-सा है?

83 / 100

18. Scope rule in Python is summarized as:
Python का स्कोप नियम किस रूप में जाना जाता है?

84 / 100

17. Which environment variable tells Python where to find modules?
कौन-सा एनवायरनमेंट वेरिएबल मॉड्यूल का रास्ता बताता है?

85 / 100

16. What will be the output of the given code?
दिए गए कोड का आउटपुट क्या होगा?

86 / 100

15. Which statement is false about from…import…?
from…import… के बारे में कौन-सा कथन गलत है?

87 / 100

14. Which is NOT an advantage of modules?
मॉड्यूल का कौन-सा लाभ नहीं है?

88 / 100

13. To use a module, which statement is used?
मॉड्यूल उपयोग करने के लिए कौन-सा स्टेटमेंट प्रयोग होता है?

89 / 100

12. Correct statement to import all modules from a package is:
पैकेज से सभी मॉड्यूल इम्पोर्ट करने का सही कथन है:

90 / 100

11. Structured program can be broken into ____
Structured program को किसमें बाँटा जा सकता है?

91 / 100

10. PyPI stands for:
PyPI का पूरा नाम क्या है?

92 / 100

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

93 / 100

8. import * statement imports all names except those starting with ____
import * सभी नाम इम्पोर्ट करता है सिवाय जो शुरू होते हैं?

94 / 100

7. Arbitrary arguments use which symbol?
मनमाने तर्कों के लिए कौन-सा चिन्ह प्रयोग होता है?

95 / 100

6. Modules are files saved with which extension?
मॉड्यूल किस एक्सटेंशन में सेव होते हैं?

96 / 100

5. Program code using a module is called ____ of the module.
मॉड्यूल का उपयोग करने वाले प्रोग्राम को क्या कहा जाता है?

97 / 100

4. Which of the following is not a valid namespace?
निम्नलिखित में से कौन-सा वैध नेमस्पेस नहीं है?

98 / 100

3. Which definition correctly describes a module?
निम्न में से कौन-सी परिभाषा मॉड्यूल का सही वर्णन करती है?

99 / 100

2. Which of the following is false about “from-import” form of import?
निम्नलिखित में से कौन-सा “from-import” के बारे में गलत है?

100 / 100

1. Which of the following statement invokes the function?
निम्न में से कौन-सा कथन फंक्शन को कॉल करता है?

Your score is

The average score is 0%

0%

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts