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

Solved - O Level Python Paper January 2025

Ques 1 Report Error

पायथन में निम्नलिखित अभिव्यक्ति का मूल्यांकन किस रूप में किया जाएगा?

What will the following expression be evaluated to in Python?

print(15.0 / 4 + (8 + 3.0))

[A] 14.75

[B] 14.0

[C] 15

[D] 15.5

Correct Answer : 14.75


Ques 2 Report Error

फ्लोचार्ट में काउंटर का उपयोग किस लिए किया जाता है?

What is a counter used for in a flowchart?

[A] To track the number of iterations or occurrences

[B] To perform arithmetic operations

[C] To store temporary values

[D] To make decisions

Correct Answer : To track the number of iterations or occurrences


Ques 3 Report Error

पायथन में संख्याओं को घात तक बढ़ाने के लिए प्रयुक्त ऑपरेटर का नाम बताइए?

Name the operator used in Python to raise numbersto the power?

[A] itwise Operators

[B] Exponentiation Operator

[C] Identify Operator

[D] Membership Operators

Correct Answer : Exponentiation Operator


Ques 4 Report Error

उस चीज़ का नाम बताइए जो डुप्लिकेट मानों की अनुमति नहीं देती है?

Name the thing which does not allow duplicate values?

[A] Set

[B] lists

[C] Tuples

[D] None of the above

Correct Answer : Set


Ques 5 Report Error

उस कथन का नाम बताइए जिसका उपयोग एक मॉड्यूल के सभी कार्यात्मकता को दूसरे में आयात करने के लिए किया जाता है।

Name the statement which is used to import all thefunctionally of one module into another.

[A] import

[B] asset

[C] try

[D] Exception

Correct Answer : import


Ques 6 Report Error

टुपल में किसी मान तक कैसे पहुँचें?

How to access a value in Tuple?

[A] mytuple (1)

[B] mytuple [1]

[C] mytuple {1}

[D] None of the above

Correct Answer : mytuple [1]


Ques 7 Report Error

NumPy में multidimensional array को क्या कहते हैं?

What is a multidimensional array in NumPy called?

[A] nparray

[B] ndarray

[C] listarray

[D] tuplearray

Correct Answer : ndarray


Ques 8 Report Error

'abcdefg'[2:5] का output क्या होगा?

What is the output of 'abcdefg'[2:5]?

[A] cde

[B] def

[C] bcd

[D] cd

Correct Answer : cde


Ques 9 Report Error

निम्न में से कौन-सा कथन binary files के लिए सही नहीं है

Which of the following is not a correct statement for binary files?

[A] Easy for carrying data into buffer

[B] Much faster than other file systems

[C] Characters translation is not required

[D] Every line ends with new line character ‘\n’

Correct Answer : Every line ends with new line character ‘\n’


Ques 10 Report Error

PEP किसके लिए है?

PEP refers to?

[A] Python Enhancement Proposal

[B] Python Easy Program

[C] Program Execution Process

[D] Proper Execution Proposal

Correct Answer : Python Enhancement Proposal


Ques 11 Report Error

निम्नलिखित कथन का परिणाम क्या होगा

What will be the output of following statement ?

>>>”m”+”nl”

[A] ‘m+nl’

[B] ‘mnl’

[C] ‘m nl’

[D] ‘m’

Correct Answer : ‘mnl’


Ques 12 Report Error

निम्नलिखित कोड का आउटपुट क्या होगा?

What will be the output of the following code

t = (1,2)
print(2*t)

[A] (1,2,3,4)

[B] (1,2,1,2)

[C] (1,1,2,2)

[D] (1,1,2,2)

Correct Answer : (1,2,1,2)


Ques 13 Report Error

Tuple बनाने के लिए कौन-सा symbol

Which symbol is used to define a tuple?

[A] []

[B] {}

[C] ()

[D] <>

Correct Answer : ()


Ques 14 Report Error

x का डेटाटाइप क्या है

What is the datatype of x ?

import numpy as np
a=np.array([1,2,3,4])
x= a.tolist()

[A] int

[B] array

[C] tuple

[D] list

Correct Answer : list


Ques 15 Report Error

Python में list comprehension का syntax कैसा होता है?

What does list comprehension syntax look like in Python

[A] [expression for item in list]

[B] (expression item list)

[C] list(expression in item)

[D] newlist(expression)

Correct Answer : [expression for item in list]


Ques 16 Report Error

pickle module क्या करता है?

What does the pickle module do in Python?

[A] Encrypt data

[B] Save images

[C] Serialize and deserialize Python objects

[D] Sort lists

Correct Answer : Serialize and deserialize Python objects


Ques 17 Report Error

4 + 2**5 // 10 का output क्या होगा?

What is the output of 4 + 2**5 // 10?

[A] 6

[B] 7

[C] 8

[D] 3

Correct Answer : 7


Ques 18 Report Error

Pandas Series क्या है

Pandas Series is

[A] 1-dimensional labeled array

[B] 2-dimensional table

[C] 3-dimensional matrix

[D] Python function

Correct Answer : 1-dimensional labeled array


Ques 19 Report Error

Python में function को समाप्त करने के लिए कौन सा keyword प्रयोग किया जाता है?

Which keyword is used to end a function in Python?

[A] end

[B] return

[C] stop

[D] exit

Correct Answer : return


Ques 20 Report Error

Index सीमा से बाहर होने पर कौन-सा error?

Which exception is raised when index is out of range

[A] ValueError

[B] IndexError

[C] KeyError

[D] OverflowError

Correct Answer : IndexError


Ques 21 Report Error

अगर s = "Information" हो, तो print(s[2:8]) का output क्या होगा

If s = "Information", what is the output of print(s[2:8])?

[A] format

[B] formatio

[C] nformat

[D] formatn

Correct Answer : format


Ques 22 Report Error

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

which module in python can be used for working with network socket?

[A] http

[B] . urllib

[C] . socket

[D] header

Correct Answer : . socket


Ques 23 Report Error

Python का जनक किसे कहा जाता है?

Who is known as the father of Python?

[A] Dennis Ritchie

[B] Bjarne Stroustrup

[C] James Gosling

[D] Guido van Rossum

Correct Answer : Guido van Rossum


Ques 24 Report Error

निम्नलिखित Python अभिव्यक्ति में x का मान क्या होगा?

What will be the value of x in the following Python expression?

x = int(43.55+2/2)
print(x)

[A] 43

[B] 44

[C] 22

[D] 23

Correct Answer : 44


Ques 25 Report Error

6 का factorial (6!) क्या होगा?

What is the value of 6 factorial (6!)?

[A] 720

[B] 120

[C] 36

[D] 60

Correct Answer : 720


Ques 26 Report Error

Structured data को tabular format में store करने के लिए कौन-सा file type उपयोग किया जाता है?

Which file type is used for storing structured data in tabular format

[A] Text file

[B] CSV file

[C] JSON file

[D] None

Correct Answer : CSV file


Ques 27 Report Error

कौन-से arguments का order जरूरी होता है?

Which type of arguments follow the order strictly

[A] Default arguments

[B] Keyword arguments

[C] Positional arguments

[D] Variable arguments

Correct Answer : Positional arguments


Ques 28 Report Error

Python रनटाइम पर गुमनाम (anonymous) functions बनाने के लिए जिस construct का उपयोग करता है, उसे क्या कहा जाता है?

Python supports the creation of anonymous functions at runtime, using a construct called

[A] pi

[B] anonymous

[C] lambda

[D] none of the mentioned

Correct Answer : lambda


Ques 29 Report Error

2**3 + 5**2 का मान क्या होगा?

What is the value of 2**3 + 5**2?

[A] 17

[B] 33

[C] 35

[D] 28

Correct Answer : 33


Ques 30 Report Error

Binary file को पढ़ने के लिए कौन-सा mode उपयोग होता है

Which file mode is used to handle binary file for reading

[A] rb

[B] rw

[C] r

[D] w

Correct Answer : rb


Ques 31 Report Error

raise keyword किस लिए?

raise keyword is used to—

[A] Handle exception

[B] Generate exception

[C] Stop program

[D] Log errors

Correct Answer : Generate exception


Ques 32 Report Error

काजल ने एक फ़ाइल को एक खास मोड में खोला। फ़ाइल खोलने के बाद, वह उस मोड को भूल गया। उस मोड के बारे में रोचक तथ्य ये हैं कि "अगर फ़ाइल मौजूद नहीं है, तो एक नई फ़ाइल बनाई जाएगी" और "उस मोड में फ़ाइल खोलने पर फ़ाइल हैंडल फ़ाइल के अंत में होगा।" उसे सही मोड पहचानने में मदद करें।

Kajal opened a file in a certain mode. After opening the file, he forgot the mode. The interesting facts about that mode are " If the file doesn't exist, then a new file will be created" and "After opening file in that mode the file handle will be at the end of the file" Help him to identify the correct mode.

[A] read mode

[B] write mode

[C] append mode

[D] binary and read mode

Correct Answer : append mode


Ques 33 Report Error

यदि x = 1 है, तो x << 2 का परिणाम क्या होगा?

If x = 1, then what will be the result of x << 2?

[A] 4

[B] 2

[C] 1

[D] 8

Correct Answer : 4


Ques 34 Report Error

Exception आने पर कौन-सा block उसे handle करता है

Which block handles the exception if it occurs?

[A] try

[B] except

[C] finally

[D] else

Correct Answer : except


Ques 35 Report Error

फ़्लोचार्ट में एक इनपुट या आउटपुट इंस्ट्रक्शन द्वारा दर्शाया जाता है

In a flowchart an input or output instruction is represented by

[A] rectangle

[B] rhombus

[C] parallelogram

[D] circle

Correct Answer : parallelogram


Ques 36 Report Error

जब हम किसी फ़ाइल को read मोड में खोलने का प्रयास करते हैं जो मौजूद नहीं है तो निम्नलिखित में से कौन सी त्रुटि वापस आती है?

Which of the following error is returned when we try to open a file in read mode which does not exist ?

[A] File Found Error

[B] File Not Exist Error

[C] File Not Found Error

[D] None of the above

Correct Answer : File Not Found Error


Ques 37 Report Error

कौन-सा module command line arguments को handle करता है

Which module handles command line arguments?

[A] sys

[B] os

[C] math

[D] string

Correct Answer : sys


Ques 38 Report Error

List में अलग-अलग data types हो सकते हैं। इसे क्या कहा जाता है

Lists allow different types in a single list. This feature is called

[A] Dynamic typing

[B] Mixed storage

[C] Heterogeneous

[D] Stack model

Correct Answer : Heterogeneous


Ques 39 Report Error

Python में break और continue का अंतर क्या है?

What is the difference between break and continue in Python

[A] break skips next iteration, continue exits loop

[B] break exits loop, continue skips current iteration

[C] both do same work

[D] both only work in functions

Correct Answer : break exits loop, continue skips current iteration


Related Papers
Latest Updates