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

Operators, Expressions and Python Statements

Question: 1 Report Error

निम्नलिखित में से कौन से कथन सत्य हैं?

Which of the following statements is true?

A)
B)
C)
D)

Question: 2
Verified by Expert

इस expression का उत्तर क्या है 22%3

What is the answer to this expression 22%3

A)
B)
C)
D)

Question: 3 Report Error

निम्नलिखित पायथन कोड का आउटपुट क्या होगा print(2**3)

What will be the output of the following Python code print(2**3)

A)
B)
C)
D)

Question: 4
Verified by Expert

रिलेशनल ऑपरेशन का परिणाम हमेशा होता है

The result of a relational operation is always

A)
B)
C)
D)

Question: 5
Verified by Expert

कौन सा कथन सही है ?

Which statement is correct ?

A)
B)
C)
D)
Explanation
A list is mutable (meaning it can be changed after creation) and a tuple is immutable (its elements cannot be modified, added, or removed once created).

Correct Answer: A) List is mutable & Tuple is immutable.


Question: 6 Report Error

nested if-else को पायथन में अनुमति है।

Nested if-else is allowed in Python.

A)
B)
C)
D)

Question: 7
Verified by Expert

Command Prompt Operating System का हिस्सा है

Command Prompt is part of the Operating System

A)
B)
C)
D)

Question: 8 Report Error

दो वेरिएबल एक ही ऑब्जेक्ट को refer कर रहे है या नही, ______ ऑपरेटर से पता कर सकते है

Whether two variables are referring to the same object or not, we can find out with the ______ operator.

A)
B)
C)
D)

Question: 9
Verified by Expert

List और Tuple पर slice ऑपरेटर कार्य नहीं करता है

Slice operator does not work on list and tuple

A)
B)
C)
D)
Explanation
The statement "slice operator does not work on list and tuple" is (B) False. The slice operator (:) is fully supported by both lists and tuples in Python. It is a fundamental tool used to extract sub-portions of these sequences.

Correct Answer: B) False


Question: 10
Verified by Expert

python में, in और not in ऑपरेटर को Membership Operator के रूप में जाना जाता है

In python, in and not in operators are known as Membership Operators.

A)
B)
C)
D)

Question: 11
Verified by Expert

a=[(1,1),(1,2),(1,3),(1,4)] डाटा किस प्रकार का है ?

a=[(1,1),(1,2),(1,3),(1,4)] What is the type of data?

A)
B)
C)
D)

Question: 12 Report Error

and, or, not, if, elif, Else, for, while, break व as python keyword है इनकी कुल संख्या है|

The total number of python keywords are and, or, not, if, elif, else, for, while, break and as.

A)
B)
C)
D)

Question: 13 Report Error

list, tuple, set, dictionary को define करने के लिए किन symbol का use करते है ?

Which symbols are used to define list, tuple, set, dictionary?

A)
B)
C)
D)

Question: 14
Verified by Expert

Python में equality operator कौन से है ?

What are equality operators in python?

A)
B)
C)
D)
Explanation
The === (strict equality) operator does not exist in Python. It is commonly found in other languages like JavaScript to check both value and data type, but Python's == operator is already designed to be type-sensitive in most standard comparisons.

Correct Answer: D) Both b and c


Question: 15
Verified by Expert

+ operator को _________ overload करता है ?

_________ overloads the + operator?

A)
B)
C)
D)
Explanation
__add__(): This specific method is used to define the behavior of the + (addition) operator for custom classes. When you use a + b, Python internally invokes a.__add__(b).

Correct Answer: A) __add__()


Question: 16 Report Error

Python में ________ एक NULL statement है|

________ is a NULL statement in Python.

A)
B)
C)
D)

Question: 17
Verified by Expert

निम्नलिखित में से कौन चर(variable) नहीं हो सकता है?

Which of the following cannot be a variable?

A)
B)
C)
D)

Question: 18 Report Error

Error checking के लिए Assert Statement का उपयोग किया जाता है।

Assert statement is used for error checking.

A)
B)
C)
D)

Question: 19 Report Error

Compund statement में थेरेपी स्टेटमेंट होते हैं|

Compound statement contains therapy statements.

A)
B)
C)
D)

Question: 20 Report Error

Python programming में ,pass एक NULL statement हैं |

In Python programming, pass is a NULL statement.

A)
B)
C)
D)

Question: 21 Report Error

निम्न आदेश प्रतिस्थापन है जब एकाधिक ifs का उपयोग किया जाता है

The following command is replacement when multiple ifs are used

A)
B)
C)
D)

Question: 22
Verified by Expert

round(0.5) - round(-0.5) का परिणाम क्या है?

What is the result of round(0.5) - round(-0.5)?

A)
B)
C)
D)

Question: 23 Report Error

निम्नलिखित में से किसकी अभिव्यक्ति/Expression में सर्वोच्च प्राथमिकता/Precendece है?

Which of the following expression has the highest precedence?

A)
B)
C)
D)

Question: 24 Report Error

निम्नलिखित में से कौन सा निर्णय लेने वाला कथन नहीं है:

Which of the following is not a decision making statement:

A)
B)
C)
D)

Question: 25 Report Error

किसी if स्टेटमेंट में वैकल्पिक शर्त जोड़ने के लिए आप किस कीवर्ड का उपयोग करेंगे?

Which keyword would you use to add an optional condition to an if statement?

A)
B)
C)
D)

Question: 26 Report Error

अभिव्यक्ति का आउटपुट क्या है: 3*1**3

What is the output of the expression : 3*1**3

A)
B)
C)
D)

Question: 27 Report Error

कौन सा फ़ंक्शन >> ऑपरेटर को ओवरलोड करता है?

Which function overloads the >> operator?

A)
B)
C)
D)

Question: 28 Report Error

कौन सा फ़ंक्शन // ऑपरेटर को ओवरलोड करता है?

Which function overloads the // operator?

A)
B)
C)
D)

Question: 29
Verified by Expert

इस अभिव्यक्ति को हल करें:

Solve this Expression:

4 + 3 * 2 // (1 - 5) ** 2
A)
B)
C)
D)

Question: 30
Verified by Expert

यदि x = math.ldexp(0.5, 1) है तो x का मान क्या है?

What is the value of x if x = math.ldexp(0.5, 1)?

A)
B)
C)
D)

Question: 31 Report Error

यदि l=[1,2,3,4,5]

If l=[1,2,3,4,5]

for X in l:
      print(X&1)
A)
B)
C)
D)

Question: 32 Report Error

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

What will be the output of the following Python code?

for i in range(int(2.0)): 
    print(i)
A)
B)
C)
D)

Question: 33 Report Error

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

What will be the output of the following Python code?

36//9
A)
B)
C)
D)

Question: 34
Verified by Expert

x का मान

value of x

x=4+3%5
A)
B)
C)
D)

Question: 35 Report Error

इस अभिव्यक्ति का आउटपुट: ~100

Output of this expression: ~100

A)
B)
C)
D)

Question: 36 Report Error

किसी दी गई संख्या 'a' को 4 से गुणा करने के लिए निम्नलिखित में से किस अभिव्यक्ति का उपयोग किया जा सकता है?

Which of the following expressions can be used to multiply a given number ‘a’ by 4?

A)
B)
C)
D)

Question: 37 Report Error

निम्नलिखित अभिव्यक्ति का मूल्य क्या है?

What is the value of the following expression?

A)
B)
C)
D)

Question: 38 Report Error

पायथन में "elif" कीवर्ड क्या दर्शाता है?

What does the “elif” keyword represent in Python?

A)
B)
C)
D)

Question: 39
Verified by Expert

निम्नलिखित कथन में क्या समस्या है? 100=grade

What is the problem with the following statement? 100=grade

A)
B)
C)
D)
Explanation
In programming, the assignment operator (=) is used to store a value in a variable. The rule is that the Variable Name must always be on the left side (LHS) and the Value or Expression must be on the right side (RHS). Wrong: 100 = grade (You cannot store a variable into a constant number) Correct: grade = 100

Correct Answer: D) value on the left must be a variable name


Question: 40
Verified by Expert

निम्नलिखित कथन में क्या समस्या है?

What is the problem with the following statement?

100=grade
A)
B)
C)
D)

Question: 41
Verified by Expert

आप दोहरे-वैकल्पिक निर्णय संरचना को लिखने के लिए _________ कथन का उपयोग करते हैं।

You use an _________ statement to write dual-alternative decision structure.

A)
B)
C)
D)
Explanation
A dual-alternative decision structure provides two separate paths of execution. One path is followed if a condition is True, and another path is followed if the condition is False. In programming, this is implemented using the if-else statement.

Correct Answer: C) if-else


Question: 42
Verified by Expert

निम्नलिखित में से कौन सा कथन सही है?

Which of the following statements are correct?

(i) Python is a high level programming language. 
(ii) Python is an interpreted language. 
(iii) Python is a compiled language. 
(iv) Python program is compiled before it is interpreted.
A)
B)
C)
D)
Explanation
Python is a high-level programming language, so statement (i) is correct, and it is also known as an interpreted language, making (ii) correct because its code is executed line by line. However, Python is not a purely compiled language, so (iii) is incorrect. In reality, Python first compiles the source code into bytecode (an intermediate form) and then the interpreter executes it, which makes statement (iv) correct. Hence, Python uses both compilation and interpretation, but is generally considered an interpreted language.

Correct Answer: D) (i), (ii), and (iv)


Question: 43
Verified by Expert

सही कथन बताइये:

Point out the correct statement:

A)
B)
C)
D)

Question: 44 Report Error

इन दो कथनों पर विचार करें:

Consider these two statements:

A)
B)
C)
D)

Question: 45
Verified by Expert

थोड़ी देर के लूप में, लूप कंट्रोल वेरिएबल की क्या भूमिका है?

In a while loop, what is the role of the loop control variable?

A)
B)
C)
D)

Question: 46 Report Error

हार्डवेयर की वह इकाई है, जिसका उपयोग एक ऑपरेटर कंप्यूटर प्रोसेसिंग की निगरानी के लिए करता है

The unit of hardware, which an operator uses to monitor computer processing, is the

A)
B)
C)
D)

Question: 47 Report Error

निम्नलिखित में से कौन सी भाषा कंप्यूटर द्वारा समझी जाती है?

Which of the following language is understood by computer ?

A)
B)
C)
D)

Question: 48 Report Error

किसी प्रोग्राम को चलाने के लिए चरणों का सही क्रम पहचानें:

Identify the correct sequence of steps to run a program :

A)
B)
C)
D)

Question: 49 Report Error

भाषा प्रोसेसर प्रोग्राम को समग्र रूप से ऑब्जेक्ट कोड में अनुवादित करता है...

The language processor translates the program into object code as a whole…

A)
B)
C)
D)

Question: 50 Report Error

कौन सा लूप नियंत्रण स्टेटमेंट वर्तमान पुनरावृत्ति के लिए लूप के अंदर बाकी कोड को छोड़ने के लिए उपयोग किया जाता है?

Which loop control statement is used to skip the rest of the code inside a loop for the current iteration only?

A)
B)
C)
D)

Latest Updates