O Level Internet of Things Paper July 2023
"इंटरनेट ऑफ़ थिंग्स" शब्द किस वर्ष गढ़ा गया था?
In Which year, the term "Internet of things" was coined?
The term "Internet of Things" (IoT) was coined by Kevin Ashton in 1999.
Correct answer: (B) 1999.
Correct Answer: B) 1999
यदि Arduino UNO पर A0 पिन के अनुरूप पिन को 5V का वोल्टेज आपूर्ति किया जाता है तो नीचे दिए गए प्रोग्राम का आउटपुट क्या है?
What is the output of the program given below if a voltage of 5V is supplied to the pin corresponding to the A0 pin on an Arduino UNO?
void setup() {
Serial.begin(9600);
pinMode(A0, INPUT);
}
void loop() {
int s = analogRead(A0);
Serial.println(s);
}
When 5V is supplied to the A0 pin on an Arduino Uno, the analogRead(A0) function will return the maximum value, which is 1023 (corresponding to 5V). This value is printed to the Serial Monitor.
Output: (D) 1024 (Note: Correct value is 1023, but some references may list 1024).
Correct Answer: D) 1024
फ़ंक्शंस के साथ C प्रोग्राम का आउटपुट क्या है?
What is the output of C program with functions?
Iint main() {
int a = 0;
printf(‘AJAY”);
return 1;
printf(“VIJAY”);
return 1;
}
The program prints "AJAY" and then exits after the first return 1;. The second printf("VIJAY"); is never executed.
Output: (B) AJAY.
Correct Answer: B) AJAY
आप C में किसी सरणी को कैसे प्रारंभ करते हैं?
How do you initialize an array in C?
In C, the correct way to initialize an array is:
int arr[3] = {1, 2, 3};
Explanation:
int arr[3] = {1, 2, 3};initializes an integer arrayarrof size 3 with the values1,2, and3.
Correct Answer:
(C) int arr[3] = {1, 2, 3};
Correct Answer: C) int arr[3] = {1,2,3};
निम्नलिखित कोड कितनी बार स्ट्रिंग "हैलो" प्रिंट करता है
How many times the following code prints the string “hello”
for(i=1;i<=50;i++)
printf(“NIELIT”);
Arduino स्केच में 1 सेकंड की देरी बनाने के लिए निम्नलिखित में से कौन सा सही सिंटैक्स है?
Which of the following is the correct syntax for creating a delay of 1 second in an Arduino sketch?
In Arduino, the delay() function takes the delay time in milliseconds. To create a delay of 1 second, you need to use 1000 milliseconds.
Correct Syntax:
delay(1000); // Delays for 1 second (1000 milliseconds)
Explanation:
delay(1): Delays for 1 millisecond.delay(1000): Delays for 1000 milliseconds, which is equivalent to 1 second.delay(60): Delays for 60 milliseconds.delay(60000): Delays for 60,000 milliseconds, which is equivalent to 1 minute.
Correct Answer:
(B) delay(1000);
Correct Answer: B) delay(1000);
यदि "पिन2" को "1011" भेजा जाता है जहां 1 5V है और 0 0V है तो "पिन1" का आउटपुट क्या है?
What is the output of “pin1” if “pin2” is sent “1011” where 1 is 5V and 0 is 0V?
int pin1 = 12;
int pin2 = 11;
void setup() {
pinMode(pin1, OUTPUT);
pinMode(pin2, INPUT);
Serial.begin(9600);
}
void loop() {
if(digitalRead(pin2)==1) {
digitalWrite(pin1,LOW);
}
else if(digitalRead(pin2)==0) {
digitalWrite(pin1,HIGH);
}
}
For each bit sent to pin2 ("1011"):
- First bit (1): pin2 is HIGH → pin1 is LOW (0V).
- Second bit (0): pin2 is LOW → pin1 is HIGH (5V).
- Third bit (1): pin2 is HIGH → pin1 is LOW (0V).
- Fourth bit (1): pin2 is HIGH → pin1 is LOW (0V).
Final output of pin1: "0100".
Correct Answer: (A) 0100.
Correct Answer: A) 0100
ज़िगबी विनिर्देशन पर आधारित हैं।
Zigbee specification are based on .
Zigbee specifications are based on the IEEE 802.15.4 standard, which defines the physical layer and media access control (MAC) layer for low-rate wireless personal area networks (LR-WPANs).
Correct Answer:
(D) 802.15.4.
Correct Answer: D) 802.15.4