Introduction to Python, Operator, Expression (Chapter 3 & 4)

1 / 182

Which of the following is an invalid variable?
निम्नलिखित में से कौन सा एक इनवैलिड वैरिएबल है

2 / 182

Is python case sensitive when dealing with identifiers?
क्या पहचानकर्ता के साथ व्यवहार करते समय पायथन केस सेंसिटिव है?

3 / 182

What is the extension of python code file?
पायथन कोड फाइल का विस्तार क्या है

4 / 182

which of the following is not a feature of python?
निम्नलिखित में से कौन पायथन की विशेषता नहीं है

5 / 182

which function is used to get the ASCII value of any character in python?
पायथन में किसी भी वर्ण का ASCII मान प्राप्त करने के लिए किस फंक्शऩ का उपयोग किया जाता है

6 / 182

Which function is used to get the data type of any value?
किसी भी मूल्य का डेटा प्रकार प्राप्त करने के लिए किस फंक्शन का उपयोग किया जाता है

7 / 182

which is the valid string value in python
पायथन में मान्य स्ट्रिंग मान कौन सा है

8 / 182

which of the following declaration is incorrect?
निम्नलिखित में से कौन सा कथन गलत है

9 / 182

select the reserved keyword in python
पायथन में आरक्षित कीवर्ड का चयन करें

10 / 182

Which of the following is not a keyword in python
निम्नलिखित में से कौन पायथन में एक कीवर्ड नहीं है

11 / 182

You don’t have to pay for python and you can view its source code too. It means python is……..
आपको पायथन के लिए भुगतान करने की आवश्यकता नहीं है और आप इसका स्त्रोत कोड भी देख सकते हैं इसका मतलब है कि पायथन

12 / 182

To give a different separator with print() ……………argument is used

13 / 182

the default separator character of print() is……….

14 / 182

to print a line a text without ending it with a newline, ………..argument is used with print()

15 / 182

to convert the read value through input() into integer type, ………() is used

16 / 182

the input() returns the value as ………….type

17 / 182

Select the reserve keyword in python

18 / 182

Which of the following is not a legal integer type value in python

19 / 182

Which of the following is an escape sequence for a new line character

20 / 182

Which of the following is an escape sequence for a tab character

21 / 182

Escape sequence are treated as…………

22 / 182

Data items having fixed value are called

23 / 182

Names given to different parts of a python program are……..

24 / 182

Special meaning words of pythons, fixed for specific functionality are called………….

25 / 182

you do not have pay python and you can view its source code too. It means python is…….

26 / 182

To print the value of a variable, python uses

27 / 182

which of the following is not a python IDE

28 / 182

the …….. mode of python gives instant result of typed statement

29 / 182

python programs are typed in

30 / 182

python code can run on a variety of platforms, it means python is a ……..language

31 / 182

python uses a/an ………….to convert source

32 / 182

python is a/an ……… language

33 / 182

it refers to the ability of an application to run on different platforms with or without minimal changes

34 / 182

the program must be able to handle unexpected situation like wrong input or no input

35 / 182

Which of the following is not a keyword in python?

36 / 182

Which of the following is not a token?

37 / 182

The data type whose representation is unknown are called

38 / 182

The data type whose representation is known are called

39 / 182

what will be the output of the following python code?
print(‘ab12’.isalnum())

40 / 182

in order to store values in terms of key and value we use what core data type
की और वैल्यू के संदर्भ में वैल्यूज को स्टोर करने के लिए हम किस कोर डेटा प्रकार का यूज करते हैं

41 / 182

which is the return type of function id?
फंक्शन आईडी का रिटर्न प्रकार क्या है

42 / 182

Why are local variable names beginning with an underscore discouraged?
अंडरस्कोर से शुरू होने वाले लोकल वैरिएबल नाम क्यों डिस्करेज किए जाते हैं

43 / 182

Which among the following list of operators has the highest precedence?
+, -, **, %, /, <>, |

44 / 182

What will be the output of the following Python expression?
24//6%3, 24//4//2

45 / 182

What will be the value of X in the following Python expression?
X = 2+9*((3*12)-8)/10

46 / 182

which of the following is not a relational operator in python?

47 / 182

which of the following function returns the ASCII/Unicode value character?

48 / 182

what is the output of the code print(7%2)

49 / 182

Which of the following will give error?

50 / 182

Which one is an assignment operator

51 / 182

…………is the output you get when ‘5’==5 is executed

52 / 182

In python language, which of the following operators is the correct option for raising k to the power 1>?

53 / 182

What will be the output of following statement
>>> “m” + “nl”

54 / 182

What will be the output of the following expression
x=14
Print(x>>2)

55 / 182

which of the following will run without errors?
निम्नलिखित में से कौन सी त्रुटियों के बिना चलेगा

56 / 182

Given a function that does not return any value, what value is thrown by default when executed in shell
ऐसे फंक्शन को देखते हुए जो किसी भी वैल्यू को रिटर्न नहीं करता है, शेल में एक्सक्यूटेड होने पर डिफॉल्ट रूप से कौन सी वैल्यू को हटा दिया जाता है

57 / 182

Which of these in not a core data type?
इनमें से कौन एक कोर डेटा प्रकार नहीं है

58 / 182

which of the following cannot be a variable?
निम्नलिखित में से कौन सा एक वैरिएबल नहीं हो सकता है

59 / 182

Which of the following is an invalid statement
निम्नलिखित में से कौन सा एक इनवैलिड स्टेटमेंट है

60 / 182

What is the output of the following-
print(int())

61 / 182

What is the maximum possible length of an identifier?

62 / 182

What will be the output of the following expression?
print(7//2)
print(-7//2)

63 / 182

What is the output of >>>float(‘12.6’)

64 / 182

what will be the output of the following expression-
x=4
print(x<<2)

65 / 182

Which of the following is not a logical operator?

66 / 182

which of the following operators has the highest precedence?

67 / 182

The data type of an expression int(a)/int(b) will result in

68 / 182

What will be the value of z when z=int(17/2+11.5)?

69 / 182

Which of the following is a valid arithmetic operator in python?

70 / 182

What is the output of the following program- print 0.1+0.2==0.3

71 / 182

What will be the result of the expression 15 and 10

72 / 182

What will be the result of the expression 5 and 10?

73 / 182

What will be the result of the expression- print(5 or 10)

74 / 182

what will be the result of the expression 10 or 0?

75 / 182

To increase the value of x five times using an augmented assignment operator, the correct expression will be

76 / 182

This symbol is used to print more than one item on a single line

77 / 182

Which of the following character is used to give comments in python program?

78 / 182

The python prompt indicates that interpreter is ready to accept instruction

79 / 182

Who developed python?

80 / 182

What is the value of the expression 10+3**3*2?

81 / 182

Which of the following operators has the lowest precedence?

82 / 182

In the python statement x=a+5-b: a+5-b is

83 / 182

In the python statement x=a+5-b: a and b are

84 / 182

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

85 / 182

In python, a variable is assigned a value of one type, and then later assigned a value of a different type. This will yield

86 / 182

In python, a variable must be declared before it is assigned a value

87 / 182

What is the value of the expression 100//25?

88 / 182

what is the value of the expression 100/25

89 / 182

For two objects x and y, the expression x is y will yield True, if and only if
दो वस्तुओं x और y के लिए व्यंजक x,y है सत्य प्राप्त करेगा, यदि और केवल यदि

90 / 182

the operator used to check if both the operands reference the same object memory, is the….. operator
ऑपरेटर यह जांचने के लिए प्रयोग किया जाता है कि क्या दोनों ऑपरेंड एक ही ऑब्जेक्ट मेमोरी को संदर्भित करते हैं, वह ऑपरेटर है

91 / 182

Which python built in function returns the unique number assigned to an object?

92 / 182

It is a combination of operators, operands and constants

93 / 182

Leading white space at the beginning of each statement, which is used to determine the group of statement

94 / 182

Which operator is also called as conditional operator?

95 / 182

Which of the following is not logical operator?

96 / 182

Which operator is also called as comparative operator?

97 / 182

What will be the output of the following python expression if x=22.19?
print(“%5.2f”%x)

98 / 182

What will be the output of the following python expression if x=56.236
print(“%2f”%x)

99 / 182

What will be the output of the following python expression if x=345?
print(“%05d”%x)

100 / 182

what will be the output of the following python code snippet?
not(1030)

101 / 182

Which of the following Boolean expressions is not logically equivalent to the other three?
निम्नलिखित में से कौन सा बुलियन एक्सप्रेशन लॉजिकली रूप से अन्य तीन के बराबर नहीं है

102 / 182

What will be the output of the following python code snippet?
not(3>4)
not(1&1)

103 / 182

What will be the output of the following python code snippedt?
bool(‘false’)
bool()

104 / 182

What will be the value of the following python expression
4+2**5//10

105 / 182

Which of the following expressions results in an error?
निम्नलिखित में से कौन सा एक्सप्रेशन में एक एरर है

106 / 182

Which of the following expression is an example of type conversion?
निम्न में से कौन सा एक्सप्रेशन्स कन्वर्शन प्रकार का एक उदाहरण है

107 / 182

What will be the value of the following python expression?
float(4+int(2.39)%2)

108 / 182

Which among the following list of operators has the highest precedence?
+, -, **, %, /, <>, |

109 / 182

What will be the output of the following python expression?
24///6%3, 24//4//2

110 / 182

what will be the value of x in the following python expression?
x=2+9*((3*12)-8)/10

111 / 182

what will be the output of the following python expression?
print(4.00/(2.0+2.0))

112 / 182

which is the correct operator for power (x,y)?

113 / 182

Operators with the same precedence are evaluated in which manner?
एक ही पूर्वता वाले ऑपरेटरों का मूल्यांकन किस तरीके से किया जाता है

114 / 182

Which one of these is floor division?
इनमें से कौन सा फ्लोर डिवीजन है

115 / 182

What will be the output of the following Python code if a=10 and b =20?
a=10
b=20
a=a^b
b=a^b
a=a^b
print(a,b)

116 / 182

What will be the value of the following Python expression?
bin(10-2)+bin(12^4)

117 / 182

What will be the output of the following Python expression?
4^12

118 / 182

Which of the following represents the bitwise XOR operator?

119 / 182

What will be the output of the following Python expression if x=15 and y=12?
x & y

120 / 182

What will be the output of the following Python expression?
int(1011)?

121 / 182

What will be the value of x in the following Python expression, if the result of that expression is 2?
x>>2

122 / 182

What will be the output of the following Python expression?
bin(29)

123 / 182

What will be the output of the following Python code snippet if x=1?
x<<2

124 / 182

The expression 2**2**3 is evaluates as: (2**2)**3.

125 / 182

What will be the output of the following Python expression?
print(4.00/(2.0+2.0))

126 / 182

What is the value of the following expression?
float(22//3+3/3)

127 / 182

What is the value of the following expression?
8/4/2, 8/(4/2)

128 / 182

What are the values of the following Python expressions?
2**(3**2)
(2**3)**2
2**3**2

129 / 182

Which of the following is the truncation division operator?

130 / 182

What is the value of the following expression?
2+4.00, 2**4.0

131 / 182

What will be the value of x in the following Python expression?
x = int(43.55+2/2)

132 / 182

Which of the following operators has its associativity from right to left?

133 / 182

What will be the value of the following Python expression?
4 + 3 % 5

134 / 182

The value of the expressions 4/(3*(2-1)) and 4/3*(2-1) is the same.

135 / 182

What does 3 ^ 4 evaluate to?

136 / 182

What is the result of cmp(3, 1)?

137 / 182

What is the type of inf?

138 / 182

Which of the following is not a complex number?

139 / 182

What is the output of print 0.1 + 0.2 == 0.3?

140 / 182

Select all options that print.
hello-how-are-you

141 / 182

What is the return value of trunc()?

142 / 182

What is the return type of function id?

143 / 182

Which of the following will run without errors?

144 / 182

What will be the output of the following Python code?
>>>str="hello"
>>>str[:2]

145 / 182

Given a function that does not return any value, What value is thrown by default when executed in shell.

146 / 182

Which of these in not a core data type?

147 / 182

Which one of the following has the highest precedence in the expression?

148 / 182

The expression Int(x) implies that the variable x is converted to integer.

149 / 182

Which one of the following has the same precedence level?

150 / 182

What is the output of this expression, 3*1**3?

151 / 182

Operators with the same precedence are evaluated in which manner?

152 / 182

Mathematical operations can be performed on a string.

153 / 182

What is the order of precedence in python?
i) Parentheses
ii) Exponential
iii) Multiplication
iv) Division
v) Addition
vi) Subtraction

154 / 182

What is the answer to this expression, 22 % 3 is?

155 / 182

Which one of these is floor division?

156 / 182

Which is the correct operator for power(xy)?

157 / 182

Which of the following cannot be a variable?

158 / 182

Which of the following is true for variable names in Python?

159 / 182

All keywords in Python are in _________

160 / 182

Which of the following is not a keyword?

161 / 182

Which of the following is an invalid variable?

162 / 182

Which of the following is invalid?

163 / 182

What is the maximum possible length of an identifier?

164 / 182

Is Python case sensitive when dealing with identifiers?

165 / 182

Which of these are keyword?
इनमें से कौन से कीवर्ड हैं?

166 / 182

Which of the following is incorrect regarding variables in python?
पायथन में वैरिएबल्स के संबंध में निम्नलिखित में से कौन सा गलत है?

167 / 182

what is the maximum possible length of an identifier for better readability?
एक आइडेंटिफायर की अधिकतम संभव लंबाई क्या है?

168 / 182

which one of the following is not a python predefined data type?
निम्नलिखित में से कौन सा एक पायथन का पूर्वानिर्धारित डेटा टाइप नहीं है

169 / 182

Which of the following is not valid python identifiers?
निम्नलिखित में से कौन वैध पायथन आइडेंटिफायर नहीं है

170 / 182

which of the following are valid escape sequences in python?
निम्नलिखित में से कौन से पायथन में वैध एस्केप सिक्वेन्स है

171 / 182

Which of the following words is not a keyword of python language?
निम्नलिखित में से कौन शब्द नहीं पायथन लैंग्वेज का कीवर्ड है?

172 / 182

Which symbol is used to write single line comment?
सिंगल लाइन कमेंट लिखने के लिए किस चिन्ह का प्रयोग किया जाता है?

173 / 182

Which of the following is not a valid identifier?
निम्न में से कौन सा वैध पहचानकर्ता नहीं है

174 / 182

Raw data assigned to a variable is called as
एक वैरिएबल को असाइन किए गए रॉ डेटा को कहा जाता है

175 / 182

In python a variable named ‘num’, which type of value we can store in this variable
पायथन में ‘num’ नाम का एक वैरिएबल है जिसे हम इस वैरिएबल में स्टोर कर सकते हैं

176 / 182

In python we can change the value of variable
पायथन में हम वैरिएबल के मान को बदल सकते हैं

177 / 182

What is mean by dynamically typed language
डायनामिक टाइप की लैंग्वेज भाषा का क्या अर्थ है

178 / 182

Which is special type of literal in python
जो पाइथन में विशेष प्रकार का शाब्दिक है

179 / 182

What is the full form of IDLE in python
पायथन में IDLE का पूर्ण रूप क्या है

180 / 182

Which is the valid statement to print Hello Word in Python?
हैलो वर्ड को पायथन में प्रिंट करने के लिए वैध कथन कौन सा है

181 / 182

In which data types we can store True/False type values
किस डेटा टाइप में हम सही/गलत प्रकार के मूल्यों को स्टोर कर सकते हैं

182 / 182

Python is …………programming language
पायथन एक ............ प्रोग्रामिंग है

Your score is

The average score is 0%

0%