Question
Predict the output for below code in python X=true Y=false Z=false if not X or Y : print(“first case”) elif not X or Y or not Y and X print(“second case”) else : print(“no case”)
More IT Networking Questions
- Comparing two strings by using which function?
- If we want to represent the graph as an______ , then it can be implemented as_______.
- Which stations can detect whether the channel is in use prior to transmitting?
- Which of the following is lowest in memory hierarchy?
- Which data structure is ideal for implementing a LRU (Least Recently Used) cache?
- In a virtual memory system, what is a "page fault"?
- How many whitespace characters are allowed in C language?
- Which relationship type indicates that an entity is associated with exactly one instance of another entity?
- A packet loses its logical IP addressing information but retains port number information as it moves up the protocol stack at the receiver during de-encaps...
- What is the primary purpose of a firewall in a computer network?
Hey! Ask a query
Please enter email id
The email must be a valid email address.
Please enter Mobile Number
Please enter valid Mobile Number
Please enter your Doubt
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
- 200 Questions with Detailed Solutions
- Section-wise Coverage (GA, English, Quant & Reasoning)