Top 1000+ Solved Problem Solving and Python Programming MCQ Questions Answer

From 301 to 315 of 820

Q. What is the type of inf?

a. boolean

b. integer

c. float

d. complex

  • c. float

Q. What does ~4 evaluate to?

a. -5

b. -4

c. -3

d. +3

  • a. -5

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

a. 1

b. 0

c. true

d. false

Q. What is the result of round(0.5) – round(-0.5)?

a. 1.0

b. 2.0

c. 0.0

d. value depends on python version

  • d. value depends on python version

Q. What does 3 ^ 4 evaluate to?

a. 81

b. 12

c. 0.75

d. 7

Q. + 3 % 5

a. 4

b. 7

Q. 55+2/2)

a. 43

b. 44

c. 22

d. 23

  • b. 44

Q. +4.00, 2**4.0

a. (6.0, 16.0)

b. (6.00, 16.00)

c. (6, 16)

d. (6.00, 16.0)

  • a. (6.0, 16.0)

Q. **(3**2) (2**3)**2 2**3**2

a. 64, 512, 64

b. 64, 64, 64

c. 512, 512, 512

d. 512, 64, 512

  • d. 512, 64, 512

Q. /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)

  • a. (1.0, 4.0)

Q. +9*((3*12)-8)/10

a. 30.0

b. 30.8

c. 28.4

d. 27.2

  • d. 27.2

Q. 2. Hence the result of this expression is 27.2.

a. 4.7 – 1.5

b. 7.9 * 6.3

c. 1.7 % 2

d. 3.4 + 4.6

  • c. 1.7 % 2
Subscribe Now

Get All Updates & News