nerdexam
GIAC

GPYC · Question #34

GPYC Question #34: Real Exam Question with Answer & Explanation

Sign in or unlock GPYC to reveal the answer and full explanation for question #34. The question stem and answer options stay visible for context.

Question

What is the output of the following line of code typed into a Python interactive session?
print (int ("1111", 2))

Options

  • A1111
  • B16
  • C"1111"
  • D15

Unlock GPYC to see the answer

You've previewed enough free GPYC questions. Unlock GPYC for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full GPYC Practice