Start learning →
Home › Olympiad (Class 10) › Computer Science › Booleans and Decisions › A program should act when a computer is switched…

A program should act when a computer is switched off. The operator to use is:

Ain
Bnot
Cand
Dor
Answer & Solution
Correct answer: B. not
1. The test must flip a true into a false. 2. One operator takes a single operand and reverses it. 3. That operator is not. _Source: OpenStax Introduction to Python Programming, Chapter 4._
Practise this question with Quill — Olympiad (Class 10) →
Related questions