Home / Engineering / Problem Solving and Python Programming MCQs / Page 16

Problem Solving and Python Programming MCQs | Page - 16

Dear candidates you will find MCQ questions of Problem Solving and Python Programming here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.

M

Mr. Dubey • 51.17K Points
Coach

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

(A) 64, 512, 64
(B) 64, 64, 64
(C) 512, 512, 512
(D) 512, 64, 512
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

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

(A) (1.0, 4.0)
(B) (1.0, 1.0)
(C) (4.0. 1.0)
(D) (4.0, 4.0)
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

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

(A) 30.0
(B) 30.8
(C) 28.4
(D) 27.2
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

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

(A) (1,3)
(B) (0,3)
(C) (1,0)
(D) (3,1)
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 155) What will be the value of the following
Python expression?
float(4+int(2.39)%2)

(A) 5.0
(B) 5
(C) 4.0
(D) 4
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 156) What will be the value of the following
Python expression?
4+2**5//10

(A) 3
(B) 7
(C) 77
(D) 0
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

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

(A) true
(B) false
(C) ---
(D) ---
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

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

(A) 1011
(B) 11
(C) 13
(D) 1101
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 159) Which of the following expressions results in an error?

(A) int(1011)
(B) int(‘1011’,23)
(C) int(1011,2)
(D) int(‘1011’)
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 160) Which of the following represents the bitwise XOR operator?

(A) &
(B) ^ D. !
(C) ---
(D) ---
View Answer Discuss Share

Explore Sets

Problem Solving and Python Programming MCQs Set 1

Problem Solving and Python Programming MCQs Set 2

Problem Solving and Python Programming MCQs Set 3

Problem Solving and Python Programming MCQs Set 4

Problem Solving and Python Programming MCQs Set 5

Problem Solving and Python Programming MCQs Set 6

Problem Solving and Python Programming MCQs Set 7

Problem Solving and Python Programming MCQs Set 8

Problem Solving and Python Programming MCQs Set 9

Problem Solving and Python Programming MCQs Set 10

Problem Solving and Python Programming MCQs Set 11

Problem Solving and Python Programming MCQs Set 12

Problem Solving and Python Programming MCQs Set 13

Problem Solving and Python Programming MCQs Set 14

Problem Solving and Python Programming MCQs Set 15

Problem Solving and Python Programming MCQs Set 16

Problem Solving and Python Programming MCQs Set 17

Problem Solving and Python Programming MCQs Set 18

Problem Solving and Python Programming MCQs Set 19

Problem Solving and Python Programming MCQs Set 20

Problem Solving and Python Programming MCQs Set 21

Problem Solving and Python Programming MCQs Set 22

Problem Solving and Python Programming MCQs Set 23

Problem Solving and Python Programming MCQs Set 24

Problem Solving and Python Programming MCQs Set 25

Problem Solving and Python Programming MCQs Set 26

Problem Solving and Python Programming MCQs Set 27

Problem Solving and Python Programming MCQs Set 28

Problem Solving and Python Programming MCQs Set 29

Problem Solving and Python Programming MCQs Set 30

Problem Solving and Python Programming MCQs Set 31

Problem Solving and Python Programming MCQs Set 32

Problem Solving and Python Programming MCQs Set 33

Problem Solving and Python Programming MCQs Set 34

Problem Solving and Python Programming MCQs Set 35

Problem Solving and Python Programming MCQs Set 36

Problem Solving and Python Programming MCQs Set 37

Problem Solving and Python Programming MCQs Set 38

Problem Solving and Python Programming MCQs Set 39

Problem Solving and Python Programming MCQs Set 40

Problem Solving and Python Programming MCQs Set 41

Problem Solving and Python Programming MCQs Set 42

Problem Solving and Python Programming MCQs Set 43