यदि \(f:\{1,2,3,4\}\to\{0,1\}\) को इस नियम से परिभाषित किया गया है कि \(x\) सम होने पर \(f(x)=0\) और \(x\) विषम होने पर \(f(x)=1\), तो \(f(3)\) का मान क्या है?
If \(f:\{1,2,3,4\}\to\{0,1\}\) is defined by \(f(x)=0\) when \(x\) is even and \(f(x)=1\) when \(x\) is odd, what is the value of \(f(3)\)?
Explanation opens after your attempt
B. 1
Simple Explanation
यहाँ 3 एक विषम संख्या है। दिए गए नियम के अनुसार प्रत्येक विषम \(x\) के लिए \(f(x)=1\), इसलिए \(f(3)=1\)। विकल्प 0 केवल सम संख्या के लिए लागू होता है। परीक्षा में पहले इनपुट की सम-विषमता जाँचकर फिर परिभाषा लागू करें। / The number 3 is odd. According to the given rule, \(f(x)=1\) for every odd \(x\); therefore, \(f(3)=1\). The value 0 applies only when the input is even. In an exam, first check whether the input is even or odd, and then apply the definition.
Login to save your score, XP, coins and progress.
