0%
68

ध्यानपूर्वक Attempt करें।

समय समाप्त।


Created by onwebsharmag

IoT Paper

Ch04 only Precedence of Operators in C/Arduino

- Welcome to the "Precedence of Operators in C/Arduino" quiz! 🚀
- यह quiz 15 MCQs का set है, जो 𝗛𝗶𝗻𝗱𝗶 और 𝐄𝐧𝐠𝐥𝐢𝐬𝐡 दोनों में उपलब्ध है।
- इसे NIELIT O Level M4-R5 IoT and its Applications Paper के लिए design किया गया है।
- आप इसे Programming Languages या Government Computer Exams के लिए भी attempt कर सकते हैं। ⚡
- C और Arduino में Operator Precedence को समझें, ताकि Correct Execution Order में Expressions को चलाया जा सके।
- अपनी 𝗖𝗼𝗱𝗶𝗻𝗴 𝗦𝗸𝗶𝗹𝗹𝘀 को तेज करें और Programming Fundamentals को बेहतर बनाएं! 💻 🔹
- Best of Luck! 🍀🚀

Student's Details

1 / 15

Category: Precedence of Operators in C/Arduino

1. Which of the following is true about precedence in Arduino/C language?
Arduino/C
भाषा में ऑपरेटर प्राथमिकता के बारे में निम्नलिखित में से कौन-सा कथन सत्य है?

2 / 15

Category: Precedence of Operators in C/Arduino

2. Find the result of the expression:
निम्नलिखित एक्सप्रेशन का परिणाम ज्ञात कीजिए:
int
x = 2;
x += 3 * 2;

3 / 15

Category: Precedence of Operators in C/Arduino

3.

Which of the following has the same precedence level?
निम्न में से किन ऑपरेटरों की प्राथमिकता समान होती है?

4 / 15

Category: Precedence of Operators in C/Arduino

4. What will be printed on the Serial Monitor?
Serial Monitor
पर क्या प्रिंट होगा?
void
setup() {

  Serial.begin(9600);   int a = 1;   int b = 0;   int result = a || b && a;   Serial.println(result); }

5 / 15

Category: Precedence of Operators in C/Arduino

5. What is the associativity of the assignment operator (=) in Arduino?
Arduino में असाइनमेंट ऑपरेटर (=) की संबद्धता क्या है?

6 / 15

Category: Precedence of Operators in C/Arduino

6.

Which statement correctly describes the precedence of the logical operators in Arduino?
Arduino में लॉजिकल ऑपरेटर की प्राथमिकता को सही तरीके से कौन-सा कथन दर्शाता है?

7 / 15

Category: Precedence of Operators in C/Arduino

7. What will be the value of x in the following Arduino sketch?
निम्न Arduino कोड में  x का मान क्या होगा?
int x = 2 + 3 * 4

 

8 / 15

Category: Precedence of Operators in C/Arduino

8. Which of the following is evaluated first in C/Arduino according to operator precedence?
C/Arduino
में ऑपरेटर प्राथमिकता के अनुसार सबसे पहले क्या मूल्यांकित होता है?

9 / 15

Category: Precedence of Operators in C/Arduino

9. What will be printed in the Serial Monitor?
Serial Monitor में क्या प्रिंट होगा?
void setup() {
Serial.begin(9600);
int a = 10;
int b = 5;
int result = a > b && b > 2;
Serial.println(result);
}

10 / 15

Category: Precedence of Operators in C/Arduino

10.

Which of the following has the lowest precedence in Arduino?
निम्नलिखित में से किस ऑपरेटर की प्राथमिकता Arduino में सबसे कम होती है?

11 / 15

Category: Precedence of Operators in C/Arduino

11.

Which expression correctly reflects how a + b * c is evaluated? निम्न में से कौन-सा एक्सप्रेशन a + b * c के मूल्यांकन को सही दर्शाता है?

12 / 15

Category: Precedence of Operators in C/Arduino

12.

Which of the following operators has the highest precedence in Arduino programming?
Arduino
प्रोग्रामिंग में निम्नलिखित में से किस ऑपरेटर की प्राथमिकता सबसे अधिक होती है?

13 / 15

Category: Precedence of Operators in C/Arduino

13.

What will be the output of the following expression?
निम्नलिखित एक्सप्रेशन का आउटपुट क्या होगा?
int a = 4, b = 3, c = 2;
int result = a + b * c - a / c;
Answer: B) 1
Explanation: && has higher precedence than ||, so expression evaluates to true.

14 / 15

Category: Precedence of Operators in C/Arduino

14.

What is the output of this Arduino expression?
इस Arduino एक्सप्रेशन का आउटपुट क्या होगा?
int a = 5;
int b = 10;
int result = a < b || b < 5 && a > 0;

15 / 15

Category: Precedence of Operators in C/Arduino

15.

Evaluate this Arduino expression:
इस Arduino एक्सप्रेशन का मान ज्ञात कीजिए:
int a = 5, b = 2, c = 1;
int result = a - b + c * 3;

Your score is

The average score is 59%

Share your result with friends and Family..!

LinkedIn Facebook
0%