Extremely basic question about OR and AND gates in programming-:

shivajikobardan

Junior Member
Joined
Nov 1, 2021
Messages
107
I have made truth table for 3 programs-:
1) Numbers that lie between 1 and 10
2) Uppercase to lowercase
3) Numbers between 1 and 10 (I wrote 2 truth tables for same thing :) Hope you won't mind this.

1637990082895.png
Is my analysis correct? How would you analyze cases when you need to use OR and AND gates in programming?? Please share your thought process. Would be really useful for me.
 
Top