July 2025 ka O Level M3-R5 exam un logon ke liye important tha jo Module 1 pe focus kar rahe hain. Is post mein aapko milega pura solved paper, jisme 100 MCQs ke Hindi-English solutions diye gaye hain. Har question ka correct answer explain kiya gaya hai simple language mein. Yeh post un sabhi students ke liye hai jo previous papers se practice karte hain. Solved paper ke questions ko go through karo aur dekho kya aapka concept clear hai.

M3-R5 July 2025 O Level Previous Paper Question Answers
Q. 1. निम्नलिखित कोड का आउटपुट क्या होगा?
What will be the output of the following code?
M = [‘b’ * x for x in range(4)]
print(M)
(A) [‘b’, ‘bb’, ‘bbb’]
(B) [‘b’, ‘bb’, ‘bbb’, ‘bbbb’]
(C) [‘, ‘b’, ‘bb’, ‘bbb’]
(D) None of these / उपरोक्त में से कोई नहीं
Correct Answer: (B) [‘b’, ‘bb’, ‘bbb’, ‘bbbb’]
Q. 2. निम्न कोड का आउटपुट क्या होगा?
What will be the output of the following statements?
x = [‘Today’, ‘Tomorrow’, ‘Yesterday’]
y = x[1]
print(y)
(A) x1
(B) Yesterday / कल
(C) Tomorrow / कल
(D) Today / आज
Correct Answer: (C) Tomorrow / कल
Q. 3. निम्न कोड का आउटपुट क्या होगा?
What will be the output of the following code?
x = [25, 35, 45]
y = x[0]
print(y)
(A) 45
(B) 35
(C) x0
(D) 25
Correct Answer: (D) 25
Q. 4. निम्न कोड का आउटपुट क्या होगा?
What will be the output of the following code?
x = [10, 20, 30]
y = x[1] + x[2]
print(y)
(A) 20
(B) 30
(C) 50
(D) 40
Correct Answer: (C) 50
Q. 5. निम्न कोड का आउटपुट क्या होगा?
What will be the output of the following statements?
x = [[0.0, 1.0, 2.0], [4.0, 5.0, 6.0]]
y = x[1][2]
print(y)
(A) 1.0
(B) 0.0
(C) 5.0
(D) 6.0
Correct Answer: (D) 6.0
Q. 6. निम्न कोड का आउटपुट क्या होगा?
What will be the output of the following code?
x = [[0.0, 1.0, 2.0], [4.0, 5.0, 6.0]]
y = x[0][1] + x[1][0]
print(y)
(A) 4.0
(B) 1.0
(C) 6.0
(D) 5.0
Correct Answer: (D) 5.0
Q. 7. निम्न कोड का आउटपुट क्या होगा?
What will be the output of the following code?
x = [‘Sunday’, ‘Monday’, ‘Tuesday’]
y = x[1] + x[2]
print(y)
(A) Sun Monday
(B) Monday Tuesday
(C) Sunday Monday
(D) MondayTuesday
Correct Answer: (D) MondayTuesday
Q. 8. निम्नलिखित का आउटपुट क्या होगा?
What is the output of the following?
print(max([1, 2, 3, 4], [4, 5, 6], [7]))
(A) [7]
(B) [4, 5, 6]
(C) [1, 2, 3, 4]
(D) 7
Correct Answer: (A) [7]
Q. 9. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = {0:4, 1:8, 2:16, 3:32}
print(x.keys())
(A) dict_keys{0, 1, 2, 3}
(B) dict_keys(0, 1, 2, 3)
(C) dict_keys([0, 1, 2, 3])
(D) dict_keys[0, 1, 2, 3]
Correct Answer: (C) dict_keys([0, 1, 2, 3])
Q. 10. निम्नलिखित कोड का परिणाम क्या होगा?
What will be the output of the following code?
a = set(‘abc’)
b = set(‘cdef’)
print(a & b)
(A) None of these
(B) {‘c’}
(C) {c}
(D) {‘a’,’b’,’c’,’d’,’e’,’f’}
Correct Answer: (B) {‘c’}
Q. 11. निम्नलिखित में से कौन सी एरर तब आती है जब हम किसी फाइल को राइट मोड में खोलने का प्रयास करते हैं जो मौजूद नहीं है?
Which of the following error is returned when we try to open a file in write mode which does not exist?
(A) File Not Exist Error
(B) None of the above
(C) File Found Error
(D) File Not Found Error
Correct Answer: (D) File Not Found Error
Q. 12. निम्नलिखित का आउटपुट क्या होगा?
What will be the output of the following?
print(sum(1,2,3))
(A) 1
(B) Error
(C) 3
(D) 6
Correct Answer: (B) Error
(Note: sum() takes an iterable, not individual arguments.)
Q. 13. निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
What will be the output of the following Python code?
example = “helle”
example.rfind(“e”)
(A) 4
(B) 5
(C) 2
(D) 1
Correct Answer: (A) 4
Q. 14. निम्नलिखित में से कौन सा शब्द Python भाषा का कीवर्ड नहीं है?
Which of the following words is not a keyword of python language?
(A) with
(B) try
(C) val
(D) raise
Correct Answer: (C) val
Q. 15. एक स्ट्रिंग x = “hello” को देखते हुए x.count (‘I’) का आउटपुट क्या होगा?
Given a string x = “hello”, What is the output of x.count(‘I’)?
(A) 2
(B) 0
(C) 1
(D) None
Correct Answer: (B) 0
(Note: Case-sensitive, ‘I’ is not present.)
Q. 16. निम्नलिखित स्यूडो कोड का आउटपुट क्या होगा?
What will be the output of the following pseudo code?
Integer a, b
Set a = 10, b = 5
a = a mod (a – 6)
b = b mod (b – 2)
Print a – b
(A) 4
(B) 1
(C) 0
(D) 8
Correct Answer: (C) 0
Q. 17. निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
What will be the output of the following Python code?
from math import *
floor(11.7)
(A) 12
(B) None of these
(C) 11
(D) 11.
Correct Answer: (C) 11
Q. 18. निम्नलिखित पायथन कोड का मूल्य क्या है?
What is the value of the following Python code?
print(36 / 4)
(A) 4.0
(B) 4
(C) 9
(D) 9.0
Correct Answer: (D) 9.0
Q. 19. निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
What will be the output of the following Python code?
list1 = [1, 3]
list2 = list1
list1[0] = 4
print(list2)
(A) [1, 4]
(B) [1, 3, 4]
(C) [4, 3]
(D) [1, 3]
Correct Answer: (C) [4, 3]
Q. 20. पाइथन ________ नमक एक कंस्ट्रक का उपयोग करते हुए, टाइम पर अनाम कार्यो के निर्माण को स्पोर्ट करता है।
Python supports the creation of anonymous functions at runtime, using a construct called ________
(A) pi
(B) anonymous
(C) lambda
(D) none of the above
Correct Answer: (C) lambda
Q. 21. निम्नलिखित कोड का परिणाम क्या है ?
What is the output of the following code?
import numpy as np
a = np.array([1,2,3])
print(a.ndim)
(A) 1
(B) 0
(C) 2
(D) 3
Correct Answer: (A) 1
Q. 22. निम्नलिखित पायथन कोड का आउटपुट क्या है?
What is the output of following Python code?
print(5 * (2 // 3))
(A) Error
(B) 0
(C) 3
(D) 3.3
Correct Answer: (B) 0
Q. 23. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = {0:4, 1:8, 2:16, 3:32}
print(x.items())
(A) dict_items([(0, 4), (1, 8), (2, 16), (3, 32)])
(B) dict_items([4, 8, 16, 32])
(C) dict_items(4, 8, 16, 32)
(D) dict_items[0, 1, 2, 3]
Correct Answer: (A) dict_items([(0, 4), (1, 8), (2, 16), (3, 32)])
Q. 24. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = {1:’Jan’, 2:’Feb’, 3:’March’, 4:’April’}
print(x[2])
(A) March
(B) April
(C) Feb
(D) Jan
Correct Answer: (C) Feb
Q. 25. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = {5:4, 8:8, 3:16, 9:32}
print(sorted(x.items()))
(A) [(3, 16), (5, 4), (8, 8), (9, 32)]
(B) [(4, 5), (8, 8), (16, 3), (32, 9)]
(C) [4, 8, 16, 32]
(D) [3, 5, 8, 9]
Correct Answer: (A) [(3, 16), (5, 4), (8, 8), (9, 32)]
Q. 26. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = 50
if x > 10 and x < 15:
print(‘true’)
elif x > 15 and x < 25:
print(‘not true’)
elif x > 25 and x < 35:
print(‘false’)
else:
print(‘not false’)
(A) not true
(B) not false
(C) false
(D) true
Correct Answer: (B) not false
Q. 27. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = {0:4, 1:8, 2:16, 3:32}
print(x.values())
(A) dict_values{4, 8, 16, 32}
(B) dict_values([4, 8, 16, 32])
(C) dict_values(4, 8, 16, 32)
(D) dict_values[4, 8, 16, 32]
Correct Answer: (B) dict_values([4, 8, 16, 32])
Q. 28. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = 1
while x < 10:
print(x, end=”)
x = x + 1
(A) 123456789
(B) 10
(C) 1
(D) 2
Correct Answer: (A) 123456789
Q. 29. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = 15
if x > 15:
print(0)
elif x == 15:
print(1)
else:
print(2)
(A) 15
(B) 2
(C) 0
(D) 1
Correct Answer: (D) 1
Q. 30. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = 5
if x > 15:
print(‘yes’)
elif x == 15:
print(‘equal’)
else:
print(‘no’)
(A) no
(B) equal
(C) yes
(D) 15
Correct Answer: (A) no
Q. 31. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = 1
y = 4
while x * y < 10:
print(y, end=”)
y += 1
(A) 456789
(B) 012345
(C) 123456789
(D) 0123456789
Correct Answer: (A) 456789
Q. 32. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = 0
y = 4
while x + y < 10:
print(x, end=”)
x += 1
(A) 048
(B) 012345
(C) 4123456789
(D) 0123456789
Correct Answer: (B) 012345
Q. 33. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = 0
y = 4
while x + y < 10:
x += 1
print(x, end=”)
(A) 0123456
(B) 123456
(C) 012345
(D) 0123456
Correct Answer: (B) 123456
Q. 34. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = 1
y = 4
while x * y < 10:
print(y, end=”)
x += 1
y += 1
(A) 48
(B) 4
(C) 148
(D) 0123456789
Correct Answer: (A) 48
Q. 35. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = {0:4, 1:8, 2:16, 3:32}
print(list(x.values())[2])
(A) 16
(B) [4, 8]
(C) [4, 8, 16]
(D) 8
Correct Answer: (A) 16
Q. 36. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = 0
while x < 10:
print(x, end=”)
x += 4
(A) 048
(B) 4123456789
(C) 0123456789
(D) 123456789
Correct Answer: (A) 048
Q. 37. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
for i in range(1,25,5):
print(i, end=’ ‘)
(A) 1 6 11 16 21
(B) 1 5 25
(C) 1 5 10 15 20 25
(D) 16111621
Correct Answer: (A) 1 6 11 16 21
Q. 38. निम्नलिखित कोड का आउटपुट क्या होगा?
What will be the output of the following code?
x = [‘P’, ‘y’, ‘t’, ‘h’, ‘o’, ‘n’]
for i in x:
print(i, end=””)
(A) Python
(B) P
(C) Pytho
(D) python
Correct Answer: (A) Python
Q. 39. निम्न कोड का आउटपुट क्या होगा?
What will be the output of the following code?
x = (‘a’, ‘b’, ‘c’, ‘d’)
for i in x:
print(i, end=”)
(A) a b c d
(B) abcd
(C) False
(D) True
Correct Answer: (B) abcd
Q. 40. निम्न कोड का आउटपुट क्या होगा?
What will be the output of the following code?
x = {‘x’, ‘z’, ‘y’}
for i in x:
print(i, end=””)
(A) xzy
(B) False
(C) True
(D) x zy
Correct Answer: (A) xzy
Q. 41. निम्न कोड का आउटपुट क्या होगा?
What will be the output of the following code?
x = {‘z:1’, ‘y:2’, ‘x:3’}
for i in x:
print(i, end=”)
(A) x:3 y:2 z:1
(B) x y z
(C) 123
(D) True
Correct Answer: (A) x:3 y:2 z:1
Q. 42. निम्न कोड का आउटपुट क्या होगा?
What will be the output of the following code?
x = [‘P’, ‘y’, ‘t’, ‘h’, ‘o’, ‘n’]
for i in enumerate(x):
print(i, end=””)
(A) (‘P’)(‘y’)(‘t’)(‘h’)(‘0’)(‘n’)
(B) python
(C) (0, ‘P’)(1, ‘y’)(2, ‘t’)(3, ‘h’)(4, ‘o’)(5, ‘n’)
(D) python
Correct Answer: (C) (0, ‘P’)(1, ‘y’)(2, ‘t’)(3, ‘h’)(4, ‘o’)(5, ‘n’)
Q. 43. निम्न कोड का आउटपुट क्या होगा?
What will be the output of the following code?
x = [‘p’, ‘y’, ‘t’, ‘h’, ‘o’, ‘n’]
y = [‘0’, ‘1’, ‘2’, ‘3’, ‘4’, ‘5’]
for i in zip(x, y):
print(i, end=””)
(A) (‘P’)(‘y’)(‘t’)(‘h’)(‘0’)(‘n’)
(B) python 0 12345
(C) (‘p’, ‘0’)(‘y’, ‘1’)(‘t’, ‘2’)(‘h’, ‘3’)(‘o’, ‘4’)(‘n’, ‘5’)
(D) (0, ‘P’)(1, ‘y’)(2, ‘t’)(3, ‘h’)(4, ‘0’)(5, ‘n’)
Correct Answer: (C) (‘p’, ‘0’)(‘y’, ‘1’)(‘t’, ‘2’)(‘h’, ‘3’)(‘o’, ‘4’)(‘n’, ‘5’)
Q. 44. निम्न कोड का आउटपुट क्या होगा?
What will be the output of the following code?
for i in range(1, 5):
print(i, end=””)
if i == 3:
break
(A) 1234
(B) 123
(C) 12345
(D) 12
Correct Answer: (B) 123
Q. 45. निम्न कोड का आउटपुट क्या होगा?
What will be the output of the following code?
for i in range(0, 5):
if i == 2:
break
print(i, end=””)
(A) 01
(B) 012
(C) 12
(D) 0123
Correct Answer: (A) 01
Q. 46. निम्न कोड का आउटपुट क्या होगा?
What will be the output of the following code?
for i in range(1, 5):
if i == 3:
continue
print(i, end=”)
(A) 124
(B) 12
(C) 1 2 3 4
(D) 1 2 3
Correct Answer: (A) 124
Q. 47. निम्न कोड का आउटपुट क्या होगा?
What will be the output of the following code?
for i in range(0, 5):
print(i, end=””)
if i == 2:
continue
(A) 1345
(B) 0124
(C) 01234
(D) 12
Correct Answer: (C) 01234
Q. 48. निम्न कोड का आउटपुट क्या होगा?
What will be the output of the following code?
myvar = 5
def printvar():
print(myvar)
printvar()
(A) 01245
(B) 12345
(C) 5
(D) 1234
Correct Answer: (C) 5
Q. 49. निम्न कोड का आउटपुट क्या होगा?
What will be the output of the following code?
def call(var1=20, var2=5, var3=2):
print(var1 * var2 * var3, end=””)
call()
(A) 200
(B) 1000
(C) 100
(D) 2052
Correct Answer: (A) 200
Q. 50. निम्न कोड का आउटपुट क्या होगा?
What will be the output of the following code?
def call(var1=20, var2=5, var3=2):
print(var1 * var2 * var3, end=””)
call(5, 9, 7)
(A) 2052
(B) 597
(C) 200
(D) 315
Correct Answer: (D) 315
Q. 51. निम्न कोड का आउटपुट क्या होगा?
What will be the output of the following code?
def call(var1=20, var2=5, var3=2):
print(var1 * var2 * var3, end=””)
call(5, 7)
(A) 200
(B) 70
(C) 57
(D) 315
Correct Answer: (B) 70
Q. 52. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = ‘Python’
y = ‘MCQ’
print(x + y)
(A) PythonMCQ
(B) Python Python
(C) MCq MCQ
(D) Python MCQ
Correct Answer: (A) PythonMCQ
Q. 53. पायथन के इंटरेक्टिव हेल्प मोड में प्रवेश करने के लिए आप क्या टाइप करते हैं?
What do you type to enter the interactive help mode of Python?
(A) help()
(B) HELP
(C) help
(D) save
Correct Answer: (A) help()
Q. 54. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
y = lambda x: x*4
print(y(6))
(A) 24
(B) 36
(C) 6: 24
(D) 24.0
Correct Answer: (A) 24
Q. 55. निम्नलिखित कथन क्या करते हैं?
What does the following statements do?
from datetime import *
print(getattr(datetime.today(),’hour’))
(A) Displays current hour of the day
(B) Displays current date and time
(C) Displays a list of all the hours remaining till midnight
(D) Displays the number of hours in a day
Correct Answer: (A) Displays current hour of the day
Q. 56. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
import math
print(math.sqrt(4))
(A) 2.1
(B) 2
(C) 2.0
(D) 4.0
Correct Answer: (C) 2.0
Q. 57. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
import math
print(math.ceil(21.4))
(A) 22
(B) 22.0
(C) 21
(D) 21.0
Correct Answer: (A) 22
Q. 58. निम्नलिखित कथन क्या करते हैं?
What does the following statements do?
from datetime import *
print(datetime.today().strftime(“%B”))
(A) Displays the full weekday name
(B) Displays the full month name
(C) Displays the abbreviated day name
(D) Displays the abbreviated month name
Correct Answer: (B) Displays the full month name
Q. 59. निम्नलिखित कथन क्या करते हैं?
What does the following statements do?
import datetime
print(datetime.datetime.today())
(A) Displays a list of all the hours remaining till midnight
(B) Displays a random time from today’s date
(C) Displays current date and time
(D) Displays today’s weekday name
Correct Answer: (C) Displays current date and time
Q. 60. निम्नलिखित कथन क्या करते हैं?
What does the following statements do?
from datetime import *
print(datetime.today().strftime(“%d”))
(A) Displays the day of the month number (from 01 to 31)
(B) Displays the hour number of 12-hour clock
(C) Displays the date and time appropriate for locale
(D) Displays the microsecond number (from 0 to 999999)
Correct Answer: (A) Displays the day of the month number (from 01 to 31)
Q. 61. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = 27
if x < 25:
print(x)
else:
pass
(A) No output
(B) 25
(C) 27
(D) None
Correct Answer: (A) No output
Q. 62. निम्नलिखित कथन क्या करते हैं?
What does the following statements do?
from datetime import *
print(getattr(datetime.today(),’year’))
(A) Displays current date and year
(B) Displays the number of days in a year
(C) Displays the number of months in a year
(D) Displays current year
Correct Answer: (D) Displays current year
Q. 63. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
import math
print(math.floor(67.3))
(A) 67
(B) 67.0
(C) 68.0
(D) 68
Correct Answer: (A) 67
Q. 64. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
import math
print(math.pow(3,2))
(A) 6.0
(B) 9
(C) 6
(D) 9.0
Correct Answer: (D) 9.0
Q. 65. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = ‘Python’
print(x[4])
(A) h
(B) O
(C) t
(D) Python Python Python Python
Correct Answer: (A) h
Q. 66. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = ‘Python’
print(‘y’ in x)
(A) y
(B) Python
(C) True
(D) Y
Correct Answer: (C) True
Q. 67. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x=’%s MCQ %s’ %(‘Python’, ‘Test’)
print(x)
(A) Python MCQ
(B) Test MCQ Python
(C) Python MCQ Test
(D) MCQ Test
Correct Answer: (C) Python MCQ Test
Q. 68. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = ‘Python’
print(x[:])
(A) yth
(B) Python
(C) PythonPythonPython
(D) Pn
Correct Answer: (B) Python
Q. 69. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = ‘{} 3 {}’.format(‘Python’, ‘Test’)
print(x)
(A) Test 3 Python
(B) Python 3 Test
(C) Python Test
(D) Test Python
Correct Answer: (B) Python 3 Test
Q. 70. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = ‘Python’
print(‘p’ not in x)
(A) P
(B) True
(C) p
(D) False
Correct Answer: (B) True
Q. 71. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
‘{1} for {0}’.format(‘Python’, ‘Questions’)
print(x)
(A) Python for Questions
(B) Questions for Python
(C) 1 for 0
(D) Python 1 for 0 Questions
Correct Answer: (B) Questions for Python
Q. 72. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = ‘Python’
print(x[2:4])
(A) thon
(B) Pyth
(C) tho
(D) th
Correct Answer: (D) th
Q. 73. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = ‘Python’
print(x*3)
(A) PythonPythonPython
(B) t
(C) Pyt Pyt Pyt
(D) Python Python Python
Correct Answer: (A) PythonPythonPython
Q. 74. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = ‘Python %d Version’ %(3)
print(x)
(A) Python Version 3
(B) Python 3 Version
(C) Python 3
(D) 3 Version
Correct Answer: (B) Python 3 Version
Q. 75. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = ‘Python %c or Python %c’ %(‘2’, ‘3’)
print(x)
(A) Python 3 or Python 2
(B) Python 2 or Python 3
(C) Python 2 or Python 2
(D) Python 23
Correct Answer: (B) Python 2 or Python 3
Q. 76. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = ‘Python %.1f or Python %.2f’ %(2.7, 3.51)
print(x)
(A) Python 3.51 or Python 2.7
(B) Python 2.7 or Python 3.51
(C) Python 2 or Python 3
(D) Python 2.7 or Python 3.5
Correct Answer: (B) Python 2.7 or Python 3.51
Q. 77. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = ‘Python’
print(x.capitalize())
(A) Python.capitalize
(B) Python
(C) Python
(D) PYTHON
Correct Answer: (B) Python
Q. 78. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = ‘python job interview’
print(x.title())
(A) python job interview
(B) Python Job Interview
(C) Python job interview
(D) Python job Interview
Correct Answer: (B) Python Job Interview
Q. 79. निम्नलिखित कथनों का आउटपुट क्या होगा ?
What will be the output of the following statements?
x = ‘python jobs’
print(x.upper())
(A) Python Jobs
(B) python jobs
(C) PYTHON JOBS
(D) Python jobs
Correct Answer: (C) PYTHON JOBS
Q. 80. निम्नलिखित कथनों का आउटपुट क्या होगा ?
What will be the output of the following statements?
x = ‘python jobs’
print(x.lower())
(A) Python Jobs
(B) python jobs
(C) PYTHON JOBS
(D) Python jobs
Correct Answer: (B) python jobs
Q. 81. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = ‘Python Jobs’
print(x.swapcase())
(A) Python Jobs
(B) python jobs
(C) PYTHON JOBS
(D) pYTHON jOBS
Correct Answer: (D) pYTHON jOBS
Q. 82. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = ‘Python’
print(x.join(’33’))
(A) 3Python3
(B) Python33
(C) Python 33
(D) Python3
Correct Answer: (A) 3Python3
Q. 83. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = ‘Python Test’
print(x.join(’33’))
(A) 3Python Test3
(B) 3Python3Test
(C) Python3Test3
(D) Python Test33
Correct Answer: (A) 3Python Test3
Q. 84. What will be the output of the following statements?
x = ‘Python’
y = ‘3’
print(x.Istrip()+y.Istrip())
(A) Python3
(B) Python+3
(C) Python 3
(D) (Error)
Correct Answer: (D) (Error)
Q. 85. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = ‘Python’
y = ‘3’
print(x.rstrip()+y.rstrip())
(A) Python 3
(B) Python+3
(C) Python3
(D) 3Python3
Correct Answer: (C) Python3
Q. 86. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = open(‘python.csv’, ‘w’)
print(x.mode)
(A) r
(B) python.txt
(C) python write
(D) w
Correct Answer: (D) w
Q. 87. निम्नलिखित कथन क्या करता है?
What does the following statement do?
x = open(‘python.bat’, ‘wb’)
(A) Opens or creates a binary file named python.bat to write / लिखने के लिए python.bat नाम की बाइनरी फ़ाइल खोलता या बनाता है
(B) Opens or creates a binary file named python.bat to read / पढ़ने के लिए Python.bat नाम की बाइनरी फ़ाइल खोलता या बनाता है।
(C) Opens or creates a binary file named python.bat to append / संलग्न करने के लिए python.bat नामक एक बाइनरी फ़ाइल खोलता है या बनाता है
(D) Opens a new file named python.bat to write / लिखने के लिए python.bat नाम की एक नई फ़ाइल खोलता है
Correct Answer: (A) Opens or creates a binary file named python.bat to write / लिखने के लिए python.bat नाम की बाइनरी फ़ाइल खोलता या बनाता है
Q. 88. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = ‘MCQs’
print(x.center(10,”*”))
(A) MCQs
(B) MCQs******
(C) ******MCQs
(D) M C Q s
**Correct Answer: (A) MCQs **
Q. 89. निम्नलिखित कथन क्या करता है?
What does the following statement do?
x = open(‘python.csv’, ‘r’)
(A) Opens an existing text file named python.csv to read / पढ़ने के लिए python.csv नाम की एक मौजूदा टेक्स्ट फ़ाइल खोलता है
(B) Opens an existing text file named python.csv to append / संलग्न करने के लिए python.csv नामक एक मौजूदा टेक्स्ट फ़ाइल खोलता है
(C) Opens a new file named python.csv to read / पढ़ने के लिए python.csv नाम की एक नई फ़ाइल खोलता है
(D) Opens an existing text file named python.csv to write / लिखने के लिए python.csv नाम की एक मौजूदा टेक्स्ट फ़ाइल खोलता है
Correct Answer: (A) Opens an existing text file named python.csv to read / पढ़ने के लिए python.csv नाम की एक मौजूदा टेक्स्ट फ़ाइल खोलता है
Q. 90. निम्नलिखित कथन क्या करता है?
What does the following statement do?
x = open (‘python.txt’, ‘w+’)
(A) Opens a new file named python.txt to append / जोड़ने के लिए python.txt नाम की एक नई फ़ाइल खोलता है
(B) Opens a text file named python.txt to write to or read from / से लिखने या पढ़ने के लिए python.txt नाम की एक टेक्स्ट फ़ाइल खोलता है
(C) Opens a text file named python.txt to write / लिखने के लिए python.txt नाम की टेक्स्ट फ़ाइल खोलता है
(D) Opens a text file named python.txt to read / पढ़ने के लिए python.txt नाम की टेक्स्ट फ़ाइल खोलता है
Correct Answer: (B) Opens a text file named python.txt to write to or read from / से लिखने या पढ़ने के लिए python.txt नाम की एक टेक्स्ट फ़ाइल खोलता है
Q. 91. निम्नलिखित कथन क्या करता है?
What does the following statement do?
x = open (‘python.csv’, ‘a’)
(A) Opens or creates a text file named python.csv to write / लिखने के लिए Python.csv नाम की टेक्स्ट फ़ाइल खोलता या बनाता है
(B) Opens or creates a text file named python.csv to append / संलग्न करने के लिए python.csv नामक टेक्स्ट फ़ाइल खोलता या बनाता है
(C) Opens or creates a text file named python.csv to read / पढ़ने के लिए python.csv नाम की टेक्स्ट फ़ाइल खोलता या बनाता है।
(D) Opens a new file named python.csv to append / जोड़ने के लिए python.c नाम की एक नई फ़ाइल खोलता है।
Correct Answer: (B) Opens or creates a text file named python.csv to append / संलग्न करने के लिए python.csv नामक टेक्स्ट फ़ाइल खोलता या बनाता है
Q. 92. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = open(‘python.txt’, ‘r’)
print(x.name)
(A) python r
(B) python.txt opened
(C) python.txt or FileNotFoundError
(D) python
Correct Answer: (C) python.txt or FileNotFoundError
Q. 93. निम्नलिखित कथन क्या करता है?
What does the following statement do?
x = open(‘python.txt’, ‘r+’)
(A) Opens a text file named python.txt to write / लिखने के लिए python.txt नाम की टेक्स्ट फ़ाइल खोलता है
(B) Opens a text file named python.txt to read from or write to / से पढ़ने या लिखने के लिए python.txt नाम की एक टेक्स्ट फ़ाइल खोलता है
(C) Opens a new file named python.txt to append / जोड़ने के लिए python.txt नाम की एक नई फ़ाइल खोलता है
(D) Opens a text file named python.txt to read / पढ़ने के लिए python.txt नाम की टेक्स्ट फ़ाइल खोलता है
Correct Answer: (B) Opens a text file named python.txt to read from or write to / से पढ़ने या लिखने के लिए python.txt नाम की एक टेक्स्ट फ़ाइल खोलता है
Q. 94. निम्नलिखित कथन क्या करता है?
What does the following statement do?
x = open (‘python.txt’, ‘a+’)
(A) Opens or creates a text file named python.txt to read from or write to at the end of the file / फ़ाइल के अंत में पढ़ने या लिखने के लिए python.txt नाम की एक टेक्स्ट फ़ाइल खोलता है या बनाता है
(B) Opens a text file named python.txt to write to / लिखने के लिए python.txt नाम की एक टेक्स्ट फ़ाइल खोलता है।
(C) Opens a text file named python.txt to read / पढ़ने के लिए python.txt नाम की टेक्स्ट फ़ाइल खोलता है
(D) Opens a text file named python.txt to read and write / पढ़ने के लिए python.txt नाम की टेक्स्ट फ़ाइल खोलता है
Correct Answer: (A) Opens or creates a text file named python.txt to read from or write to at the end of the file / फ़ाइल के अंत में पढ़ने या लिखने के लिए python.txt नाम की एक टेक्स्ट फ़ाइल खोलता है या बनाता है
Q. 95. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = ‘Python Pi Py Pip’
print(x.count(‘p’))
(A) 5
(B) 4
(C) 1
(D) 0
Correct Answer: (B) 4
(Note: Python is case-sensitive. Only lowercase ‘p’ is counted.)
Q. 96. निम्नलिखित कथन क्या करता है?
What does the following statement do?
x = open(‘python.bat’, ‘ab’)
(A) Opens or creates a binary file named python.bat to append / संलग्न करने के लिए python.bat नामक एक बाइनरी फ़ाइल खोलता है या बनाता है
(B) Opens a new file named python.bat to append / संलग्न करने के लिए Python.bat नाम की एक नई फ़ाइल खोलता है
(C) Opens or creates a binary file named python.bat to write / लिखने के लिए python.bat नाम की बाइनरी फ़ाइल खोलता या बनाता है
(D) Opens or creates a binary file named python.bat to read / पढ़ने के लिए Python.bat नाम की बाइनरी फ़ाइल खोलता या बनाता है।
Correct Answer: (A) Opens or creates a binary file named python.bat to append / संलग्न करने के लिए python.bat नामक एक बाइनरी फ़ाइल खोलता है या बनाता है
Q. 97. निम्नलिखित कथन क्या करता है?
What does the following statement do?
x = open(‘python.bat’, ‘rb’)
(A) Opens an existing binary file named python.bat to read / पढ़ने के लिए python.bat नाम की एक मौजूदा बाइनरी फ़ाइल खोलता है।
(B) Opens an existing binary file named python.bat to write / लिखने के लिए python.bat नाम की एक मौजूदा बाइनरी फ़ाइल खोलता है।
(C) Opens an existing binary file named python.bat to append / संलग्न करने के लिए python.bat नामक एक मौजूदा बाइनरी फ़ाइल खोलता है।
(D) Opens an existing text file named python.bat to write / लिखने के लिए python.bat नाम की एक मौजूदा टेक्स्ट फ़ाइल खोलता है
Correct Answer: (A) Opens an existing binary file named python.bat to read / पढ़ने के लिए python.bat नाम की एक मौजूदा बाइनरी फ़ाइल खोलता है।
Q. 98. निम्नलिखित कथन क्या करता है?
What does the following statement do?
x = open(‘python.csv’, ‘w’)
(A) Opens an existing text file named python.csv to write / लिखने के लिए python.csv नाम की एक मौजूदा टेक्स्ट फ़ाइल खोलता है
(B) Opens an existing text file named python.csv to append / संलग्न करने के लिए python.csv नामक एक मौजूदा टेक्स्ट फ़ाइल खोलता है
(C) Opens a new file named python.csv to read / पढ़ने के लिए python.csv नाम की एक नई फ़ाइल खोलता है
(D) Opens a new file named python.csv to write / लिखने के लिए python.csv नाम की एक नई फ़ाइल खोलता है
Correct Answer: (D) Opens a new file named python.csv to write / लिखने के लिए python.csv नाम की एक नई फ़ाइल खोलता है
Q. 99. रिकर्सिव फंक्शन है ________
Recursive function is ________
(A) A function that calls itself
(B) A function that calls other functions
(C) Both (A) and (B)
(D) None of the above
Correct Answer: (A) A function that calls itself
Q. 100. लिस्ट में एक एलिमेंट (5) जोड़ने के लिए किस फंक्शन का उपयोग किया जाता है?
(A) list1.sum(5)
(B) list1.add(5)
(C) list1.append(5)
(D) list1.addelement(5)
Correct Answer: (C) list1.append(5)
Hope aapne M3-R5 O Level NIELIT July 2025 ke previous papers padh liye hain aur samajh bhi liya hai.
आज तक के सभी ओ-लेवल प्रीवियस पेपर्स को पढ़ना, डाउनलोड करना या मॉक टेस्ट देना है तो नीचे दिए गए बटन को दबाइये!
Kya aap M3-R5 O Level July 2025 ke previous papers ka mock test dena chahte hain?, Neeche diye gaye button par click karein.
Agar aap M3-R5 O Level July 2025 ke previous papers PDF mein download karna chahte hain?, to neeche diye gaye button par click karein.
Apna study experience humse neeche comment box mein zarur share karein. Agar aapko koi galti mile to humein batana na bhoolen. 😊
