Which command is used to create a simple automation script in Linux?
In robotics, which sensor is commonly used for obstacle detection?
What does the sizeof(char) operator return in a 32-bit compiler?
Which of the following best defines a functor in C++?
Which function is used to modify the previously allocated space in memory?
How many null branches does a binary tree with 27 nodes have?
What is the main controller unit in most mobile robots?
1The function of the Watchdog Timer is to
The time taken by a system to respond to an interrupt is called
What does the explicit keyword in a constructor declaration in C++ do?
In a preemptive RTOS, when a higher-priority task becomes ready, the kernel:
Which of the following describes a template with a variable number of arguments?
What is the output of the following code?
c
int main() {
int a = 42;
int *p = &a;
printf("%d", *p++);
return 0;
}
Which of the following is not a microcontroller?
What is a move constructor in C++?
Which command is used to execute a shell script?
Consider the program main
main ()
{
double a[2][3];
printf("%d ", sizeof(a));
printf("%d ", sizeof(a[1]));
printf("%d ", sizeof(a[1][1]));
}
The output for this program:
What does the `grep` command do?
In C, the FILE data type is defined as
Which scheduling algorithm is commonly used in RTOS?
What would be the output of the following code?
c
#define call(x) #x
void main() {
printf("%s", call(c/c++));
}
What is the output of this code?
c
if(printf("cquestionbank"))
   printf("I know c");
else
   printf("I know c++");
What is a correct statement about std::async?
Which hardware support improves AI and automation performance on Linux?
What is the output of the following code?
c
#include
int main() {
   int x = 5;
   int y = (x++) + (++x);
   printf("%d", y);
   return 0;
}
Priority inversion occurs when:
Which mechanism allows capturing variables from the enclosing scope in a lambda expression?
Which signal is used to terminate a process?
In a robot, which motor type provides precise angular position control?
In C++, what does the mutable keyword indicate?
Which of the following statements about pointers is correct?
What will printf("%c", 100); print?
Which statement about smart pointers is correct?
Which OS feature helps run AI or automation tasks efficiently?
What does the following code output?
cpp
#include
#include
int main() {
std::string str("AdvancedCpp");
str.back() = '!';
std::cout << str << std::endl;
return 0;
}
What is the use of std::move in C++?
Which RTOS feature helps AI run predictably?
Flash memory in a microcontroller is used to store