ЁЯЪА 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 Report Error

рдЗрд╕ expression рдХрд╛ рдЙрддреНрддрд░ рдХреНрдпрд╛ рд╣реИ 22%3

What is the answer to this expression 22%3

A)
B)
C)

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 Report Error

рд░рд┐рд▓реЗрд╢рдирд▓ рдСрдкрд░реЗрд╢рди рдХрд╛ рдкрд░рд┐рдгрд╛рдо рд╣рдореЗрд╢рд╛ рд╣реЛрддрд╛ рд╣реИ

The result of a relational operation is always

A)
B)
C)
D)

Question: 5 Report Error

рдХреМрди рд╕рд╛ рдХрдерди рд╕рд╣реА рд╣реИ ?

Which statement is correct ?

A)
B)
C)
D)

Question: 6 Report Error

nested if-else рдХреЛ рдкрд╛рдпрдерди рдореЗрдВ рдЕрдиреБрдорддрд┐ рд╣реИред

Nested if-else is allowed in Python.

A)
B)
C)
D)

Question: 7 Report Error

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 Report Error

list рдФрд░ tuple рдкрд░ slice рдСрдкрд░реЗрдЯрд░ рдХрд╛рд░реНрдп рдирд╣реАрдВ рдХрд░рддрд╛ рд╣реИ

slice operator does not work on list and tuple

A)
B)
C)
D)

Question: 10 Report Error

python рдореЗрдВ, in рдФрд░ not in рдСрдкрд░реЗрдЯрд░ рдХреЛ Membership Operator рдХреЗ рд░реВрдк рдореЗрдВ рдЬрд╛рдирд╛ рдЬрд╛рддрд╛ рд╣реИ

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

A)
B)
C)
D)

Question: 11 Report Error

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 Report Error

python рдореЗрдВ equality operator рдХреМрди рд╕реЗ рд╣реИ ?

What are equality operators in python?

A)
B)
C)
D)

Question: 15 Report Error

+ operator рдХреЛ _________ overload рдХрд░рддрд╛ рд╣реИ ?

_________ overloads the + operator?

A)
B)
C)
D)

Question: 16 Report Error

Python рдореЗрдВ ________ рдПрдХ NULL statement рд╣реИ|

________ is a NULL statement in Python.

A)
B)
C)
D)

Question: 17 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди рдЪрд░(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 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди рд╕рд╛ рдирд┐рд░реНрдгрдп рд▓реЗрдиреЗ рд╡рд╛рд▓рд╛ рдХрдерди рдирд╣реАрдВ рд╣реИ:

Which of the following is not a decision making statement:

A)
B)
C)
D)

Question: 23 Report Error

рдХрд┐рд╕реА if рд╕реНрдЯреЗрдЯрдореЗрдВрдЯ рдореЗрдВ рд╡реИрдХрд▓реНрдкрд┐рдХ рд╢рд░реНрдд рдЬреЛрдбрд╝рдиреЗ рдХреЗ рд▓рд┐рдП рдЖрдк рдХрд┐рд╕ рдХреАрд╡рд░реНрдб рдХрд╛ рдЙрдкрдпреЛрдЧ рдХрд░реЗрдВрдЧреЗ?

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

A)
B)
C)
D)

Question: 24 Report Error

рдЕрднрд┐рд╡реНрдпрдХреНрддрд┐ рдХрд╛ рдЖрдЙрдЯрдкреБрдЯ рдХреНрдпрд╛ рд╣реИ: 3*1**3

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

A)
B)
C)
D)

Question: 25 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: 26 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: 27 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: 28 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдЕрднрд┐рд╡реНрдпрдХреНрддрд┐ рдХрд╛ рдореВрд▓реНрдп рдХреНрдпрд╛ рд╣реИ?

What is the value of the following expression?

A)
B)
C)
D)

Question: 29 Report Error

рдкрд╛рдпрдерди рдореЗрдВ "elif" рдХреАрд╡рд░реНрдб рдХреНрдпрд╛ рджрд░реНрд╢рд╛рддрд╛ рд╣реИ?

What does the тАЬelifтАЭ keyword represent in Python?

A)
B)
C)
D)

Question: 30 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдХрдерди рдореЗрдВ рдХреНрдпрд╛ рд╕рдорд╕реНрдпрд╛ рд╣реИ? 100=grade

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

A)
B)
C)
D)

Question: 31 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдХрдерди рдореЗрдВ рдХреНрдпрд╛ рд╕рдорд╕реНрдпрд╛ рд╣реИ?

What is the problem with the following statement?

100=grade
A)
B)
C)
D)

Question: 32 Report Error

рдЖрдк рджреЛрд╣рд░реЗ-рд╡реИрдХрд▓реНрдкрд┐рдХ рдирд┐рд░реНрдгрдп рд╕рдВрд░рдЪрдирд╛ рдХреЛ рд▓рд┐рдЦрдиреЗ рдХреЗ рд▓рд┐рдП _________ рдХрдерди рдХрд╛ рдЙрдкрдпреЛрдЧ рдХрд░рддреЗ рд╣реИрдВред

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

A)
B)
C)
D)

Question: 33 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди рд╕рд╛ рдХрдерди рд╕рд╣реА рд╣реИ?

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)

Question: 34 Report Error

рд╕рд╣реА рдХрдерди рдмрддрд╛рдЗрдпреЗ:

Point out the correct statement:

A)
B)
C)
D)

Question: 35 Report Error

рдЗрди рджреЛ рдХрдердиреЛрдВ рдкрд░ рд╡рд┐рдЪрд╛рд░ рдХрд░реЗрдВ:

Consider these two statements:

A)
B)
C)
D)

Question: 36 Report Error

рдереЛрдбрд╝реА рджреЗрд░ рдХреЗ рд▓реВрдк рдореЗрдВ, рд▓реВрдк рдХрдВрдЯреНрд░реЛрд▓ рд╡реЗрд░рд┐рдПрдмрд▓ рдХреА рдХреНрдпрд╛ рднреВрдорд┐рдХрд╛ рд╣реИ?

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

A)
B)
C)
D)

Question: 37 Report Error

рд╣рд╛рд░реНрдбрд╡реЗрдпрд░ рдХреА рд╡рд╣ рдЗрдХрд╛рдИ рд╣реИ, рдЬрд┐рд╕рдХрд╛ рдЙрдкрдпреЛрдЧ рдПрдХ рдСрдкрд░реЗрдЯрд░ рдХрдВрдкреНрдпреВрдЯрд░ рдкреНрд░реЛрд╕реЗрд╕рд┐рдВрдЧ рдХреА рдирд┐рдЧрд░рд╛рдиреА рдХреЗ рд▓рд┐рдП рдХрд░рддрд╛ рд╣реИ

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

A)
B)
C)
D)

Question: 38 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди рд╕реА рднрд╛рд╖рд╛ рдХрдВрдкреНрдпреВрдЯрд░ рджреНрд╡рд╛рд░рд╛ рд╕рдордЭреА рдЬрд╛рддреА рд╣реИ?

Which of the following language is understood by computer ?

A)
B)
C)
D)

Question: 39 Report Error

рдХрд┐рд╕реА рдкреНрд░реЛрдЧреНрд░рд╛рдо рдХреЛ рдЪрд▓рд╛рдиреЗ рдХреЗ рд▓рд┐рдП рдЪрд░рдгреЛрдВ рдХрд╛ рд╕рд╣реА рдХреНрд░рдо рдкрд╣рдЪрд╛рдиреЗрдВ:

Identify the correct sequence of steps to run a program :

A)
B)
C)
D)

Question: 40 Report Error

рднрд╛рд╖рд╛ рдкреНрд░реЛрд╕реЗрд╕рд░ рдкреНрд░реЛрдЧреНрд░рд╛рдо рдХреЛ рд╕рдордЧреНрд░ рд░реВрдк рд╕реЗ рдСрдмреНрдЬреЗрдХреНрдЯ рдХреЛрдб рдореЗрдВ рдЕрдиреБрд╡рд╛рджрд┐рдд рдХрд░рддрд╛ рд╣реИ...

The language processor translates the program into object code as a wholeтАж

A)
B)
C)
D)

Question: 41 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)

Question: 42 Report Error

рдЗрди рдХрдерди рдХрд╛ рдкрд╛рд▓рди рдХрд░реЗрдВ...

Follow these statement...

Statement A: An existing file is opened in the write mode the previous data will be erased.
Statement B: When the existing file is opened in write mode the file object will be positioned at the end of the file.
A)
B)
C)
D)

Question: 43 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди рд╕рд╛ рдХрдерди рдмрд╛рдЗрдирд░реА рдлрд╝рд╛рдЗрд▓реЛрдВ рдХреЗ рд▓рд┐рдП рд╕рд╣реА рд╣реИ?

Which of the following statement is correct for binary files?

A)
B)
C)
D)

Question: 44 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди рд╕рд╛ рдХрдерди рдЯреЗрдХреНрд╕реНрдЯ рдлрд╝рд╛рдЗрд▓ рдХреЗ рд▓рд┐рдП рд╕рд╣реА рдирд╣реАрдВ рд╣реИ?

Which of the following statement is not correct for text file?

A) Contains the information as same as its held in memory
B) No delimiter for a line
C) read and write faster than binary files
D) Common format for general work
A)
B)
C)
D)

Question: 45 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдкреНрд░реЛрдЧреНрд░рд╛рдо рдХрд╛ рдЖрдЙрдЯрдкреБрдЯ рдХреНрдпрд╛ рд╣реИ? print((2, 4) + (1, 5))

What is the output of the following statement? print((2, 4) + (1, 5))

A)
B)
C)
D)

Question: 46 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди рд╕рд╛ рд▓реВрдкрд┐рдВрдЧ рд╕реНрдЯреЗрдЯрдореЗрдВрдЯ рдХрд╛ рдЙрджрд╛рд╣рд░рдг рдирд╣реАрдВ рд╣реИ?

Which of the following is not an example of looping statement ?

A)
B)
C)
D)

Question: 47 Report Error

рдПрдХ рдирд┐рд╢реНрдЪрд┐рдд рд╕рдВрдЦреНрдпрд╛ рдореЗрдВ рджреЛрд╣рд░рд╛рдП рдЬрд╛рдиреЗ рд╡рд╛рд▓реЗ рдСрдкрд░реЗрд╢рди ______ рджреНрд╡рд╛рд░рд╛ рдХрд┐рдП рдЬрд╛рддреЗ рд╣реИрдВред

Operations to be repeated a certain number of times are done by ______.

A)
B)
C)
D)

Question: 48 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди рд╕рд╛ рдореЛрдб рдмрд╛рдЗрдирд░реА рдбреЗрдЯрд╛ рдХреЛ рд╕рдВрджрд░реНрднрд┐рдд рдХрд░реЗрдЧрд╛?

Which of the following mode will refer to binary data?

A)
B)
C)
D)

Question: 49 Report Error

pickling рдХреНрдпрд╛ рд╣реИ?

What is the pickling?

A)
B)
C)
D)

Question: 50 Report Error

__________ рд╡рд░реНрддрдорд╛рди рд▓реВрдк рдкреБрдирд░рд╛рд╡реГрддреНрддрд┐ рдХреЛ рддреБрд░рдВрдд рд╕рдорд╛рдкреНрдд рдХрд░ рджреЗрддрд╛ рд╣реИред

_________ immediately terminates the current loop iteration.

A)
B)
C)
D)

Latest Updates