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

From 316 to 330 of 820

Q. //6%3, 24//4//2

a. (1,3)

b. (0,3)

c. (1,0)

d. (3,1)

  • a. (1,3)

Q. +int(2.39)%2)

a. 5.0

b. 5 c) 4.0

  • c. d) 4

Q. +2**5//10

a. 3

b. 7

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

a. int(1011)

b. int(‘1011’,23)

c. int(1011,2)

d. int(‘1011’)

  • c. int(1011,2)

Q. x8)

a. ‘0bx1000’

b. 8

c. 1000

d. ‘0b1000’

  • d. ‘0b1000’

Q. x75

a. 115

b. 116

c. 117

d. 118

  • c. 117

Q. ^12

a. 2

b. 4

c. 8

d. 12

Q. -2)+bin(12^4)

a. 0b10000

b. 0b10001000

c. 0b1000b1000

d. 0b10000b1000

  • d. 0b10000b1000

Q. R operator. Hence the output of the code shown above is: 20 10.

a. 1011011

b. 11010100

c. 11101011

d. 10110011

  • b. 11010100

Q. <20) and not(10>30)

a. true

b. false

c. error

d. no output

  • b. false
Subscribe Now

Get All Updates & News