🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

Solved - O Level Python Paper January 2026

Ques 1 Report Error

Which Python method is used to convert 'neilit' into 'Neilit'?

'neilit' को 'Neilit' में convert करने के लिए कौन-सा Python method use किया जाता है?

[A] upper()

[B] lower()

[C] capitalize()

[D] title()

Correct Answer : capitalize()


Ques 2 Report Error

निम्न Python code का output क्या होगा?

What will be the output of the following Python code?

L = [None] * 10
print(len(L))

[A] 1

[B] 10

[C] 0

[D] None

Correct Answer : 10


Ques 3 Report Error

निम्न में से कौन-सी टेक्स्ट फाइल की file extension नहीं है?

Which of the following is not a file extension for text files?

[A] .txt

[B] .ini

[C] .rtf

[D] .dat

Correct Answer : .dat


Ques 4 Report Error

प्रोग्रामिंग में refactoring का क्या अर्थ है?

What does refactoring mean in programming?

[A] Changing the functionality of the code

[B] Improving code structure without changing its behavior

[C] Writing code from scratch

[D] Deleting old code

Correct Answer : Improving code structure without changing its behavior


Ques 5 Report Error

निम्न Python code का output क्या होगा?

What will be the output of the following Python code?

import math
print(math.copysign(3, -1))

[A] -3

[B] -3.0

[C] 3

[D] 1

Correct Answer : -3.0


Ques 6 Report Error

पैकेज से मॉड्यूल आयात करने के लिए पायथन में किस ऑपरेटर का उपयोग किया जाता है?

Which operator is used in Python to import modules from packages?

[A] .

[B] *

[C] >

[D] &

Correct Answer : .


Ques 7 Report Error

प्स्यूडोकोड के बारे में निम्न में से कौन सा सही है?

Which of the following is correct about pseudocode?

[A] It is executed by the computer

[B] It uses plain English to describe steps

[C] It is always written in Python

[D] It stores data in database

Correct Answer : It uses plain English to describe steps


Ques 8 Report Error

Python में 2^5 का output क्या होगा?

What is the output of 2^5 in Python?

[A] 32

[B] 10

[C] 7

[D] 25

Correct Answer : 7


Ques 9 Report Error

क्या output होगा?

What will be the output?

def factorial(x)
  if x==0:
    return 1
else:
    return x*factorial(x-1)

print(factorial(3))

[A] 3

[B] 6

[C] 9

[D] 1

Correct Answer : 6


Ques 10 Report Error

“hello” + 1 + 2 + 3 का output क्या होगा?

What will be the output of "hello" + 1 + 2 + 3?

[A] hello123

[B] hello

[C] Error

[D] hello6

Correct Answer : Error


Ques 11 Report Error

Python ऐसी कौन-सी library प्रदान करता है जो image के type को पता करने में मदद करती है?

Python provides a library to determine the type of an image, one such library is ____?

[A] os

[B] imghdr

[C] math

[D] sys

Correct Answer : imghdr


Ques 12 Report Error

2*3*8**3*4 का मान क्या होगा?

What will be the value of 2*3*8**3*4?

[A] 3072

[B] 4096

[C] 12288

[D] 1536

Correct Answer : 12288


Ques 13 Report Error

Indirect Recursion की अवधारणा क्या है?

What is the concept of Indirect Recursion?

[A] A function calling itself directly

[B] A loop calling a function

[C] Two or more functions calling each other in a cycle

[D] A function without return statement

Correct Answer : Two or more functions calling each other in a cycle


Ques 14 Report Error

NumPy में int32 data type की range क्या है?

What is the range of int32 data type in NumPy?

[A] 0 to 4,294,967,295

[B] −32,768 to 32,767

[C] −2,147,483,648 to 2,147,483,647

[D] −9,223,372,036,854,775,808 to 9,223,372,036,854,775,807

Correct Answer : −2,147,483,648 to 2,147,483,647


Ques 15 Report Error

NumPy का उपयोग करके array का standard deviation निकालने का formula क्या है?

What is the formula to find standard deviation of an array using NumPy?

[A] numpy.mean(array)

[B] numpy.var(array)

[C] numpy.std(array)

[D] numpy.sum(array)

Correct Answer : numpy.std(array)


Ques 16 Report Error

Pseudocode में hierarchy को कैसे दिखाया जाता है

Hierarchy in a pseudocode can be shown by

[A] Curly braces {}

[B] Semi colon ;

[C] Round bracket ()

[D] Indentation

Correct Answer : Indentation


Ques 17 Report Error

प्रोग्रामिंग में refactoring का क्या अर्थ है

What does refactoring mean in programming

[A] Changing the functionality of the code

[B] Improving code structure without changing its behavior

[C] Writing code from scratch

[D] Deleting old code

Correct Answer : Improving code structure without changing its behavior


Ques 18 Report Error

Python में seek() method का उद्देश्य क्या है

What is the purpose of the seek() method in Python

[A] To read data from a file / फ़ाइल से डेटा पढ़ने के लिए

[B] To write data into a file / फ़ाइल में डेटा लिखने के लिए

[C] To change the current file pointer position

[D] To close the file

Correct Answer : To change the current file pointer position


Ques 19 Report Error

निर्देश द्वारा प्रदर्शित आउटपुट क्या होगा, प्रिंट(सूची[3]), यदि, सूची=[''प्रोग्रामिंग'', "और", "समस्या", "समाधान", "उपयोग"","पायथन"]

What will be the output displayed by the instruction, print(List[3]), if, List=[''Programming'', "and", "Problem ", "Solving", "using"","Python"]

[A] Solving

[B] Problem

[C] g

[D] b

Correct Answer : Solving


Ques 20 Report Error

निम्नलिखित में से कौन-सी एक प्रोग्रामिंग भाषा है

Which of the following is a programming language

[A] HTML

[B] MS Word

[C] Python

[D] Windows

Correct Answer : Python


Ques 21 Report Error

Python में if block के अंदर statements की संख्या कितनी हो सकती है

The number of statements inside an if block in Python is

[A] Only 1

[B] Only 2

[C] One or more

[D] None

Correct Answer : One or more


Ques 22 Report Error

NumPy में array का shape बदलने के लिए कौन-सा method उपयोग किया जाता है

Which method is used in NumPy to change the shape of an array

[A] resize()

[B] reshape()

[C] shape()

[D] change()

Correct Answer : reshape()


Ques 23 Report Error

Python में string के elements के index की data type क्या होती है

What is the data type of the index value of elements in a string in Python

[A] float

[B] int

[C] str

[D] bool

Correct Answer : int


Ques 24 Report Error

प्रोग्रामिंग में एल्गोरिदम का उपयोग करने का निम्नलिखित में से कौन सा लाभ नहीं है?

Which of the following is not a benefit of using algorithms in programming

[A] improved efficiency

[B] improved accuracy

[C] improved security

[D] improved maintainability

Correct Answer : improved security


Ques 25 Report Error

वैध निर्देश के निर्माण को नियंत्रित करने वाले औपचारिक व्याकरणिक नियम

The formal grammar rules governing the construction of valid instruction

[A] test case

[B] syntax

[C] program

[D] semantics

Correct Answer : syntax


Ques 26 Report Error

Flowchart में किस symbol का उपयोग एक भाग से दूसरे भाग में continuation दिखाने के लिए किया जाता है

In a flowchart, which symbol is used as a connector to show continuation from one part to another

[A] Oval / अंडाकार

[B] Diamond / हीरा

[C] Circle / गोलाकार

[D] Rectangle / आयत

Correct Answer : Circle / गोलाकार


Ques 27 Report Error

निम्न Python code का output क्या होगा

What will be the output of the following Python code

import math 
print(math.copysign(3, -1))

[A] -3

[B] -3.0

[C] 3

[D] 1

Correct Answer : -3.0


Ques 28 Report Error

Python में math module को import करने का सही syntax कौन सा है

Which of the following is the correct syntax to import the math module in Python

[A] import math

[B] Import math

[C] IMPORT math

[D] Import Math

Correct Answer : import math


Ques 29 Report Error

प्स्यूडोकोड किसके लिए उपयोग किया जाता है

What is pseudocode used for

[A] To write actual code for computer

[B] To design the logic of a program

[C] To store data

[D] To execute programs

Correct Answer : To design the logic of a program


Ques 30 Report Error

पैकेज से मॉड्यूल आयात करने के लिए पायथन में किस ऑपरेटर का उपयोग किया जाता है

Which operator is used in Python to import modules from packages

[A] .

[B] *

[C] >

[D] &

Correct Answer : .


Ques 31 Report Error

Python में single-line comment के लिए कौन सा symbol इस्तेमाल होता है

Which symbol is used for a single-line comment in Python

[A] //

[B] #

[C] /* */

[D] --

Correct Answer : #


Ques 32 Report Error

Dimensions को और किस नाम से जाना जाता है

Dimensions are also known as

[A] Rank

[B] Shape

[C] Size

[D] Axis

Correct Answer : Rank


Ques 33 Report Error

प्स्यूडोकोड के बारे में निम्न में से कौन सा सही है

Which of the following is correct about pseudocode

[A] It is executed by the computer

[B] It uses plain English to describe steps

[C] It is always written in Python

[D] It stores data in database

Correct Answer : It uses plain English to describe steps


Ques 34 Report Error

Python में 2^5 का output क्या होगा

What is the output of 2^5 in Python

[A] 32

[B] 10

[C] 7

[D] 25

Correct Answer : 7


Ques 35 Report Error

हम सिस्टम में numPy कैसे स्थापित करते हैं

How we install numPy in system

[A] install numpy

[B] pip install python numpy

[C] pip install numpy

[D] pip install numpy python

Correct Answer : pip install numpy


Ques 36 Report Error

क्या output होगा

What will be the output

def factorial(x)
  if x==0:
    return 1
else:
    return x*factorial(x-1)
print(factorial(3))

[A] 3

[B] 6

[C] 9

[D] 1

Correct Answer : 6


Ques 37 Report Error

sys मॉड्यूल क्यों उपयोग किया जाता है

Why is the sys module used in Python

[A] To access command-line arguments

[B] To create GUI

[C] To handle arrays

[D] To handle HTML

Correct Answer : To access command-line arguments


Ques 38 Report Error

“hello” + 1 + 2 + 3 का output क्या होगा

What will be the output of "hello" + 1 + 2 + 3

[A] hello123

[B] hello

[C] Error

[D] hello6

Correct Answer : Error


Ques 39 Report Error

Python ऐसी कौन-सी library प्रदान करता है जो image के type को पता करने में मदद करती है

Python provides a library to determine the type of an image, one such library is

[A] os

[B] imghdr

[C] math

[D] sys

Correct Answer : imghdr


Ques 40 Report Error

2*3*8**3*4 का मान क्या होगा

What will be the value of 2*3*8**3*4

[A] 3072

[B] 4096

[C] 12288

[D] 1536

Correct Answer : 12288


Ques 41 Report Error

Python में memory management के बारे में कौन-सा कथन सही है

Which of the following statements is true about memory management in Python

[A] Python automatically manages memory through garbage collection

[B] Memory management in Python is manually handled by the user

[C] Memory is only released when the program ends

[D] Memory is not managed in Python

Correct Answer : Python automatically manages memory through garbage collection


Ques 42 Report Error

Python के जनक (Father of Python) कौन हैं

Who is the Father of Python

[A] Dennis Ritchie

[B] James Gosling

[C] Guido van Rossum

[D] Bjarne Stroustrup

Correct Answer : Guido van Rossum


Ques 43 Report Error

print(sum(1,2,3)) का आउटपुट क्या होगा

Output of print(sum(1,2,3))

[A] 6

[B] Error

[C] 1

[D] 0

Correct Answer : Error


Ques 44 Report Error

Indirect Recursion की अवधारणा क्या है

What is the concept of Indirect Recursion

[A] A function calling itself directly

[B] A loop calling a function

[C] Two or more functions calling each other in a cycle

[D] A function without return statement

Correct Answer : Two or more functions calling each other in a cycle


Ques 45 Report Error

NumPy में int32 data type की range क्या है

What is the range of int32 data type in NumPy

[A] 0 to 4,294,967,295

[B] −32,768 to 32,767

[C] −2,147,483,648 to 2,147,483,647

[D] −9,223,372,036,854,775,808 to 9,223,372,036,854,775,807

Correct Answer : −2,147,483,648 to 2,147,483,647


Ques 46 Report Error

Python में कौन-सा environment variable interpreter को बताता है कि imported modules कहाँ से load करने हैं

Which environment variable in Python tells the interpreter where to locate imported module files

[A] PYTHONPATH

[B] PYTHONSTARTUP

[C] PYTHONCASEOK

[D] PYTHONHOME

Correct Answer : PYTHONPATH


Ques 47 Report Error

NumPy का उपयोग करके array का standard deviation निकालने का formula क्या है

What is the formula to find standard deviation of an array using NumPy

[A] numpy.mean(array)

[B] numpy.var(array)

[C] numpy.std(array)

[D] numpy.sum(array)

Correct Answer : numpy.std(array)


Ques 48 Report Error

Python में Scope से क्या तात्पर्य है

What does Scope mean in Python

[A] Speed of program

[B] Memory size

[C] Area where a variable is accessible

[D] Syntax rule

Correct Answer : Area where a variable is accessible


Ques 49 Report Error

Array dimension कैसे दर्शाते हैं

How are array dimensions represented

[A] Using length of array

[B] Using array.size

[C] Using array.shape

[D] Using array.type

Correct Answer : Using array.shape


Ques 50 Report Error

Numpy क्या है

What is Numpy in Python

[A] A module for creating GUI

[B] A library for scientific computing and handling arrays

[C] A Python IDE

[D] A web framework

Correct Answer : A library for scientific computing and handling arrays


Ques 51 Report Error

Tuple और List के बीच क्या अंतर है

What is the difference between Tuple and List in Python

[A] Tuple is mutable, List is immutable

[B] Tuple uses [ ] brackets, List uses ( )

[C] Tuple is immutable, List is mutable

[D] Both are immutable

Correct Answer : Tuple is immutable, List is mutable


Ques 52 Report Error

डेटा फाइल को कहाँ रखा जाता है

Where is a data file usually stored

[A] In ram

[B] In disk

[C] Only in the cloud

[D] Inside Python interpreter

Correct Answer : In disk


Ques 53 Report Error

निम्नलिखित NumPy कोड का output क्या होगा

What will be the output of the following NumPy code

import numpy as np
x = np.arange(1, 11, 2)
print(x)

[A] [1 2 3 4 5 6 7 8 9 10]

[B] [2 4 6 8 10]

[C] [1 3 5 7 9]

[D] [1 11 2]

Correct Answer : [1 3 5 7 9]


Ques 54 Report Error

while (1==3) कितनी बार चलेगा

How many times will while (1==3) execute

[A] Infinite times

[B] 3 times

[C] 1 time

[D] 0 times

Correct Answer : 0 times


Ques 55 Report Error

8/4/2, 8/(4/2) का आउटपुट क्या होगा

Output of 8/4/2, 8/(4/2)

[A] 1.0, 4.0

[B] 1.0, 1.0

[C] 2.0, 4.0

[D] 2.0, 2.0

Correct Answer : 1.0, 4.0


Ques 56 Report Error

NumPy का पूरा नाम क्या है

What is the full form of NumPy

[A] Numerical Python

[B] Network Python

[C] New Multiple Python

[D] Numeric Programming

Correct Answer : Numerical Python


Ques 57 Report Error

Modular Programming क्या है

What is Modular Programming

[A] Writing the entire program in one block

[B] Dividing a program into small independent modules/functions

[C] Using only built-in functions

[D] Writing program without functions

Correct Answer : Dividing a program into small independent modules/functions


Ques 58 Report Error

NumPy में किसी array का shape कैसे पता करते हैं

In NumPy, how do you find the shape of an array

[A] array.size

[B] array.length

[C] array.shape

[D] array.type

Correct Answer : array.shape


Ques 59 Report Error

Python में कौन-सा Mutable Data Type है

Which is a mutable data type in Python

[A] Tuple

[B] String

[C] List

[D] Integer

Correct Answer : List


Related Papers
Latest Updates