Operators Expressions and Python Statements - Quick Test
Tap any option to see instant feedback. Green = Correct, Red = Wrong. Change answers freely!
Instant feedback
Tap and see the answer
Green = correct, Red = wrong. Keep trying until you nail it.
Progress
0/141 correct
Which one of these is floor division?
इनमें से कौन सा फ्लोर डिवीज़न है?
What is the answer to this expression, 22 % 3 is?
इस एक्सप्रेशन का उत्तर 22% 3 क्या है?
What is the output of this expression, 3*1**3?
इस एक्सप्रेशन का आउटपुट क्या है, 3 * 1 ** 3?
Which one of the following has the same precedence level?
निम्नलिखित में से किसका समान प्रेसडेंस लेवल है?
Which one of the following has the highest precedence in the expression?
निम्नलिखित में से किसकी एक्सप्रेशन में हाईएस्ट प्रेसिडेन्स है?
What is the return value of trunc()?
trunc() फंक्शन क्या रिटर्न करेगा ?
Which of the following expressions is an example of type conversion?
निम्न में से कौन सा एक्सप्रेशन्स कन्वर्श़न प्रकार का एक उदाहरण है?
Which of the following expressions results in an error?
निम्नलिखित में से कौन सा एक्सप्रेशन में एक एरर है?
Which of the following Boolean expressions is not logically equivalent to the other three?
निम्नलिखित में से कौन सा बुलियन एक्सप्रेशन लॉज़िकली रूप से अन्य तीन के बराबर नहीं है?
elif can be considered to be abbreviation of
elif किसका संक्षिप्त रूप माना जा सकता है
The condition in the if statement should be in the form of
if स्टेटमेंट में शर्त इस प्रकार होनी चाहिए
Which is the most comfortable loop?
सबसे सरल लूप कौन सा है?
Which Python built in function returns the unique number assigned to an object?
कौन सा पायथन बिल्ट-इन फ़ंक्शन किसी ऑब्जेक्ट को निर्दिष्ट अद्वितीय संख्या देता है?
The operator used to check if both the operands reference the same object memory, is the .......... operator.
ऑपरेटर यह जांचने के लिए प्रयोग किया जाता है कि क्या दोनों ऑपरेंड एक ही ऑब्जेक्ट मेमोरी को संदर्भित करते हैं, ……… ऑपरेटर है।
For two objects x and y, the expression x is y will yield True, if and only if
दो वस्तुओं x और y के लिए, व्यंजक x, y है, सत्य प्राप्त करेगा, यदि और केवल यदि
Which of the following is not an immutable type in Python ?
निम्नलिखित में से कौन पायथन में एक अपरिवर्तनीय प्रकार नहीं है?
What is the value of the expression 100 / 25 ?
व्यंजक 100/25 का मान क्या है?
What is the value of the expression 100 // 25 ?
व्यंजक 100//25 का मान क्या है?
In Python, a variable must be declared before it is assigned a value.
पायथन में, एक चर को एक मान निर्दिष्ट करने से पहले घोषित किया जाना चाहिए।
In Python, a variable is assigned a value of one type, and then later assigned a value of a different type. This will yield
पायथन में, एक चर को एक प्रकार का मान दिया जाता है, और फिर बाद में एक अलग प्रकार का मान दिया जाता है। यह उपज देगा
In Python, a variable may be assigned a value of one type, and then later assigned a value of a different type. This concept is known as
पायथन में, एक चर को एक प्रकार का मान सौंपा जा सकता है, और फिर बाद में एक अलग प्रकार का मान निर्दिष्ट किया जा सकता है। इस अवधारणा को के रूप में जाना जाता है
Is it safe to directly use the == operator to determine whether objects of type float are equal ?
क्या यह निर्धारित करने के लिए सीधे == ऑपरेटर का उपयोग करना सुरक्षित है कि फ्लोट प्रकार की वस्तुएं बराबर हैं या नहीं?
In the Python statement x = a + 5 - b : a and b are
पायथन कथन में x = a + 5 - b : a और b हैं
n the Python statement x =a + 5 - b : a + 5 - b is
पायथन कथन में x =a + 5 - b : a + 5 - b is
Which of the following operators has the lowest precedence ?
निम्नलिखित में से किस ऑपरेटर की प्राथमिकता सबसे कम है?
What is the value of the expression 10 + 3 ** 3 * 2?
व्यंजक 10 + 3 ** 3 * 2 का मान क्या है?
To increase the value of x five times using an augmented assignment operator, the correct expression will be
संवर्धित असाइनमेंट ऑपरेटर का उपयोग करके x के मान को पांच गुना बढ़ाने के लिए, सही अभिव्यक्ति होगी
What will be the result of the expression : print(10 or 0) ?
print(10 or 0 ) : का परिणाम क्या होगा?
What will be the result of the expression 5 and 10?
व्यंजक 5 और 10 का परिणाम क्या होगा?
What will be the result of the expression: 15 and 10?
व्यंजक 15 और 10 का परिणाम क्या होगा?
What will be the result of the expression 10 or 0 ?
व्यंजक 10 या 0 का परिणाम क्या होगा?
In a Python program, a control structure:
एक पायथन कार्यक्रम में, एक नियंत्रण संरचना:
An empty/null statement in Python is
पायथन में एक खाली/शून्य कथन है
The order of statement execution in the form of top to bottom, is known as .......... construct.
ऊपर से नीचे के रूप में कथन निष्पादन के क्रम को ……… निर्माण के रूप में जाना जाता है।
The .......... construct allows to choose statements to be executed, depending upon the result of a condition.
........ निर्माण एक शर्त के परिणाम के आधार पर निष्पादित किए जाने वाले कथनों को चुनने की अनुमति देता है।
The .......... construct repeats a set of statements a specified number of times or as long as a condition is true.
............ निर्माण एक निर्दिष्ट संख्या में या जब तक कोई शर्त सत्य है, तब तक बयानों के एक सेट को दोहराता है।
In Python, which of the following will create a block in a compound statement ?
पायथन में, निम्नलिखित में से कौन कंपाउंड स्टेटमेंट में ब्लॉक बनाएगा?
What signifies the end of a statement block or suite in Python ?
पायथन में स्टेटमेंट ब्लॉक या सूट के अंत का क्या मतलब है?
Which of the following statement(s) will terminate the whole loop and proceed to the statement following the loop ?
निम्नलिखित में से कौन सा कथन पूरे लूप को समाप्त कर देगा और लूप के बाद वाले कथन पर आगे बढ़ेगा?
Which of the following statement(s) will terminate only the current pass of the loop and proceed with the next iteration of the loop?
निम्नलिखित में से कौन सा कथन केवल लूप के वर्तमान पास को समाप्त करेगा और लूप के अगले पुनरावृत्ति के साथ आगे बढ़ेगा?
Function range(3) will yield an iteratable sequence like
फ़ंक्शन range(3)) एक पुनरावृत्त अनुक्रम उत्पन्न करेगा जैसे
Function range(0, 5, 2) will yield on iterable sequence like
फ़ंक्शन रेंज (0, 5, 2) चलने योग्य अनुक्रम पर उत्पन्न होगी जैसे
Function range(10, 5, -2) will yield an iterable sequence like
फंक्शन range(10, 5, -2) एक पुनरावर्तनीय अनुक्रम उत्पन्न करेगा जैसे
Function range(10, 5, 2) will yield an iterable sequence like
फंक्शन range(10, 5, 2) एक चलने योग्य अनुक्रम उत्पन्न करेगा जैसे
Which of the following functions converts a string to a float in python ?
निम्नलिखित में से कौन सा फ़ंक्शन पायथन में एक स्ट्रिंग को फ्लोट में परिवर्तित करता है?
What is the output of the expression : 3*1**3 ?
एक्सप्रेशन 3*1**3 आउटपुट क्या है ?
What is the output of the following program ? print 0.1+0.2==0.3
निम्नलिखित प्रोग्राम का आउटपुट क्या है ? print 0.1+0.2==0.3
Which of the following is a valid arithmetic operator in Python?
निम्नलिखित में से कौन पायथन में एक मान्य अंकगणितीय ऑपरेटर है?
What will be the value of p when p= int(17/2+11.5)?
p का मान क्या होगा जब p= int(17/2+11.5)?
The data type of an expression int(m)/int(n) will result in:
एक अभिव्यक्ति का डेटा प्रकार int(m)/int(n) परिणाम देगा:
Which of the following is a floor division operator?
निम्न में से कौन फ्लोर डिवीजन ऑपरेटर है?
Which of the following operators has the highest precedence?
निम्नलिखित में से किस ऑपरेटर की सर्वोच्च प्राथमिकता है?
Which of the following is not a logical operator?
निम्नलिखित में से कौन एक लॉजिकल ऑपरेटर नहीं है?
In Python, a complex number is represented as:
पायथन में, एक काम्प्लेक्स संख्या को इस प्रकार दर्शाया जाता है:
which function is used to get the ASCII value of any Character in PYthon?
पायथन में किसी भी वर्ण का ASCII मान प्राप्त करने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
Operations to be repeated a certain number of times are done by
संक्रियाओं को एक निश्चित संख्या में बार-बार दोहराए जाने के द्वारा किया जाता है
What is the output of >>>float('12.6')
>>>float('12.6') का आउटपुट क्या होगा
_________immediately terminates the current loop iteration.
_________ वर्तमान लूप पुनरावृत्ति को तुरंत समाप्त कर देता है।
What is the maximum possible length of an identifier?
पहचानकर्ता की अधिकतम संभव लंबाई क्या है?
Which translator is used to convert assembly language into machine language?
असेंबली भाषा को मशीन भाषा में को बदलने के लिए किस अनुवादक का उपयोग किया जाता है
In python language, which of the following operators is the correct option for raising k to the power 1?
पायथन भाषा में, k को पावर 1 तक बढ़ाने के लिए निम्नलिखित में से कौन सा ऑपरेटर सही विकल्प है?
Which of the following is a valid arithmetic operator in Python ?
निम्नलिखित में से कौन पायथन में एक मान्य अंकगणित ऑपरेटर है?
The contents inside the "for loop" are separated by?
लूप के अंदर की सामग्री को _____ द्वारा अलग किया जाती है?
_____ function convert an integer to octal string in python.
पायथन में ______ फंक्शन एक इंटीजर को ऑक्टल स्ट्रिंग में परिवर्तित करता है।
What is range() Funciton ?
रेंज क्या है?
Which of the following types of loops are not supported in Python?
निम्नलिखित में से किस प्रकार के लूप पायथन में सपोर्ट नहीं करता हैं?
Which of the following refers to mathematical function?
निम्नलिखित में से कौन गणितीय फंक्शन को संदर्भित करता है
____ is the output you get when '2'==2 is executed
____ वह आउटपुट है जो आपको तब मिलता है जब '2'==2 निष्पादित होता है-
which one is an Assignment Operator
एसाइन्मेंट आपरेटर है :
Which of the following is an invalid statement in python.
निम्नलिखित में से कौन सा पायथन मे इनवैलिड स्टेटमेन्ट है ।
What is the output of the code print(7%2).
कोड print(7%2) का आउटपुट क्या है।
The for loop in Python is an ____ .
पॉयथन में फॉर लूप...... है ।
Can we write if / else into one line in python?
क्या हम पाइथन में एक लाइन में if / else लिख सकते हैं?
A loop block in python starts with a.. -
पायथन में एक लूप ब्लॉक एक... से शुरू होता है
Which of the following is not a valid keyword of Python associated with loops?
निम्नलिखित में से कौन लूप से सम्बन्धित पायथन का वैलिड कीवर्ड नहीं है?
___ in Python is a counter-controlled loop.
पायथन में काउन्टर कन्ट्रोल्ड लूप है ।
If the else statement is used with a while loop, the else statement is executed when the condition becomes _____ .
यदि else स्टेटमेंट का प्रयोग 'व्हाइल' लूप के साथ किया जाता है, तो else स्टेटमेंट तब निष्पादित होता है जब कंडीशन हो जाती है।
Which term describes a loop that continues repeating without a terminating (ending) condition ?
कौन सा शब्द एक लूप का वर्णन करता है जो बिना किसी समाप्ति (समाप्त) स्थिति के दोहराना जारी रखता है?
range(3) in Python is equivalent to:
पायथन में रेंज (3) के बराबर है:
Which of the following will give error ?
निम्नलिखित में से कौन त्रुटि देगा?
Which of the following function returns the ASCII/Unicode value character?
निम्नलिखित में कौन सा फक्शन ASCII/Unicode वैल्यू कैरेक्टर रिटर्न करता है?
Python programming language allows to use one loop inside another loop known as ?
पायथन प्रोग्रामिंग भाषा एक लूप को दूसरे लूप के अंदर उपयोग करने की अनुमति देती है जिसे जाना जाता है?
Which of the following is not a relational opeartor in Python?
निम्नलिखित में से कौन पायथन में एक रिलेशनल ऑपरेटर नहीं है?
What will be the output : 24//6%3,24//4//2
इसका आउटपुट क्या होगा: 24//6%3,24//4//2
Give the output of : print((range(4)))
print((range(4))) का आउटपुट क्या होगा
The result of abs() is equal to math.fabs()?
क्या abs() फंक्शन math.fabs() के बराबर है?
How many times will loop run? for a in "56247839"
लूप कितनी बार चलेगा? for a in "56247839"
Changing one data type to another is known as
एक डेटा प्रकार को दूसरे में बदलना कहलाता है
what will the output of : 34//5+34%5 in python
पायथन में: 34//5+34%5 का आउटपुट क्या होगा
What is 'pass' in python?
पायथन में 'pass' क्या है?
Which of the following operators has the highest precedence?
निम्नलिखित में से किस ऑपरेटर की सर्वोच्च प्राथमिकता है?
_____ is not used as loop in python
पायथन में लूप के रूप में _____ का उपयोग नहीं किया जाता है
Give the output of: print(2^5)
इसका आउटपुट क्या होगा : print(2^5)
Which statement can be use to swap the values of an and b
a और b के मानों को स्वैप करने के लिए किस कथन का उपयोग किया जा सकता है?
What is the output of : print(2*3**3*4)
इसका आउटपुट क्या है: print(2*3**3*4)
What will be the output of following expression : print(10/2+3*5)
निम्नलिखित कोड का आउटपुट क्या होगा? print(10/2+3*5)
what will the output of following : print(2+9*((3*12)-8)/10)
निम्नलिखित कोड का आउटपुट क्या होगा? print( 2+9*((3*12)-8)/10)
What will be the output of the following :print( (5*2-4*8)%7)
निम्नलिखित कोड का आउटपुट क्या होगा? : print( (5*2-4*8)%7)
what will be the output of :print( 22//3+3/3)
निम्नलिखित कोड का आउटपुट क्या होगा? print( 22//3+3/3)
What will return by math.trunc() function in python
पायथन में Math.trunc() फ़ंक्शन द्वारा क्या लौटाया जाएगा
What will be the output of : print((-3)**2)
इसका आउटपुट क्या होगा: print((-3)**2)
What is true about a break statement?
ब्रेक स्टेटमेंट के बारे में क्या सच है?
which one is a mathematical function?
कौन सा एक गणितीय फंक्शन है?
Which expression is equivalent to A=A*8
कौन सा व्यंजक A=A*8 के समतुल्य है
Which symbol is used for bitwise XOR operator
बिटवाइज़ XOR ऑपरेटर के लिए कौन सा प्रतीक प्रयोग किया जाता है?
Evaluate the expression A%B//A if the value of A= 16 and b= 15
एक्सप्रेशन A%B//A का मूल्यांकन करें यदि A=16 और b=15 का मान है
What is the the value of x when x=math.factorial(0)
x का मान क्या है जब x=math.factorial(0)
What will the value of a if a=~100
यदि a=~100 है तो a का मान क्या है?
What will be the value of x=(5*2-4*8)%7
x=(5*2-4*8)%7 का मान क्या होगा?
what will the output of x=5+8*((3*5)-9)/10
x=5+8*((3*5)-9)/10 का आउटपुट क्या होगा
Provide the output for the expression: list = [1, 2] + [3, 4]
list= [1, 2] + [3, 4] का आउटपुट क्या होगा
what will the output of : print(5&3)
इसका आउटपुट क्या होगा: print(5&3)
How many control statements python supports?
पाइथॉन कितने नियंत्रण कथनों का समर्थन करता है?
What does ~~~~~~5 evaluate to?
~~~~~~5 का मूल्यांकन किससे होता है?
What will be the result of the following expression in Python “2 ** 3 + 5 ** 2”?
पायथन में निम्नलिखित अभिव्यक्ति "2 ** 3 + 5 ** 2" का परिणाम क्या होगा?
What is the output of the code print (9//2)
कोड प्रिंट का आउटपुट क्या है (9//2)
What is the output of the following code? print(not False)
निम्नलिखित कोड का परिणाम क्या है? print(not False)
What will the following code output? print(4 & 5)
निम्नलिखित कोड आउटपुट क्या होगा? print(4 & 5)
What will the following code output? print(10 * 2 + 5)
निम्नलिखित कोड आउटपुट क्या होगा? print(10 * 2 + 5)
What will the following code output? print(‘55’+’5’)
निम्नलिखित कोड आउटपुट क्या होगा? print(‘55’+’5’)
What will the following code output? print(1==1.0)
निम्नलिखित कोड आउटपुट क्या होगा? print(1==1.0)
What will the following code output? print(5/0)
निम्नलिखित कोड आउटपुट क्या होगा? print(5/0)
What will the following code output? print(2 << 2)
निम्नलिखित कोड आउटपुट क्या होगा? print(2 << 2)
What will the following code output? print( 12/4/2)
निम्नलिखित कोड आउटपुट क्या होगा? print( 12/4/2)
Which of the following is the correct syntax for a conditional statement in Python?
पायथन में कंडिशनल स्टेट्मेंट के लिए निम्नलिखित में से कौन सा सही सिंटेक्स है?
What is the purpose of the elif statement in Python?
पायथन में एलिफ स्टेटमेंट का पर्पज क्या है?
Which function is used to generate a sequence of numbers in Python loops?
पायथन लूप्स में नंबर्स का सीक्वेंस जनरेट करने के लिए किस फ़ंक्शन का यूज़ किया जाता है?
Which of the following is true about the break statement in loops?
लूप्स में ब्रेक स्टेटमेंट के बारे में निम्नलिखित में से कौन सा सत्य है?
What does the continue statement do in a loop?
लूप में कंटीन्यू स्टेटमेंट क्या करता है?
What is the purpose of an else block in loops?
लूप्स में else ब्लॉक का पर्पज़ क्या है?
What happens when multiple if statements are used instead of if-elif?
क्या होता है जब if-elif के स्थान पर मल्टीपल if स्टेटमेंट्स का यूज़ किया जाता है?
Which keyword is used to exit a loop prematurely in Python?
पायथन में लूप से समय से पहले एग्जिट होने के लिए किस कीवर्ड का यूज़ किया जाता है?
Which of the following is NOT a valid use of a loop in Python?
निम्नलिखित में से कौन सा पायथन में लूप का वैलिड यूज़ नहीं है?
What happens if the condition in a while loop is initially False?
यदि थोड़ी देर के लूप में स्थिति शुरू में गलत हो तो क्या होगा?
What will happen if a for loop tries to iterate over an empty list?
यदि कोई लूप किसी एम्प्टी लिस्ट पर पुनरावृति करने का प्रयास करता है तो क्या होगा?
What is the purpose of the else block in a Python loop?
पायथन लूप में अन्य ब्लॉक का पर्पज क्या है?
Which of the following is true for nested loops in Python?
पायथन में नेस्टेड लूप के लिए निम्नलिखित में से कौन सा सत्य है?
Which one is not a looping structure available in python.
पायथन में कौन सी लूपिंग स्ट्रक्चर अवेलबल नहीं है?
Which of the following statements is used to test multiple conditions in Python?
निम्नलिखित में से किस स्टेट्मेंट का यूज़ पायथन में मल्टिपल कंडीशन का टेस्ट करने के लिए किया जाता है?
How can we store 2 in a, 3 in b and 4 in c in one line statement.
हम एक लाइन स्टेटमेंट में 2 को a में, 3 को b में और 4 को c में कैसे स्टोर कर सकते हैं।
How many for loop structure we can use in our program?
हम अपने प्रोग्राम में कितने फॉर लूप स्ट्रक्चर का यूज़ कर सकते हैं?