What does this Python code print? (bitwise operators on 0/1) python a, b, c = 1, 0, 1 print((a & b) c)
- 0
- 2
- True
- 1
Answer
D) 1
a AND b = 0; 0 OR c (1) = 1. SLO CS-11-A-01
Computer Science MCQ · More Unit 1: Computer Systems MCQs · Practise
D) 1
a AND b = 0; 0 OR c (1) = 1. SLO CS-11-A-01
Computer Science MCQ · More Unit 1: Computer Systems MCQs · Practise