Bitwise And Boolean — Part 2 MCQs with Explanations
Practice high-yield Programming & Software Development MCQs on Bitwise And Boolean — Part 2 with worked academic solutions for FPSC, PPSC, NTS, NITB, PTS.
Questions
11
Difficulty Level
Exam-Level
Target Exams
FPSC, PPSC, NTS...
Estimated Time
14 mins
Exam-Level FPSC PPSC NTS NITB PTS
Verified for Commission Syllabus • Oct 14, 2026
11
Verified Practice Questions
Interactive test mode with detailed academic worked solutions
Live Progress | 0/11 answered
✓ 0 correct
✗ 0 wrong
0% score
🎉 Set complete! All 11 questions answered.
Question 1 of 11
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Question 2 of 11
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What will be the output of the following Python expression if x=15 and y=12? x & y
Question 3 of 11
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What will be the output of the following Python expression? int(1011)?
Question 4 of 11
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What will be the output of the following Python expression? bin(29)
Question 5 of 11
★ FPSC
★ PPSC
★ FPSC
★ PPSC
To find the decimal value of 1111, that is 15, we can use the function:
Question 6 of 11
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the result of `12 | 10 & 9` ?
Question 7 of 11
★ FPSC
★ PPSC
★ FPSC
★ PPSC
It is not possible for the two's complement value to be equal to the original value in any case.
Question 8 of 11
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Bitwise . . . . . . . . gives 1 if either of the bits is 1 and 0 when both of the bits are 1.
Question 9 of 11
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the result of `10 & 5 | 5` ?
Question 10 of 11
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What will be the output of the following Python code? class Truth: pass x=Truth() bool(x)
Question 11 of 11
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What will be the output of the following Python expression? ~100?
✓ Link copied to clipboard
Continue Your Practice
Next Practice Set → Advance Html — Part 1
Master the next curriculum module with 40 exam-standard MCQs.
💡 Examiner's Advisory for Programming & Software Development
In competitive commission exams (FPSC, PPSC, KPPSC, SPSC, CSS, PMS), questions are frequently phrased with distractor options designed to catch rote learners. Whenever you answer an MCQ, read the Detailed Academic Explanation and Conceptual Anchor to understand why the remaining options are incorrect.