मुख्य सामग्री पर जाएँ

Python Basic Online Test Series: Python MCQ, Mock Test & Quiz (Hindi + English)

By Updated: 11
5/5 - (5 votes)

Python Basic Online Test Series – का सबसे भरोसेमंद और स्मार्ट तरीका

Class test chal raha hai — pehle use poora kijiye, phir revision khulega.
Revision ka koi number kahin darj nahi hota. Marks ke liye Class Test dijiye.

0%
1
Python Basic Online Test Series Pradip VedantSri

Python Basic Online Test Series (Basic)

Python Basic Online Test Series (Basic)

1 / 30

Which of the following is NOT a valid Python keyword?

2 / 30

Who developed the Python programming language?

3 / 30

What is the output of print(type(10))?

4 / 30

What is the output of print("Hello" + "World")?

5 / 30

What is the correct file extension for Python files?

6 / 30

What is the output of print(5 // 2)?

7 / 30

Which function is used to get input from the user in Python?

8 / 30

Which symbol is used for single-line comments in Python?

9 / 30

What is the output of len([1, 2, 3])?

10 / 30

Which operator is used for floor division in Python?

11 / 30

How do you create a dictionary in Python?

12 / 30

What is the output of print("Python"[1])?

13 / 30

Which keyword is used to define a function in Python?

14 / 30

What is the output of print(10 % 3)?

15 / 30

Which of the following is used to represent a boolean value in Python?

16 / 30

Which operator is used to check equality in Python?

17 / 30

Which method is used to convert a string to lowercase?

18 / 30

Which of the following is an immutable data type in Python?

19 / 30

Which keyword is used to exit a loop prematurely?

20 / 30

What is the correct way to start a while loop?

21 / 30

Which of the following is a valid variable name in Python?

22 / 30

What is the output of print(2 ** 3)?

23 / 30

How is a block of code defined in Python?

24 / 30

Which keyword is used to define a class in Python?

25 / 30

What is the output of print(bool(0))?

26 / 30

Which keyword is used to skip the current iteration of a loop?

27 / 30

In which year was Python first released?

28 / 30

Which method is used to add an item to the end of a list?

29 / 30

What is the correct syntax to import a module named 'math'?

30 / 30

Which of the following is a mutable data type in Python?

Your score is

The average score is 57%

0%

अगर आप 2026 में Python सीख रहे हैं, तो आपको पता होना चाहिए कि सिर्फ़ वीडियो देखकर या किताबें पढ़कर प्रोग्रामिंग नहीं आती। असली सीख तब शुरू होती है जब आप खुद बैठकर कोड लिखते हैं, गलती करते हैं, और उस गलती से कुछ सीखते हैं। यही वजह है कि आज Google, Bing, Yahoo — हर जगह लोग “Python Basic Online Test Series” सर्च कर रहे हैं। लोग ऐसा टेस्ट चाहते हैं जो आसान हो, हिंदी और इंग्लिश दोनों में समझ आए, और जिसके सवाल असली इंटरव्यू और असली काम जैसे हों।

Pos.NameScoreDurationPoints
1akash57 %4 minutes 16 seconds17 / 30

Python Course Details, Fees, Duration, Syllabus, Eligibility, Admission, Institute & Jobs in Varanasi

VedantSri में हमने यही सोचकर एक ऐसी टेस्ट सीरीज़ बनाई है जो आपको रटने पर मजबूर नहीं करती, बल्कि सोचने पर मजबूर करती है। हर सवाल के पीछे एक छोटी सी कहानी है — जैसे असली प्रोजेक्ट में आती है। और जब आप गलत जवाब देते हैं, तो हम सिर्फ़ “गलत” नहीं लिखते हैं। हम आपको बताते हैं कि आप कहाँ फँसे, और अगली बार कैसे बचें। यही चीज़ इस टेस्ट सीरीज़ को बाकी से सबसे अलग बनाती है।

Python Basic Online Test Series Pradip VedantSri
Python Basic Online Test Series Pradip VedantSri

Python Test Series क्यों ज़रूरी है?

2026 में Python की माँग हर जगह है — डेटा साइंस, वेब डेवलपमेंट, ऑटोमेशन, और AI. लेकिन सिर्फ़ वीडियो देखकर आप इंटरव्यू में नहीं टिक पाएँगे। इंटरव्यू में पूछा जाता है — “List और Tuple में क्या फ़र्क है?” या “अगर डिक्शनरी में कोई key नहीं मिले तो क्या होगा?” ऐसे सवालों का जवाब सिर्फ़ प्रैक्टिस से आता है। हमारी टेस्ट सीरीज़ में ऐसे ही सवाल हैं — जो आपको सोचने पर मजबूर करते हैं, और आपको असली प्रोजेक्ट के लिए तैयार करते हैं।

VedantSri की Python Basic Online Test Series में क्या-क्या मिलेगा?

हमारी टेस्ट सीरीज़ को तीन हिस्सों में बाँटा गया है, ताकि आप शुरुआत से लेकर इंटरव्यू लेवल तक धीरे-धीरे आगे बढ़ सकें।

1. Python बेसिक टेस्ट (Beginner Level)

इसमें आपको मिलेंगे सवाल — variables, data types, operators, strings, lists, tuples, और dictionaries पर। जैसे — “= और == में क्या फ़र्क है?” या “किस फंक्शन से इनपुट लेते हैं?” हर टेस्ट में 20 सवाल हैं, और हर सवाल के बाद छोटा सा explanation है। आप चाहें तो हिंदी में पढ़ सकते हैं, चाहें तो इंग्लिश में।

2. Python Intermediate टेस्ट (Intermediate Level)

यहाँ आप सीखेंगे — loops, functions, conditionals, error handling, और file handling. टेस्ट में ऐसे सवाल आते हैं जो असली कोडिंग में आते हैं — जैसे “while और for लूप में कब क्या इस्तेमाल करें?” या “try और except का क्या काम है?” हर गलत जवाब पर आपको सिर्फ़ सही जवाब नहीं मिलता, बल्कि यह भी पता चलता है कि आपकी सोच कहाँ गलत थी।

3. Python Full Stack Mini Test (Advanced Level)

यह टेस्ट उन लोगों के लिए है जो इंटरव्यू की तैयारी कर रहे हैं। इसमें Python basics, functions, classes, और थोड़ा सा data handling मिलाकर सवाल आते हैं। जैसे — “क्लास और ऑब्जेक्ट में क्या फ़र्क है?” या “लिस्ट में डुप्लीकेट कैसे हटाएँ?” यह टेस्ट आपको असली कंपनी के इंटरव्यू जैसा महसूस कराता है।

Python Basic Online Test Series VedantSri Institute
Python Basic Online Test Series VedantSri Institute

टेस्ट सीरीज़ कैसे काम करती है? (Step-by-Step)

  1. सबसे पहले आप VedantSri की वेबसाइट पर जाएँ और अपना नाम और मोबाइल नंबर डालकर रजिस्टर करें।
  2. रजिस्टर करने के बाद आपको एक लॉगिन मिलेगा, जहाँ आप कोई भी टेस्ट कभी भी शुरू कर सकते हैं।
  3. हर टेस्ट का एक टाइमर होता है — ताकि आप असली एग्जाम जैसा महसूस करें।
  4. टेस्ट खत्म होने पर आपको तुरंत स्कोर मिलेगा, और हर सवाल का सही जवाब भी दिखेगा।
  5. आप जितनी बार चाहें टेस्ट दे सकते हैं। जब तक आपको 90% से ऊपर स्कोर न आए, तब तक प्रैक्टिस करते रहें।

Python MCQ Questions and Answers — Python Mock Test (60 नए सवाल)

इस Python Basic Online Test Series में ऊपर के test के अलावा 60 नए Python MCQ हैं — basics, code का output और functions/OOP/file/exception। O Level M3-R5, BCA और job test के लिए। Code वाले सवालों के जवाब code चलाकर जाँचे गए हैं। “Test शुरू कीजिए” दबाइए — कोई login नहीं।

Python Objective Questions — Basics (Set 1)

  1. Python किसने बनाई?

    1. James Gosling
    2. Bjarne Stroustrup
    3. Dennis Ritchie
    4. Guido van Rossum
    उत्तर देखें

    उत्तर: (d) Guido van Rossum — Guido van Rossum ने Python बनाई (पहला version 1991)।

  2. Python किस तरह की language है?

    1. Assembly language
    2. Markup language
    3. केवल machine language
    4. Interpreted, high-level
    उत्तर देखें

    उत्तर: (d) Interpreted, high-level — Python code interpreter line-by-line चलाता है; सीखना आसान है।

  3. Python file का extension क्या होता है?

    1. .pyt
    2. .pt
    3. .py
    4. .p
    उत्तर देखें

    उत्तर: (c) .py — Python program .py file में save होता है।

  4. Python में comment किस चिह्न से शुरू होता है?

    1. --
    2. #
    3. /*
    4. //
    उत्तर देखें

    उत्तर: (b) # — # के बाद लिखा Python नहीं चलाता।

  5. Python में code block (जैसे if के अंदर) कैसे पहचाना जाता है?

    1. { } से
    2. Indentation (आगे की खाली जगह) से
    3. begin-end से
    4. ; से
    उत्तर देखें

    उत्तर: (b) Indentation (आगे की खाली जगह) से — Python में indentation ज़रूरी है — गलत indentation = IndentationError।

  6. User से input लेने का function कौन-सा है?

    1. scan()
    2. get()
    3. read()
    4. input()
    उत्तर देखें

    उत्तर: (d) input() — input() हमेशा string देता है; संख्या चाहिए तो int() लगाइए।

  7. input() से मिली value का data type क्या होता है?

    1. bool
    2. str
    3. float
    4. int
    उत्तर देखें

    उत्तर: (b) str — input() string लौटाता है — int(input()) से संख्या बनती है।

  8. कौन-सा data type बदला नहीं जा सकता (immutable)?

    1. list
    2. set
    3. tuple
    4. dict
    उत्तर देखें

    उत्तर: (c) tuple — tuple, str, int immutable हैं; list, dict, set बदले जा सकते हैं।

  9. Key-value जोड़ी रखने वाला data type कौन-सा है?

    1. str
    2. list
    3. dict
    4. tuple
    उत्तर देखें

    उत्तर: (c) dict — dict = {'naam': 'Ram', 'umr': 18}।

  10. Python में list कैसे बनती है?

    1. [1, 2, 3]
    2. <1, 2, 3>
    3. (1, 2, 3)
    4. {1, 2, 3}
    उत्तर देखें

    उत्तर: (a) [1, 2, 3] — [ ] = list, ( ) = tuple, { } = set या dict।

  11. Python में किसी variable का type जानने का function कौन-सा है?

    1. typeof()
    2. class()
    3. type()
    4. kind()
    उत्तर देखें

    उत्तर: (c) type() — type(5) → <class 'int'>।

  12. Python में function किस keyword से बनता है?

    1. def
    2. function
    3. define
    4. fun
    उत्तर देखें

    उत्तर: (a) def — def naam(): से function बनता है।

  13. Function से value वापस भेजने का keyword कौन-सा है?

    1. send
    2. return
    3. back
    4. give
    उत्तर देखें

    उत्तर: (b) return — return न लिखें तो function None लौटाता है।

  14. कोई module जोड़ने का keyword कौन-सा है?

    1. require
    2. import
    3. using
    4. include
    उत्तर देखें

    उत्तर: (b) import — import math — फिर math.sqrt() चलता है।

  15. Loop को बीच में पूरी तरह रोकने का keyword कौन-सा है?

    1. exit
    2. stop
    3. continue
    4. break
    उत्तर देखें

    उत्तर: (d) break — break loop से बाहर; continue सिर्फ़ उस बार का बाकी हिस्सा छोड़ता है।

  16. Python में 'और' वाला logical operator कौन-सा है?

    1. AND()
    2. and
    3. &&
    4. &
    उत्तर देखें

    उत्तर: (b) and — Python में and, or, not शब्द हैं।

  17. Python में एक से ज़्यादा line की string कैसे लिखते हैं?

    1. [ ] में
    2. # से
    3. \n नहीं लिख सकते
    4. तीन quotes ''' ''' या """ """
    उत्तर देखें

    उत्तर: (d) तीन quotes ''' ''' या """ """ — Triple quotes से कई line की string बनती है।

  18. कौन-सा variable का नाम सही है?

    1. class
    2. 2name
    3. my-name
    4. student_name
    उत्तर देखें

    उत्तर: (d) student_name — नाम अंक से शुरू नहीं होता, - नहीं चलता, और class जैसा keyword नहीं हो सकता।

  19. Error आने पर program को रुकने से बचाने के लिए कौन-सा block है?

    1. try-except
    2. if-else
    3. for-while
    4. def-return
    उत्तर देखें

    उत्तर: (a) try-except — try में code, except में error आने पर क्या करें।

  20. O Level में Python किस module में आती है?

    1. M3-R5
    2. M2-R5
    3. M1-R5
    4. M4-R5
    उत्तर देखें

    उत्तर: (a) M3-R5 — M3-R5 = Programming and Problem Solving through Python।

Python Code Output Questions — Python Quiz (Set 2)

  1. इस code का output क्या होगा? print(7 // 2)

    1. 1
    2. 4
    3. 3.5
    4. 3
    उत्तर देखें

    उत्तर: (d) 3 — सही output: 3 — // = floor division — दशमलव हटाकर पूरा भाग।

  2. इस code का output क्या होगा? print(7 % 3)

    1. 1
    2. 0
    3. 2.33
    4. 2
    उत्तर देखें

    उत्तर: (a) 1 — सही output: 1 — % = शेषफल (remainder)।

  3. इस code का output क्या होगा? print(2 ** 3)

    1. 9
    2. 5
    3. 6
    4. 8
    उत्तर देखें

    उत्तर: (d) 8 — सही output: 8 — ** = घात (power): 2 × 2 × 2।

  4. इस code का output क्या होगा? print('ab' * 3)

    1. ab ab ab
    2. ababab
    3. ab3
    4. Error
    उत्तर देखें

    उत्तर: (b) ababab — सही output: ababab — String को संख्या से गुणा करने पर वो उतनी बार दोहरती है।

  5. इस code का output क्या होगा? print(len('VedantSri'))

    1. 7
    2. 8
    3. 9
    4. 10
    उत्तर देखें

    उत्तर: (c) 9 — सही output: 9 — len() अक्षरों की गिनती देता है।

  6. इस code का output क्या होगा? print('Python'[0])

    1. Python
    2. n
    3. P
    4. y
    उत्तर देखें

    उत्तर: (c) P — सही output: P — Index 0 से शुरू होता है — पहला अक्षर।

  7. इस code का output क्या होगा? print('Python'[-1])

    1. n
    2. P
    3. Error
    4. o
    उत्तर देखें

    उत्तर: (a) n — सही output: n — -1 = आख़िरी अक्षर।

  8. इस code का output क्या होगा? print('Python'[1:4])

    1. Pyth
    2. ytho
    3. yth
    4. yth
    उत्तर देखें

    उत्तर: (d) yth — सही output: yth — [1:4] = index 1 से 3 तक (4 शामिल नहीं)।

  9. इस code का output क्या होगा? print(list(range(1, 5)))

    1. [1, 2, 3, 4, 5]
    2. [2, 3, 4, 5]
    3. [0, 1, 2, 3, 4]
    4. [1, 2, 3, 4]
    उत्तर देखें

    उत्तर: (d) [1, 2, 3, 4] — सही output: [1, 2, 3, 4] — range(1, 5) में 5 शामिल नहीं होता।

  10. इस code का output क्या होगा? print(10 / 4)

    1. 2.0
    2. 2
    3. 3
    4. 2.5
    उत्तर देखें

    उत्तर: (d) 2.5 — सही output: 2.5 — / हमेशा float देता है।

  11. इस code का output क्या होगा? print(type(3.0).__name__)

    1. double
    2. int
    3. str
    4. float
    उत्तर देखें

    उत्तर: (d) float — सही output: float — 3.0 दशमलव वाली संख्या = float।

  12. इस code का output क्या होगा? x = [1, 2, 3]; x.append(4); print(x)

    1. [1, 2, 3, 4]
    2. [4, 1, 2, 3]
    3. [1, 2, 3]
    4. [1, 2, 3, [4]]
    उत्तर देखें

    उत्तर: (a) [1, 2, 3, 4] — सही output: [1, 2, 3, 4] — append() list के अंत में जोड़ता है।

  13. इस code का output क्या होगा? print('vedant'.upper())

    1. Vedant
    2. vedant
    3. VEDANT
    4. VEDANt
    उत्तर देखें

    उत्तर: (c) VEDANT — सही output: VEDANT — upper() सारे अक्षर बड़े कर देता है।

  14. इस code का output क्या होगा? print(bool(0))

    1. True
    2. None
    3. False
    4. 0
    उत्तर देखें

    उत्तर: (c) False — सही output: False — 0, खाली string, खाली list = False।

  15. इस code का output क्या होगा? print(3 == 3.0)

    1. False
    2. 3
    3. Error
    4. True
    उत्तर देखें

    उत्तर: (d) True — सही output: True — मान बराबर हैं, इसलिए True।

  16. इस code का output क्या होगा? print(int('25') + 5)

    1. 30
    2. Error
    3. '30'
    4. 255
    उत्तर देखें

    उत्तर: (a) 30 — सही output: 30 — int('25') = 25, फिर 25 + 5।

  17. इस code का output क्या होगा? print('25' + '5')

    1. Error
    2. '25 5'
    3. 30
    4. 255
    उत्तर देखें

    उत्तर: (d) 255 — सही output: 255 — दो string जुड़ती हैं (concatenation)।

  18. इस code का output क्या होगा? print(max([4, 9, 2]))

    1. 2
    2. 15
    3. 4
    4. 9
    उत्तर देखें

    उत्तर: (d) 9 — सही output: 9 — max() सबसे बड़ा मान देता है।

  19. इस code का output क्या होगा? print(sorted([3, 1, 2]))

    1. 6
    2. [1, 2, 3]
    3. [3, 1, 2]
    4. [3, 2, 1]
    उत्तर देखें

    उत्तर: (b) [1, 2, 3] — सही output: [1, 2, 3] — sorted() नई क्रमबद्ध list देता है।

  20. इस code का output क्या होगा? d = {'a': 1, 'b': 2}; print(d['b'])

    1. 2
    2. Error
    3. 'b'
    4. 1
    उत्तर देखें

    उत्तर: (a) 2 — सही output: 2 — dict में key से मान मिलता है।

Functions, OOP, File और Exception — Python Practice Set (Set 3)

  1. List और tuple में मुख्य फ़र्क क्या है?

    1. Tuple बदली जा सकती है, list नहीं
    2. List बदली जा सकती है, tuple नहीं
    3. दोनों एक जैसे
    4. List में सिर्फ़ संख्या
    उत्तर देखें

    उत्तर: (b) List बदली जा सकती है, tuple नहीं — List mutable है, tuple immutable — इसलिए tuple थोड़ा तेज़ और सुरक्षित।

  2. File को पढ़ने के लिए खोलने का mode क्या है?

    1. 'a'
    2. 'w'
    3. 'x' हमेशा
    4. 'r'
    उत्तर देखें

    उत्तर: (d) 'r' — 'r' = read, 'w' = नई/मिटाकर लिखना, 'a' = अंत में जोड़ना।

  3. File अपने आप बंद हो, इसके लिए कौन-सा तरीका सबसे अच्छा है?

    1. del file
    2. file.stop()
    3. open() बिना close
    4. with open(...) as f:
    उत्तर देखें

    उत्तर: (d) with open(...) as f: — with block ख़त्म होते ही file अपने आप बंद हो जाती है।

  4. Class से बना हुआ object क्या कहलाता है?

    1. Instance
    2. Module
    3. Loop
    4. Package
    उत्तर देखें

    उत्तर: (a) Instance — Class = नक्शा, object/instance = उससे बनी असली चीज़।

  5. Class में constructor method का नाम क्या है?

    1. __start__
    2. constructor
    3. __init__
    4. __new_object__
    उत्तर देखें

    उत्तर: (c) __init__ — __init__ object बनते ही चलता है।

  6. Class के method में पहला parameter सामान्यतः क्या होता है?

    1. this
    2. self
    3. obj
    4. me
    उत्तर देखें

    उत्तर: (b) self — self उसी object को दर्शाता है।

  7. एक class का दूसरी class के गुण लेना क्या कहलाता है?

    1. Inheritance
    2. Encapsulation
    3. Recursion
    4. Iteration
    उत्तर देखें

    उत्तर: (a) Inheritance — Inheritance से code दोबारा लिखना नहीं पड़ता।

  8. Function का ख़ुद को बुलाना क्या कहलाता है?

    1. Inheritance
    2. Lambda
    3. Recursion
    4. Iteration
    उत्तर देखें

    उत्तर: (c) Recursion — Recursion में रुकने की शर्त (base case) ज़रूरी है।

  9. एक line का बिना नाम वाला function किस keyword से बनता है?

    1. lambda
    2. def
    3. func
    4. inline
    उत्तर देखें

    उत्तर: (a) lambda — lambda x: x * 2।

  10. Python में किसी संख्या को शून्य से भाग देने पर कौन-सी error आती है?

    1. ValueError
    2. TypeError
    3. NameError
    4. ZeroDivisionError
    उत्तर देखें

    उत्तर: (d) ZeroDivisionError — 10 / 0 → ZeroDivisionError।

  11. int('abc') चलाने पर कौन-सी error आएगी?

    1. ValueError
    2. TypeError
    3. KeyError
    4. IndexError
    उत्तर देखें

    उत्तर: (a) ValueError — String संख्या में नहीं बदल सकती → ValueError।

  12. List के बाहर का index माँगने पर कौन-सी error आती है?

    1. SyntaxError
    2. ValueError
    3. IndexError
    4. KeyError
    उत्तर देखें

    उत्तर: (c) IndexError — 3 item की list में [5] → IndexError।

  13. Dict में मौजूद न होने वाली key माँगने पर कौन-सी error आती है?

    1. NameError
    2. IndexError
    3. KeyError
    4. ZeroDivisionError
    उत्तर देखें

    उत्तर: (c) KeyError — KeyError से बचने के लिए d.get(key) इस्तेमाल करें।

  14. [x * x for x in range(4)] क्या कहलाता है?

    1. List comprehension
    2. Lambda
    3. Decorator
    4. Generator function
    उत्तर देखें

    उत्तर: (a) List comprehension — एक line में loop से नई list बनाना।

  15. NumPy library मुख्य रूप से किस काम आती है?

    1. Website design
    2. Typing
    3. Photo editing
    4. Number/array पर तेज़ गणना
    उत्तर देखें

    उत्तर: (d) Number/array पर तेज़ गणना — NumPy array और गणित के लिए; O Level M3 में भी आती है।

  16. random module से 1 से 6 तक पूरी संख्या लेने का function कौन-सा है?

    1. random.dice()
    2. random.randint(1, 6)
    3. random.int(1,6)
    4. random.range(6)
    उत्तर देखें

    उत्तर: (b) random.randint(1, 6) — randint में दोनों सिरे शामिल होते हैं।

  17. Python में set की खास बात क्या है?

    1. बदला नहीं जा सकता
    2. क्रम हमेशा तय रहता है
    3. Key-value रखता है
    4. दोहराए हुए मान नहीं रहते
    उत्तर देखें

    उत्तर: (d) दोहराए हुए मान नहीं रहते — set({1, 1, 2}) = {1, 2}।

  18. while loop कब तक चलता है?

    1. सिर्फ़ एक बार
    2. जब तक False रहे
    3. जब तक शर्त True रहे
    4. हमेशा 10 बार
    उत्तर देखें

    उत्तर: (c) जब तक शर्त True रहे — शर्त कभी False न हो तो infinite loop।

  19. pip किस काम आता है?

    1. File खोलने
    2. Code compile करने
    3. Python के package install करने
    4. Python चलाने
    उत्तर देखें

    उत्तर: (c) Python के package install करने — pip install numpy।

  20. Python का कौन-सा editor Python के साथ ही आता है?

    1. Notepad++
    2. Excel
    3. IDLE
    4. MS Word
    उत्तर देखें

    उत्तर: (c) IDLE — IDLE Python install करने पर साथ मिलता है।

Python Viva Questions in Hindi (Interview / Practical)

Python को interpreted language क्यों कहते हैं?

Python का code पहले पूरा machine code में नहीं बदलता; interpreter उसे line-by-line पढ़कर चलाता है। इसलिए गलती उसी line पर तुरंत पता चल जाती है।

List और tuple में क्या फ़र्क है?

List [ ] में बनती है और बदली जा सकती है; tuple ( ) में बनता है और बदला नहीं जा सकता। जो data नहीं बदलना चाहिए, वो tuple में रखते हैं।

Python में indentation क्यों ज़रूरी है?

Python में { } नहीं होते — कौन-सी line if या loop के अंदर है, ये indentation से तय होता है। गलत indentation पर IndentationError आती है।

== और is में क्या फ़र्क है?

== देखता है कि मान बराबर है या नहीं; is देखता है कि दोनों एक ही object हैं या नहीं।

Python के कुछ उपयोग बताइए।

Website (Django/Flask), data analysis (Pandas), AI/ML, automation script, IoT और game — इसलिए नौकरी में Python की माँग ज़्यादा है।

Exception handling क्या है?

try में वो code जिसमें error आ सकती है, except में error आने पर क्या करना है, finally में जो हर हाल में चले। इससे program बीच में crash नहीं होता।

Python Online Test से जुड़े ज़रूरी सवाल

क्या ये Python online test free है?

हाँ — ऊपर का पुराना test और ये तीनों नए sets free हैं, नए sets में login नहीं चाहिए।

Python mock test O Level M3-R5 के लिए काम का है?

हाँ, Set 1 और Set 3 के ज़्यादातर सवाल M3-R5 के syllabus से हैं। पूरे module के अभ्यास के लिए O Level M3 के अलग practice sets भी देखिए।

Python code वाले सवालों की तैयारी कैसे करें?

हर सवाल का code IDLE में ख़ुद चलाकर देखिए — output याद करने से ज़्यादा ये समझिए कि ऐसा क्यों आया।

O Level के लिए O Level Python MCQ (M3-R5), interview के लिए Python Interview Questions, course की जानकारी Python Course in Varanasi और web के लिए HTML CSS Online Test।

People Also Ask (PAA) – अक्सर पूछे जाने वाले सवाल

क्या Python टेस्ट सीरीज़ फ्री है?

हाँ, VedantSri की बेसिक टेस्ट सीरीज़ पूरी तरह फ्री है। अगर आप एडवांस टेस्ट और सर्टिफिकेट चाहते हैं, तो उसके लिए बहुत कम फीस है। लेकिन शुरुआत करने के लिए आपको कोई पैसा नहीं देना पड़ता।

क्या मैं मोबाइल पर टेस्ट दे सकता हूँ?

बिल्कुल। हमारी टेस्ट सीरीज़ मोबाइल, टैबलेट, और लैपटॉप — हर डिवाइस पर आसानी से चलती है। आपको कोई ऐप डाउनलोड करने की ज़रूरत नहीं है। बस ब्राउज़र खोलिए, और टेस्ट शुरू कर दीजिए।

टेस्ट में कितने सवाल होते हैं?

हर टेस्ट में 30 से 50 सवाल होते हैं। बेसिक लेवल पर 30, इंटरमीडिएट पर 40, और एडवांस लेवल पर 50 सवाल। हर सवाल का एक सही जवाब होता है, और हर जवाब के साथ छोटा explanation भी मिलता है।

क्या टेस्ट के बाद सर्टिफिकेट मिलता है?

अगर आप लगातार तीन टेस्ट में 90% से ऊपर स्कोर करते हैं, तो आपको VedantSri का डिजिटल सर्टिफिकेट मिलता है। यह सर्टिफिकेट आप अपने रिज़्यूमे में दिखा सकते हैं, और इंटरव्यू में भी काम आता है।

क्या यह टेस्ट सीरीज़ हिंदी में भी है?

हाँ। हर सवाल हिंदी और इंग्लिश दोनों में है। अगर आपको इंग्लिश में समझने में दिक्कत होती है, तो आप हिंदी में पढ़ सकते हैं। और अगर आप इंग्लिश प्रैक्टिस करना चाहते हैं, तो इंग्लिश में पढ़ सकते हैं।

Python Basic Online Test Series Pradip VedantSri
Python Basic Online Test Series Pradip VedantSri

Python Test Series देने के बाद क्या करें?

टेस्ट देने के बाद सबसे ज़रूरी है — प्रैक्टिस। सिर्फ़ टेस्ट देकर छोड़ मत दीजिए। जो सवाल गलत हुए, उन्हें फिर से कीजिए। हमारी वेबसाइट पर हर टॉपिक के अलग-अलग टेस्ट हैं — जैसे “Python Loops Test”, “Python Functions Test”, “Python Dictionary Test”. आप अपनी कमज़ोरी पहचानिए, और उसी टॉपिक का टेस्ट बार-बार दीजिए।

अगर आप Python में करियर बनाना चाहते हैं, तो सिर्फ़ टेस्ट काफ़ी नहीं है। आपको असली प्रोजेक्ट भी बनाने पड़ेंगे। हमारी Course Store Website पर आपको Python, डेटा साइंस, और वेब डेवलपमेंट के पूरे कोर्स मिल जाएँगे — जिनमें आपको असली प्रोजेक्ट बनाना सिखाया जाता है। और अगर आपको नौकरी ढूँढनी है, तो हमारी Jobs Assist Website पर रोज़ नई Python और डेटा साइंस की नौकरियाँ अपडेट होती रहती हैं।

VedantSri के और भी फ्री कोर्स

अगर आप कंप्यूटर की दुनिया में नए हैं, तो आपको सिर्फ़ Python ही नहीं, बल्कि MS Word, Excel, और CorelDraw भी सीखना चाहिए। यही चीज़ें आपको बाकी लोगों से अलग बनाती हैं। VedantSri पर आपको ये सब फ्री में सीखने का मौका मिलता है।

  • MS Word Class — अगर आप ऑफिस के काम के लिए Word सीखना चाहते हैं, तो यहाँ से शुरू कीजिए।
  • Corel Free Class — ग्राफिक डिज़ाइनिंग सीखने के लिए CorelDraw सबसे अच्छा टूल है। यहाँ फ्री में सीख सकते हैं।
  • Free Excel Class — Excel आज हर नौकरी में ज़रूरी है। यहाँ बेसिक से लेकर एडवांस तक सब मिलेगा।

आखिरी बात

Python सीखना कोई जादू नहीं है। यह सिर्फ़ धैर्य और प्रैक्टिस की बात है। जो लोग रोज़ थोड़ा-थोड़ा टेस्ट देते हैं, वो कुछ महीनों में ही इंटरव्यू क्रैक कर लेते हैं। और जो लोग सिर्फ़ वीडियो देखते रह जाते हैं, वो सालों तक वहीं रुके रहते हैं। आपको तय करना है — आप किस रास्ते पर चलना चाहते हैं।

अगर आप आज से शुरू करते हैं, तो 2026 के अंत तक आप एक अच्छे Python डेवलपर बन सकते हैं। VedantSri आपके साथ है। टेस्ट दीजिए, गलतियाँ कीजिए, सीखिए, और आगे बढ़िए।


Important Links:

  1. VedantSri Official Website: https://vedantsri.com
  2. Course Store Website: https://vedantsri.in
  3. Jobs Assist Website: https://www.jobdo.in
  4. MS Word Class: https://mswordclass.com/
  5. Corel Free Class: https://corelclass.com/
  6. Free Excel Class: https://msexcelclass.com/

📍 Varanasi में Python / Coding / Web Design सीखना है?
VedantSri Computer Institute — Durgakund और Rathyatra ब्रांच · लैब में रोज़ प्रैक्टिस · हिंदी/English

Python के तीनों level के online test

Basic — आप यहाँ हैंIntermediate test →Advance test →

Python पूरा सीखना है? VedantSri Varanasi की अपनी नज़दीकी branch पर कॉल कीजिए:

📞 Durgakund 8808888478📞 Rathyatra 9415802061

Python Questions with Answers

Python Questions with Answers – Set 4

  1. What is the output of len("Hello World")?
    Answer: 11
  2. Which method is used to remove an item from the end of a list?
    Answer: pop()
  3. How do you handle exceptions in Python?
    Answer: try...except
  4. What is the purpose of the 'lambda' keyword?
    Answer: Creates an anonymous function
  5. What is the purpose of '__init__' in Python?
    Answer: Constructor
  6. Which module is used for regular expressions in Python?
    Answer: re
  7. What is a list comprehension?
    Answer: Concise way to create lists
  8. Which keyword is used to import a specific function from a module?
    Answer: from
  9. What does the 'range()' function return?
    Answer: A sequence of numbers
  10. Which method is used to join a list of strings into a single string?
    Answer: join()

Python Questions with Answers – Set 5

  1. What is the output of print(3 * 'abc')?
    Answer: abcabcabc
  2. Which of the following is used to create a virtual environment in Python?
    Answer: venv
  3. What is the purpose of the 'pass' statement?
    Answer: It does nothing and is used as a placeholder
  4. Which method is used to read a file line by line in Python?
    Answer: readline()
  5. What is the output of print(10 / 3) in Python 3?
    Answer: 3.3333333333333335
  6. Which of the following is a valid way to create a tuple?
    Answer: (1, 2, 3)
  7. What is the purpose of the 'finally' block in exception handling?
    Answer: It always executes regardless of an exception
  8. Which module is used to work with JSON data in Python?
    Answer: json
  9. What is the output of print(list(range(3)))?
    Answer: [0, 1, 2]
  10. Which of the following is used to define a multiline string in Python?
    Answer: Triple quotes (''' or """)

Python Questions with Answers – Set 7

  1. What is the output of print(1 < 2 < 3)?
    Answer: True
  2. Which method is used to check if a string starts with a specific substring?
    Answer: startswith()
  3. Which of the following is used to concatenate two lists in Python?
    Answer: + operator
  4. What is the purpose of the 'assert' statement?
    Answer: To check if a condition is true and raise an error if not
  5. What is the output of print(10 // 3, 10 % 3)?
    Answer: 3 1
  6. Which of the following is used to create a shallow copy of a list?
    Answer: copy()
  7. What is the purpose of the '__str__' method?
    Answer: To return a string representation of an object
  8. Which data structure uses key-value pairs?
    Answer: Dictionary

Python Questions with Answers – Set 9

  1. What is the output of print(0.1 + 0.2 == 0.3)?
    Answer: False
  2. Which of the following is a Python testing framework?
    Answer: unittest
  3. What is the purpose of the '__name__' variable?
    Answer: To check if a script is run directly or imported
  4. Which of the following is used to handle multiple exceptions in a single block?
    Answer: except (Exception1, Exception2):
  5. What is the output of print("abc".find("b"))?
    Answer: 1
  6. Which of the following is used to create a thread in Python?
    Answer: threading module
  7. What is the purpose of the 'sys' module?
    Answer: To interact with the Python interpreter
  8. What is the output of print(3 * [1, 2])?
    Answer: [1, 2, 1, 2, 1, 2]
  9. Which of the following is used to create a database connection in Python?
    Answer: sqlite3
  10. What is the output of print(10 > 5 and 5 < 3)?
    Answer: False

Python Questions with Answers – Set 11

  1. What is the purpose of the 'super' function?
    Answer: To call a method from a parent class
  2. What is the output of print(list(range(1, 5, 2)))?
    Answer: [1, 3]
  3. Which of the following is used to create a database table in SQLite?
    Answer: CREATE TABLE
  4. Which of the following is used to create a GUI in Python?
    Answer: tkinter
  5. Which of the following is used to create a regex pattern?
    Answer: re.compile()
  6. What is the output of print("abc" * 2)?
    Answer: abcabc
  7. Which of the following is used to create a datetime object?
    Answer: datetime.datetime()
  8. What is the output of print(3 in [1, 2, 3])?
    Answer: True
  9. Which of the following is used to create a thread pool in Python?
    Answer: concurrent.futures
  10. What is the output of print(list(zip([1, 2], ['a', 'b'])))?
    Answer: [(1, 'a'), (2, 'b')]
Share करें: Facebook X
📞

Download This Course Syllabus in PDF

📄 Free PDF · Email + WhatsApp पर

🔒 आपका नंबर सिर्फ़ VedantSri के पास रहता है — कहीं साझा नहीं होता।